summaryrefslogtreecommitdiff
path: root/basebmp/test/cliptest.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-09 14:58:54 -0500
committerDavid Tardon <dtardon@redhat.com>2010-11-10 08:19:59 +0100
commitaadfc4e784fb448066cd44322000062d685dcde1 (patch)
tree0903675baa9f8aa027cc4df804b2e4a84850c5d4 /basebmp/test/cliptest.cxx
parent322cbc3818b0553254aab2dfb3c5b196fe814097 (diff)
EasyHack: RTL conversion from createFromAscii
Diffstat (limited to 'basebmp/test/cliptest.cxx')
-rw-r--r--basebmp/test/cliptest.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/basebmp/test/cliptest.cxx b/basebmp/test/cliptest.cxx
index 31af87140682..ff9d2d435ebf 100644
--- a/basebmp/test/cliptest.cxx
+++ b/basebmp/test/cliptest.cxx
@@ -180,8 +180,7 @@ private:
true,
Format::EIGHT_BIT_GREY ));
- ::rtl::OUString aSvg = ::rtl::OUString::createFromAscii(
- "m 0 0h5v10h5v-5h-10z" );
+ ::rtl::OUString aSvg( RTL_CONSTASCII_USTRINGPARAM( "m 0 0h5v10h5v-5h-10z" ));
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly, aSvg );
@@ -221,8 +220,7 @@ public:
true,
Format::THIRTYTWO_BIT_TC_MASK );
- ::rtl::OUString aSvg = ::rtl::OUString::createFromAscii(
- "m 0 0 h5 l5 5 v5 h-5 l-5-5 z" );
+ ::rtl::OUString aSvg( RTL_CONSTASCII_USTRINGPARAM( "m 0 0 h5 l5 5 v5 h-5 l-5-5 z" ));
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly, aSvg );
mpClipMask->clear(Color(0));