summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgpathnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgpathnode.cxx')
-rw-r--r--svgio/source/svgreader/svgpathnode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgpathnode.cxx b/svgio/source/svgreader/svgpathnode.cxx
index 54ae47137689..818a98c32034 100644
--- a/svgio/source/svgreader/svgpathnode.cxx
+++ b/svgio/source/svgreader/svgpathnode.cxx
@@ -102,18 +102,18 @@ namespace svgio
}
}
- void SvgPathNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DSequence& rTarget, bool /*bReferenced*/) const
+ void SvgPathNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer& rTarget, bool /*bReferenced*/) const
{
// fill and/or stroke needed, also a path
const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
if(pStyle && getPath())
{
- drawinglayer::primitive2d::Primitive2DSequence aNewTarget;
+ drawinglayer::primitive2d::Primitive2DContainer aNewTarget;
pStyle->add_path(*getPath(), aNewTarget, &maHelpPointIndices);
- if(aNewTarget.hasElements())
+ if(!aNewTarget.empty())
{
pStyle->add_postProcess(rTarget, aNewTarget, getTransform());
}