[Libreoffice-commits] .: testtools/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Dec 13 13:16:19 PST 2010


 testtools/source/bridgetest/multi.hxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit c46a82f1c0f72f5e73f05b50fa1f35ceb722fc6f
Author: serval <serval at ilapharm.com>
Date:   Mon Dec 13 21:15:42 2010 +0000

    RTL_CONSTASCII_USTRINGPARAM for testtools

diff --git a/testtools/source/bridgetest/multi.hxx b/testtools/source/bridgetest/multi.hxx
index f2ac065..5b67a4e 100644
--- a/testtools/source/bridgetest/multi.hxx
+++ b/testtools/source/bridgetest/multi.hxx
@@ -59,7 +59,7 @@ public:
 
     virtual rtl::OUString SAL_CALL fn12(rtl::OUString const & arg)
         throw (com::sun::star::uno::RuntimeException)
-    { return rtl::OUString::createFromAscii("12") + arg; }
+    { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("12")) + arg; }
 
     virtual sal_Int32 SAL_CALL fn21(sal_Int32 arg)
         throw (com::sun::star::uno::RuntimeException)
@@ -67,7 +67,7 @@ public:
 
     virtual rtl::OUString SAL_CALL fn22(rtl::OUString const & arg)
         throw (com::sun::star::uno::RuntimeException)
-    { return rtl::OUString::createFromAscii("22") + arg; }
+    { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("22")) + arg; }
 
     virtual double SAL_CALL getatt3()
         throw (com::sun::star::uno::RuntimeException)
@@ -83,7 +83,7 @@ public:
 
     virtual rtl::OUString SAL_CALL fn32(rtl::OUString const & arg)
         throw (com::sun::star::uno::RuntimeException)
-    { return rtl::OUString::createFromAscii("32") + arg; }
+    { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("32")) + arg; }
 
     virtual sal_Int32 SAL_CALL fn33()
         throw (com::sun::star::uno::RuntimeException)
@@ -99,7 +99,7 @@ public:
 
     virtual rtl::OUString SAL_CALL fn62(rtl::OUString const & arg)
         throw (com::sun::star::uno::RuntimeException)
-    { return rtl::OUString::createFromAscii("62") + arg; }
+    { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("62")) + arg; }
 
     virtual sal_Int32 SAL_CALL fn71(sal_Int32 arg)
         throw (com::sun::star::uno::RuntimeException)
@@ -107,7 +107,7 @@ public:
 
     virtual rtl::OUString SAL_CALL fn72(rtl::OUString const & arg)
         throw (com::sun::star::uno::RuntimeException)
-    { return rtl::OUString::createFromAscii("72") + arg; }
+    { return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("72")) + arg; }
 
     virtual sal_Int32 SAL_CALL fn73()
         throw (com::sun::star::uno::RuntimeException)


More information about the Libreoffice-commits mailing list