diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2010-11-20 16:45:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-20 16:45:27 +0000 |
commit | 88118c8a4e3d62a1c5ff2c8f4acc91d99e0ce357 (patch) | |
tree | 804d655e22cf24343e3f53eb3ab4d0d9a4bdeafd /drawinglayer | |
parent | c44fdc7a1f6d787bb8eea8c39c10b97f70012dc2 (diff) |
RTL_CONSTASCII_USTRINGPARAM improvements
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/canvasprocessor.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drawinglayer/source/processor2d/canvasprocessor.cxx b/drawinglayer/source/processor2d/canvasprocessor.cxx index eeb9e8e5bd19..460cc76487e6 100644 --- a/drawinglayer/source/processor2d/canvasprocessor.cxx +++ b/drawinglayer/source/processor2d/canvasprocessor.cxx @@ -1043,8 +1043,8 @@ using namespace com::sun::star; basegfx::B2DPolyPolygon aPoly; basegfx::tools::importFromSvgD( aPoly, - rtl::OUString::createFromAscii( - "m-1 0 h2 m0 -1 v2" )); + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "m-1 0 h2 m0 -1 v2" ))); mxCrossMarkerPoly = basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( mxCanvas->getDevice(), @@ -1059,8 +1059,8 @@ using namespace com::sun::star; basegfx::B2DPolyPolygon aPoly; basegfx::tools::importFromSvgD( aPoly, - rtl::OUString::createFromAscii( - "m-2 -3 l5 5 m-3 -2 l5 5 m-3 2 l5 -5 m-2 3 l5 -5" )); + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "m-2 -3 l5 5 m-3 -2 l5 5 m-3 2 l5 -5 m-2 3 l5 -5" ))); mxGluePointPoly = basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( mxCanvas->getDevice(), @@ -1071,8 +1071,8 @@ using namespace com::sun::star; basegfx::B2DPolyPolygon aPoly; basegfx::tools::importFromSvgD( aPoly, - rtl::OUString::createFromAscii( - "m-2 -2 l4 4 m-2 2 l4 -4" )); + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "m-2 -2 l4 4 m-2 2 l4 -4" ))); mxGluePointHighlightPoly = basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( mxCanvas->getDevice(), |