diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-18 16:54:53 -0500 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-19 09:44:15 +0000 |
commit | 324612c06bb1c16c575224d5791be1a0afee6a5e (patch) | |
tree | c18e1fbf5be6420e315c61396ed1d4556683ab5f /tools/workben/urltest.cxx | |
parent | remove 64bit warnings in debug mode (diff) | |
download | core-324612c06bb1c16c575224d5791be1a0afee6a5e.tar.gz core-324612c06bb1c16c575224d5791be1a0afee6a5e.zip |
Easy Hack: RTL_CONST macro from createFromAscii
Diffstat (limited to 'tools/workben/urltest.cxx')
-rw-r--r-- | tools/workben/urltest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/workben/urltest.cxx b/tools/workben/urltest.cxx index 0b0239a96f5a..2d3bd9b445f8 100644 --- a/tools/workben/urltest.cxx +++ b/tools/workben/urltest.cxx @@ -611,7 +611,7 @@ main() if (true) { rtl::OUString - aParameters(rtl::OUString::createFromAscii("; CharSet=UTF-8 ; Blubber=Blob")); + aParameters(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "; CharSet=UTF-8 ; Blubber=Blob" ))); sal_Unicode const * pBegin = aParameters.getStr(); sal_Unicode const * pEnd = pBegin + aParameters.getLength(); INetContentTypeParameterList aList; @@ -1451,7 +1451,7 @@ main() } if (true) { // #112130# - INetURLObject url1(rtl::OUString::createFromAscii(".uno:abc%3Fdef")); + INetURLObject url1(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:abc%3Fdef" ))); if (url1.GetProtocol() != INET_PROT_UNO) { printf("BAD .uno:abc%%3Fdef\n"); bSuccess = false; @@ -1469,7 +1469,7 @@ main() printf("BAD HasParam(.uno:abc%%3Fdef)\n"); bSuccess = false; } - INetURLObject url2(rtl::OUString::createFromAscii(".uno:abc?def?ghi")); + INetURLObject url2(rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:abc?def?ghi" ))); if (url2.GetProtocol() != INET_PROT_UNO) { printf("BAD .uno:abc?def?ghi\n"); bSuccess = false; |