summaryrefslogtreecommitdiff
path: root/basebmp/test/polytest.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:20:23 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:48:35 -0500
commita6be4aff9ff165a3f6ed4fed8c19c26e4f952a58 (patch)
tree8ded332481074f560d3a5f09de4b6c67e1461074 /basebmp/test/polytest.cxx
parent1e34e009ff7bb12d9f7c5713bfed013c0abe3ac3 (diff)
targeted string re-work
Change-Id: I2e05baeb2c7f42e6f37613fe648fc19a8d0ac730
Diffstat (limited to 'basebmp/test/polytest.cxx')
-rw-r--r--basebmp/test/polytest.cxx29
1 files changed, 10 insertions, 19 deletions
diff --git a/basebmp/test/polytest.cxx b/basebmp/test/polytest.cxx
index 63485000b7f9..0c6b6d4c5cb2 100644
--- a/basebmp/test/polytest.cxx
+++ b/basebmp/test/polytest.cxx
@@ -68,8 +68,7 @@ private:
basegfx::tools::importFromSvgD(
aPoly,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M2 2 l7 7 z" )) );
+ rtl::OUString( "M2 2 l7 7 z" ) );
rDevice->fillPolyPolygon(
aPoly,
aCol,
@@ -83,8 +82,7 @@ private:
aPoly.clear();
basegfx::tools::importFromSvgD(
aPoly,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M7 2 l-6 6 z" )) );
+ rtl::OUString( "M7 2 l-6 6 z" ) );
rDevice->fillPolyPolygon(
aPoly,
aCol,
@@ -102,8 +100,7 @@ private:
basegfx::tools::importFromSvgD(
aPoly,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M2 2 h1 l7 7 h-1 z" )) );
+ rtl::OUString( "M2 2 h1 l7 7 h-1 z" ) );
rDevice->fillPolyPolygon(
aPoly,
aCol,
@@ -117,8 +114,7 @@ private:
aPoly.clear();
basegfx::tools::importFromSvgD(
aPoly,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M7 2 h-1 l-6 6 h1 z" )) );
+ rtl::OUString( "M7 2 h-1 l-6 6 h1 z" ) );
rDevice->fillPolyPolygon(
aPoly,
aCol,
@@ -132,8 +128,7 @@ private:
aPoly.clear();
basegfx::tools::importFromSvgD(
aPoly,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M0 0 l7 7 h-1 l-5-7 z" )) );
+ rtl::OUString( "M0 0 l7 7 h-1 l-5-7 z" ) );
rDevice->fillPolyPolygon(
aPoly,
aCol,
@@ -150,8 +145,7 @@ private:
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly,
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M0 0 h7 v7 h-7 z M2 2 v3 h3 v-3 z" )) );
+ ::rtl::OUString( "M0 0 h7 v7 h-7 z M2 2 v3 h3 v-3 z" ) );
rDevice->fillPolyPolygon(
aPoly,
@@ -169,8 +163,7 @@ private:
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly,
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M0 0 h7 v7 h-7 z M2 2 v3 h3 v-3 z" )) );
+ ::rtl::OUString( "M0 0 h7 v7 h-7 z M2 2 v3 h3 v-3 z" ) );
basegfx::B2DHomMatrix aMat;
aMat.translate(-3,-3);
aMat.rotate( 1.7 );
@@ -270,8 +263,7 @@ private:
// *all* of the four two-pixel lines in that polygon do *not*
// generate a single pixel, due to the rasterization effect.
basegfx::tools::importFromSvgD( aPoly,
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M2 3 l1 -1 M4 2 l1 1 M2 8 l1 1 M5 8 l-1 1 M2 5 h4 M3 0 v10" )) );
+ ::rtl::OUString( "M2 3 l1 -1 M4 2 l1 1 M2 8 l1 1 M5 8 l-1 1 M2 5 h4 M3 0 v10" ) );
BitmapDeviceSharedPtr pClippedDevice=(
subsetBitmapDevice( rDevice,
basegfx::B2IBox(3,3,5,9) ));
@@ -294,12 +286,11 @@ private:
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly,
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "M0 0 v2 l10 2 v-2 z"
+ ::rtl::OUString( "M0 0 v2 l10 2 v-2 z"
"M10 6 v-2 l-10 2 v2 z"
"M1 0 h1 v10 h-1 z"
"M4 0 h1 v10 h-1 z"
- "M8 0 h1 v10 h-1 z" )) );
+ "M8 0 h1 v10 h-1 z" ) );
rDevice->fillPolyPolygon(
aPoly,
aCol,