diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-09 14:58:54 -0500 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-10 08:19:59 +0100 |
commit | aadfc4e784fb448066cd44322000062d685dcde1 (patch) | |
tree | 0903675baa9f8aa027cc4df804b2e4a84850c5d4 /basebmp/test | |
parent | 322cbc3818b0553254aab2dfb3c5b196fe814097 (diff) |
EasyHack: RTL conversion from createFromAscii
Diffstat (limited to 'basebmp/test')
-rw-r--r-- | basebmp/test/bmpmasktest.cxx | 3 | ||||
-rw-r--r-- | basebmp/test/bmptest.cxx | 3 | ||||
-rw-r--r-- | basebmp/test/cliptest.cxx | 6 | ||||
-rw-r--r-- | basebmp/test/filltest.cxx | 3 | ||||
-rw-r--r-- | basebmp/test/masktest.cxx | 3 |
5 files changed, 6 insertions, 12 deletions
diff --git a/basebmp/test/bmpmasktest.cxx b/basebmp/test/bmpmasktest.cxx index 0d4fa01b3301..18db80442707 100644 --- a/basebmp/test/bmpmasktest.cxx +++ b/basebmp/test/bmpmasktest.cxx @@ -131,8 +131,7 @@ public: true, Format::THIRTYTWO_BIT_TC_MASK ); - ::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 ); diff --git a/basebmp/test/bmptest.cxx b/basebmp/test/bmptest.cxx index f52a0567f271..e6119a10c0eb 100644 --- a/basebmp/test/bmptest.cxx +++ b/basebmp/test/bmptest.cxx @@ -170,8 +170,7 @@ public: true, Format::THIRTYTWO_BIT_TC_MASK ); - ::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 ); 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)); diff --git a/basebmp/test/filltest.cxx b/basebmp/test/filltest.cxx index 469b984b6ca6..bf7bbe808049 100644 --- a/basebmp/test/filltest.cxx +++ b/basebmp/test/filltest.cxx @@ -168,8 +168,7 @@ private: CPPUNIT_ASSERT_MESSAGE("bottom-middle pixel set", rDevice->getPixel(aPt4) == aCol); - ::rtl::OUString aSvg = ::rtl::OUString::createFromAscii( - "m 0 0l7 7h-1z" ); + ::rtl::OUString aSvg( RTL_CONSTASCII_USTRINGPARAM( "m 0 0l7 7h-1z" )); basegfx::B2DPolyPolygon aPoly; basegfx::tools::importFromSvgD( aPoly, aSvg ); diff --git a/basebmp/test/masktest.cxx b/basebmp/test/masktest.cxx index b7097518f64a..74b393ebad36 100644 --- a/basebmp/test/masktest.cxx +++ b/basebmp/test/masktest.cxx @@ -137,8 +137,7 @@ public: 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 ); |