[PATCH 01/12] RTL_CONSTASCII_USTRINGPARAM in components/cui/...option
pjacquod
pjacquod at alumni.ethz.ch
Mon Nov 15 13:33:50 PST 2010
---
cui/source/options/connpoolconfig.cxx | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/cui/source/options/connpoolconfig.cxx b/cui/source/options/connpoolconfig.cxx
index 41366d1..4bdc859 100644
--- a/cui/source/options/connpoolconfig.cxx
+++ b/cui/source/options/connpoolconfig.cxx
@@ -51,42 +51,42 @@ namespace offapp
//--------------------------------------------------------------------
static const ::rtl::OUString& getConnectionPoolNodeName()
{
- static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("org.openoffice.Office.DataAccess/ConnectionPool");
+ static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.DataAccess/ConnectionPool") ) );
return s_sNodeName;
}
//--------------------------------------------------------------------
static const ::rtl::OUString& getEnablePoolingNodeName()
{
- static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("EnablePooling");
+ static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("EnablePooling") ) );
return s_sNodeName;
}
//--------------------------------------------------------------------
static const ::rtl::OUString& getDriverSettingsNodeName()
{
- static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("DriverSettings");
+ static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DriverSettings") ) );
return s_sNodeName;
}
//--------------------------------------------------------------------
static const ::rtl::OUString& getDriverNameNodeName()
{
- static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("DriverName");
+ static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DriverName") ) );
return s_sNodeName;
}
//--------------------------------------------------------------------
static const ::rtl::OUString& getEnableNodeName()
{
- static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("Enable");
+ static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Enable") ) );
return s_sNodeName;
}
//--------------------------------------------------------------------
static const ::rtl::OUString& getTimeoutNodeName()
{
- static ::rtl::OUString s_sNodeName = ::rtl::OUString::createFromAscii("Timeout");
+ static ::rtl::OUString s_sNodeName (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Timeout") ) );
return s_sNodeName;
}
--
1.7.1
--------------020401010605000200060809--
More information about the LibreOffice
mailing list