summaryrefslogtreecommitdiff
path: root/basegfx/test
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-23 18:54:05 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-23 18:54:05 +0100
commit3f3fe0b4e3dfe8801920e4b0c1d8c2364120fba9 (patch)
tree032be5714c338d1e08034892f1043fab21d44953 /basegfx/test
parent36ba6d664a6cc219d84d22dc74a562603d7fcdc5 (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 12
Diffstat (limited to 'basegfx/test')
-rw-r--r--basegfx/test/basegfx2d.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index c06843c04115..2f10a638141c 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -74,17 +74,17 @@ public:
void setUp()
{
// simple rectangle
- aPath0 = ::rtl::OUString::createFromAscii(
- "M 10 10-10 10-10-10 10-10Z" );
+ aPath0 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "M 10 10-10 10-10-10 10-10Z" ));
// simple bezier polygon
- aPath1 = ::rtl::OUString::createFromAscii(
+ aPath1 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"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::createFromAscii(
+ aPath2 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"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 "
@@ -107,10 +107,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::createFromAscii(
+ aPath3 = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"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"
@@ -142,7 +142,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()