From 611f45659263b7647e01d9f23ae155d5d7de4818 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 2 Jun 2012 15:10:21 -0500 Subject: targeted string re-work Change-Id: I535fd1e4438b3ade78c1867eeb0321e6753ed22b --- basegfx/source/tools/canvastools.cxx | 4 ++-- basegfx/test/basegfx2d.cxx | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'basegfx') diff --git a/basegfx/source/tools/canvastools.cxx b/basegfx/source/tools/canvastools.cxx index 5743c306715e..d5fed18abca7 100644 --- a/basegfx/source/tools/canvastools.cxx +++ b/basegfx/source/tools/canvastools.cxx @@ -329,9 +329,9 @@ namespace basegfx if( !xLinePoly.is() ) { throw lang::IllegalArgumentException( - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + ::rtl::OUString( "basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(): Invalid input" - "poly-polygon, cannot retrieve vertex data")), + "poly-polygon, cannot retrieve vertex data"), uno::Reference< uno::XInterface >(), 0 ); } diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index 26ec7d3ea627..66cbcb09c72d 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -79,17 +79,17 @@ public: void setUp() { // simple rectangle - aPath0 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( - "M 10 10-10 10-10-10 10-10Z" )); + aPath0 = ::rtl::OUString( + "M 10 10-10 10-10-10 10-10Z" ); // simple bezier polygon - aPath1 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + aPath1 = ::rtl::OUString( "m11430 0c-8890 3810 5715 6985 5715 6985 " "0 0-17145-1905-17145-1905 0 0 22860-10160 " - "16510 6350-6350 16510-3810-11430-3810-11430z" )); + "16510 6350-6350 16510-3810-11430-3810-11430z" ); // '@' as a bezier polygon - aPath2 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + aPath2 = ::rtl::OUString( "m1917 1114c-89-189-233-284-430-284-167 " "0-306 91-419 273-113 182-170 370-170 564 " "0 145 33 259 98 342 65 84 150 126 257 126 " @@ -112,10 +112,10 @@ public: "-215-201-487-301-816-301-395 0-715 124-960 " "373-245 249-368 569-368 958 0 385 119 685 " "357 900 237 216 557 324 958 325 189-1 389-27 " - "600-77 211-52 378-110 503-174 27 70 54 140 81 210z" )); + "600-77 211-52 378-110 503-174 27 70 54 140 81 210z" ); // first part of 'Hello World' as a line polygon - aPath3 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + aPath3 = ::rtl::OUString( "m1598 125h306v2334h-306v-1105h-1293v1105h-305v" "-2334h305v973h1293zm2159 1015 78-44 85 235-91 " "47-91 40-90 34-90 29-89 21-88 16-88 10-88 3-102" @@ -147,7 +147,7 @@ public: "-26-29-28-28-30-26-32-25-32-23-35-21-35-38-74-30-80" "-24-85-17-89-11-95-3-100 3-101 11-95 17-90 24-85 30" "-79 38-75 21-35 23-35 25-32 26-32 28-30 29-28 30-26 " - "31-24 33-22 34-20 35-18 36-16 37-15 39-12 40-11z" )); + "31-24 33-22 34-20 35-18 36-16 37-15 39-12 40-11z" ); } void tearDown() -- cgit v1.2.3