diff options
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgcharacternode.cxx | 2 | ||||
-rw-r--r-- | svgio/source/svgreader/svgdocumenthandler.cxx | 2 | ||||
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 4 | ||||
-rw-r--r-- | svgio/source/svgreader/svgtextpathnode.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx index dbcf95a84f3f..70e99384b440 100644 --- a/svgio/source/svgreader/svgcharacternode.cxx +++ b/svgio/source/svgreader/svgcharacternode.cxx @@ -518,7 +518,7 @@ namespace svgio if(pCandidate) { const localTextBreakupHelper alocalTextBreakupHelper(*pCandidate, rSvgTextPosition); - const drawinglayer::primitive2d::Primitive2DContainer aResult( + const drawinglayer::primitive2d::Primitive2DContainer& aResult( alocalTextBreakupHelper.getResult()); if(!aResult.empty()) diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx index b9ef76de8bf2..d32534d9896e 100644 --- a/svgio/source/svgreader/svgdocumenthandler.cxx +++ b/svgio/source/svgreader/svgdocumenthandler.cxx @@ -507,7 +507,7 @@ namespace svgio if(pSvgTitleDescNode && mpTarget) { - const OUString aText(pSvgTitleDescNode->getText()); + const OUString& aText(pSvgTitleDescNode->getText()); if(!aText.isEmpty()) { diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 7780d8aa4e5f..342cca90cace 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -677,7 +677,7 @@ namespace svgio // the geometry for a single dot if(1 == rPath.count()) { - const basegfx::B2DPolygon aSingle(rPath.getB2DPolygon(0)); + const basegfx::B2DPolygon& aSingle(rPath.getB2DPolygon(0)); if(2 == aSingle.count() && aSingle.getB2DPoint(0).equal(aSingle.getB2DPoint(1))) { @@ -925,7 +925,7 @@ namespace svgio for (sal_uInt32 a(0); a < nSubPathCount; a++) { // iterate over sub-paths - const basegfx::B2DPolygon aSubPolygonPath(rPath.getB2DPolygon(a)); + const basegfx::B2DPolygon& aSubPolygonPath(rPath.getB2DPolygon(a)); const sal_uInt32 nSubPolygonPointCount(aSubPolygonPath.count()); const bool bSubPolygonPathIsClosed(aSubPolygonPath.isClosed()); diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index 6644996ee101..4e7567566317 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -418,7 +418,7 @@ namespace svgio fPosition, rTextStart); - const drawinglayer::primitive2d::Primitive2DContainer aResult( + const drawinglayer::primitive2d::Primitive2DContainer& aResult( aPathTextBreakupHelper.getResult()); if(!aResult.empty()) |