summaryrefslogtreecommitdiffstats
path: root/connectivity/source
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-19 16:20:47 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-19 16:20:47 +0100
commit806fe39f9397c32cd03190854dd1cd140e268745 (patch)
tree07a4d43b1281ef13bacc8cdaf451a7e8af702c03 /connectivity/source
parentfix && || warning in enable-debug (diff)
downloadcore-806fe39f9397c32cd03190854dd1cd140e268745.tar.gz
core-806fe39f9397c32cd03190854dd1cd140e268745.zip
TL_CONSTASCII_USTRINGPARAM in libs core 17
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/evoab/LDriver.hxx4
-rw-r--r--connectivity/source/drivers/macab/macabutilities.hxx2
-rw-r--r--connectivity/source/inc/ado/ACollection.hxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/evoab/LDriver.hxx b/connectivity/source/drivers/evoab/LDriver.hxx
index 65731264409e..65b15c50cd3f 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 2f128ed000a0..97e84c218986 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 485a151ca4a8..3dafa36b9b3a 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;
}