[Libreoffice-commits] .: connectivity/source

Gert Faller gfaller at kemper.freedesktop.org
Fri Nov 19 07:28:27 PST 2010


 connectivity/source/drivers/evoab/LDriver.hxx        |    4 ++--
 connectivity/source/drivers/macab/macabutilities.hxx |    2 +-
 connectivity/source/inc/ado/ACollection.hxx          |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit d873512e0ace47ca434c24ea46d494ce4d12f1e3
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date:   Fri Nov 19 16:20:47 2010 +0100

    TL_CONSTASCII_USTRINGPARAM in libs core 17

diff --git a/connectivity/source/drivers/evoab/LDriver.hxx b/connectivity/source/drivers/evoab/LDriver.hxx
index 598880f..aebacca 100644
--- a/connectivity/source/drivers/evoab/LDriver.hxx
+++ b/connectivity/source/drivers/evoab/LDriver.hxx
@@ -73,8 +73,8 @@ namespace connectivity
 
             inline rtl::OUString	getEvoFolderListName()			const { return m_aFolderListName;}
             inline rtl::OUString	getFileExt()					const { return m_aFileExt;}
-            inline rtl::OUString	getEvoFolderListFileName()		const { return m_aFolderListName + ::rtl::OUString::createFromAscii(".") + m_aFileExt;}
-            inline rtl::OUString	getEvoVersionFileName()			const { return m_aVersionName + ::rtl::OUString::createFromAscii(".") + m_aFileExt;}
+            inline rtl::OUString	getEvoFolderListFileName()		const { return m_aFolderListName + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".")) + m_aFileExt;}
+            inline rtl::OUString	getEvoVersionFileName()			const { return m_aVersionName + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".")) + m_aFileExt;}
             inline rtl::OUString	getWorkingDirURL()				const { return m_aWorkingDirURL;}
             inline rtl::OUString	getEvoab_CLI_FullPathCommand()	const { return m_aEvoab_CLI_FullPathCommand;}
             inline rtl::OUString	getEvoab_CLI_EffectiveCommand()	const { return m_aEvoab_CLI_EffectiveCommand;}
diff --git a/connectivity/source/drivers/macab/macabutilities.hxx b/connectivity/source/drivers/macab/macabutilities.hxx
index 9b9aa1f..237a7e4 100644
--- a/connectivity/source/drivers/macab/macabutilities.hxx
+++ b/connectivity/source/drivers/macab/macabutilities.hxx
@@ -111,7 +111,7 @@ namespace connectivity
             /* Get the length, and make sure that there is actually a string
              * here.
              */
-            if(_originalLabel.indexOf(::rtl::OUString::createFromAscii("_$!<")) == 0)
+            if(_originalLabel.indexOf(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("_$!<"))) == 0)
             {
                 return _originalLabel.copy(4,_originalLabel.getLength()-8);
             }
diff --git a/connectivity/source/inc/ado/ACollection.hxx b/connectivity/source/inc/ado/ACollection.hxx
index a319865..6716921 100644
--- a/connectivity/source/inc/ado/ACollection.hxx
+++ b/connectivity/source/inc/ado/ACollection.hxx
@@ -81,7 +81,7 @@ namespace connectivity
 
             virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw (staruno::RuntimeException)
             {
-                return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.ACollection");
+                return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdbcx.ACollection"));
             }
             virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& _rServiceName ) throw(staruno::RuntimeException)
             {
@@ -96,7 +96,7 @@ namespace connectivity
             virtual staruno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw(staruno::RuntimeException)
             {
                 staruno::Sequence< ::rtl::OUString > aSupported(1);
-                aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.Container");
+                aSupported[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdbcx.Container"));
                 return aSupported;
             }
 


More information about the Libreoffice-commits mailing list