Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index



Hi

Same for module animation.

Szabolcs
                                          
From be3148a6bfda58b6093b598a7ec17cc6f587b6c3 Mon Sep 17 00:00:00 2001
From: Szabolcs Dezsi <dezsiszabi@hotmail.com>
Date: Thu, 19 Apr 2012 09:58:41 +0200
Subject: [PATCH] Removed RTL_CONSTASCII_USTRINGPARAM from animation

---
 animations/source/animcore/animcore.cxx            |    2 +-
 .../source/animcore/targetpropertiescreator.cxx    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index e85b806..4f3ed72 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -529,7 +529,7 @@ OUString getImplementationName_##N()\
 Sequence<OUString> getSupportedServiceNames_##N(void)\
 {\
     Sequence<OUString> aRet(1);\
-    aRet.getArray()[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( SN ));\
+    aRet.getArray()[0] = OUString( SN );\
     return aRet;\
 }
 
diff --git a/animations/source/animcore/targetpropertiescreator.cxx 
b/animations/source/animcore/targetpropertiescreator.cxx
index 0f04167..9e4c04e 100644
--- a/animations/source/animcore/targetpropertiescreator.cxx
+++ b/animations/source/animcore/targetpropertiescreator.cxx
@@ -112,7 +112,7 @@ namespace animcore
     uno::Sequence< ::rtl::OUString > getSupportedServiceNames_TargetPropertiesCreator(void)
     {
         uno::Sequence< ::rtl::OUString > aRet(1);
-        aRet.getArray()[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME ) );
+        aRet.getArray()[0] = SERVICE_NAME;
         return aRet;
     }
 
@@ -483,7 +483,7 @@ namespace animcore
     uno::Sequence< ::rtl::OUString > SAL_CALL TargetPropertiesCreator::getSupportedServiceNames()  
throw( uno::RuntimeException )
     {
         uno::Sequence< ::rtl::OUString > aRet(1);
-        aRet[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME ) );
+        aRet[0] = SERVICE_NAME;
 
         return aRet;
     }
-- 
1.7.7


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.