diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-07-03 21:18:15 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-07-03 21:20:58 -0300 |
commit | c6c99966cd4515b574e9cd21e89954dabf56009a (patch) | |
tree | f700771b96649bd421329b127fc25ed85fe1c86f /svl/qa/unit/svl.cxx | |
parent | c675575ce507320b6f866d02fd7eee68462f7823 (diff) |
Get rid of RTL_CONSTASCII_USTRINGPARAM in svl/
Change-Id: I64f3f966011bf07a2ee0c7327feb4a46df595210
Diffstat (limited to 'svl/qa/unit/svl.cxx')
-rw-r--r-- | svl/qa/unit/svl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index b051d1f58675..d0cab798bafa 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -267,21 +267,21 @@ void Test::testNumberFormat() sal_uInt32 nKey; OUString aCode; // Thai date format (implicit locale). - aCode = OUString(RTL_CONSTASCII_USTRINGPARAM("[$-1070000]d/mm/yyyy;@")); + aCode = "[$-1070000]d/mm/yyyy;@"; if (!aFormatter.PutEntry(aCode, nPos, nType, nKey)) { CPPUNIT_ASSERT_MESSAGE("failed to insert format code '[$-1070000]d/mm/yyyy;@'", false); } // Thai date format (explicit locale) - aCode = OUString(RTL_CONSTASCII_USTRINGPARAM("[$-107041E]d/mm/yyyy;@")); + aCode = "[$-107041E]d/mm/yyyy;@"; if (!aFormatter.PutEntry(aCode, nPos, nType, nKey)) { CPPUNIT_ASSERT_MESSAGE("failed to insert format code '[$-107041E]d/mm/yyyy;@'", false); } // Thai date format (using buddhist calendar type). - aCode = OUString(RTL_CONSTASCII_USTRINGPARAM("[~buddhist]D MMMM YYYY")); + aCode = "[~buddhist]D MMMM YYYY"; if (!aFormatter.PutEntry(aCode, nPos, nType, nKey)) { CPPUNIT_ASSERT_MESSAGE("failed to insert format code '[~buddhist]D MMMM YYYY'", false); |