From aadfc4e784fb448066cd44322000062d685dcde1 Mon Sep 17 00:00:00 2001 From: Kevin Hunter Date: Tue, 9 Nov 2010 14:58:54 -0500 Subject: EasyHack: RTL conversion from createFromAscii --- basebmp/test/cliptest.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'basebmp/test/cliptest.cxx') 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)); -- cgit v1.2.3