diff options
Diffstat (limited to 'svgio/source')
-rw-r--r-- | svgio/source/svgreader/svgvisitor.cxx | 8 | ||||
-rw-r--r-- | svgio/source/svguno/xsvgparser.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/svgio/source/svgreader/svgvisitor.cxx b/svgio/source/svgreader/svgvisitor.cxx index 841a1cb7022e..9ac651c66cc7 100644 --- a/svgio/source/svgreader/svgvisitor.cxx +++ b/svgio/source/svgreader/svgvisitor.cxx @@ -24,7 +24,7 @@ namespace svgio namespace svgreader { SvgDrawVisitor::SvgDrawVisitor() - : mpDrawRoot(std::make_shared<DrawRoot>()) + : mpDrawRoot(std::make_shared<gfx::DrawRoot>()) , mpCurrent(mpDrawRoot) { } @@ -42,7 +42,7 @@ void SvgDrawVisitor::visit(svgio::svgreader::SvgNode const& rNode) double w = rSvgNode.getWidth().getNumber(); double h = rSvgNode.getHeight().getNumber(); - static_cast<DrawRoot*>(mpCurrent.get())->maRectangle + static_cast<gfx::DrawRoot*>(mpCurrent.get())->maRectangle = basegfx::B2DRange(x, y, x + w, y + h); } break; @@ -70,7 +70,7 @@ void SvgDrawVisitor::visit(svgio::svgreader::SvgNode const& rNode) double h = rRectNode.getHeight().getNumber(); auto pRectangle - = std::make_shared<DrawRectangle>(basegfx::B2DRange(x, y, x + w, y + h)); + = std::make_shared<gfx::DrawRectangle>(basegfx::B2DRange(x, y, x + w, y + h)); mpCurrent->maChildren.push_back(pRectangle); } break; @@ -80,7 +80,7 @@ void SvgDrawVisitor::visit(svgio::svgreader::SvgNode const& rNode) auto pPath = rPathNode.getPath(); if (pPath) { - auto pDrawPath = std::make_shared<DrawPath>(*pPath); + auto pDrawPath = std::make_shared<gfx::DrawPath>(*pPath); mpCurrent->maChildren.push_back(pDrawPath); } } diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index bca63a3fffc2..22c8d24481ba 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -198,7 +198,7 @@ namespace svgio { mpVisitor = std::make_shared<SvgDrawVisitor>(); pCandidate->accept(*mpVisitor); - std::shared_ptr<DrawRoot> pDrawRoot(mpVisitor->getDrawRoot()); + std::shared_ptr<gfx::DrawRoot> pDrawRoot(mpVisitor->getDrawRoot()); sal_uInt64 nPointer = reinterpret_cast<sal_uInt64>(pDrawRoot.get()); aAnyResult <<= sal_uInt64(nPointer); } |