svgpathnode.cxx (ddde725d) svgpathnode.cxx (e2bf1e9d)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 91 unchanged lines hidden (view full) ---

100 SvgNumber aNum;
101
102 if(readSingleNumber(aContent, aNum))
103 {
104 setPathLength(aNum);
105 }
106 break;
107 }
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 91 unchanged lines hidden (view full) ---

100 SvgNumber aNum;
101
102 if(readSingleNumber(aContent, aNum))
103 {
104 setPathLength(aNum);
105 }
106 break;
107 }
108 default:
109 {
110 break;
111 }
108 }
109 }
110
112 }
113 }
114
111 void SvgPathNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool bReferenced) const
115 void SvgPathNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool /*bReferenced*/) const
112 {
113 // fill and/or stroke needed, also a path
114 const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
115
116 if(pStyle && getPath())
117 {
118 drawinglayer::primitive2d::Primitive2DSequence aNewTarget;
119

--- 13 unchanged lines hidden ---
116 {
117 // fill and/or stroke needed, also a path
118 const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
119
120 if(pStyle && getPath())
121 {
122 drawinglayer::primitive2d::Primitive2DSequence aNewTarget;
123

--- 13 unchanged lines hidden ---