diff options
author | Fakabbir Amin <fakabbir@gmail.com> | 2017-02-15 15:47:31 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-16 08:51:29 +0000 |
commit | 9d8c206ee4a5c130e11a4e786b4286f3362f9ca1 (patch) | |
tree | 45db907c9dd26bf029d3469166c96b8bdcfac2de /filter/source/svg/svgwriter.cxx | |
parent | 5986bafea98228fc2552a5d71777ae199d223a2a (diff) |
tdf#100726 Improved readability of OUString concatenations
Cleanup in filter, framework and svtools directory.
Change-Id: Icf4f04cff1207e58ce55ea3dc8c21b0635c3b6ec
Reviewed-on: https://gerrit.libreoffice.org/34298
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter/source/svg/svgwriter.cxx')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 1fed9900fc66..82d542402dad 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -1817,10 +1817,10 @@ OUString SVGActionWriter::GetPathString( const tools::PolyPolygon& rPolyPoly, bo if( nSize > 1 ) { - aPathData += "M "; - aPathData += OUString::number( ( aPolyPoint = rPoly[ 0 ] ).X() ); - aPathData += aComma; - aPathData += OUString::number( aPolyPoint.Y() ); + aPathData += "M " + + OUString::number( ( aPolyPoint = rPoly[ 0 ] ).X() ) + + aComma + + OUString::number( aPolyPoint.Y() ); sal_Char nCurrentMode = 0; const bool bClose(!bLine || rPoly[0] == rPoly[nSize - 1]); @@ -1839,9 +1839,9 @@ OUString SVGActionWriter::GetPathString( const tools::PolyPolygon& rPolyPoly, bo { if ( j ) aPathData += aBlank; - aPathData += OUString::number( ( aPolyPoint = rPoly[ n++ ] ).X() ); - aPathData += aComma; - aPathData += OUString::number( aPolyPoint.Y() ); + aPathData += OUString::number( ( aPolyPoint = rPoly[ n++ ] ).X() ) + + aComma + + OUString::number( aPolyPoint.Y() ); } } else @@ -1851,9 +1851,9 @@ OUString SVGActionWriter::GetPathString( const tools::PolyPolygon& rPolyPoly, bo nCurrentMode = 'L'; aPathData += "L "; } - aPathData += OUString::number( ( aPolyPoint = rPoly[ n++ ] ).X() ); - aPathData += aComma; - aPathData += OUString::number( aPolyPoint.Y() ); + aPathData += OUString::number( ( aPolyPoint = rPoly[ n++ ] ).X() ) + + aComma + + OUString::number( aPolyPoint.Y() ); } } |