diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2010-11-20 16:34:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-20 16:39:16 +0000 |
commit | c44fdc7a1f6d787bb8eea8c39c10b97f70012dc2 (patch) | |
tree | 429a04c42987d7812329b546be662a6387fb4cc2 /connectivity/source/drivers | |
parent | 6ff2f2a75a9e7f6de131197dcc2420da41931b57 (diff) |
RTL_CONSTASCII_USTRINGPARAM improvements
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r-- | connectivity/source/drivers/evoab2/NDriver.cxx | 1 | ||||
-rw-r--r-- | connectivity/source/drivers/kab/KDriver.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx index bee973cfd6a6..dd9e035142a2 100644 --- a/connectivity/source/drivers/evoab2/NDriver.cxx +++ b/connectivity/source/drivers/evoab2/NDriver.cxx @@ -46,7 +46,6 @@ using namespace osl; using namespace connectivity::evoab; -//using namespace connectivity::file; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::sdbcx; diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx index de46752842cc..20105d9b5db0 100644 --- a/connectivity/source/drivers/kab/KDriver.cxx +++ b/connectivity/source/drivers/kab/KDriver.cxx @@ -126,7 +126,7 @@ bool KabImplModule::impl_loadModule() OSL_ENSURE( !m_hConnectorModule && !m_pConnectionFactoryFunc && !m_pApplicationInitFunc && !m_pApplicationShutdownFunc && !m_pKDEVersionCheckFunc, "KabImplModule::impl_loadModule: inconsistence: inconsistency (never attempted load before, but some values already set)!"); - const ::rtl::OUString sModuleName = ::rtl::OUString::createFromAscii( SAL_MODULENAME( "kabdrv1" ) ); + const ::rtl::OUString sModuleName(RTL_CONSTASCII_USTRINGPARAM( SAL_MODULENAME( "kabdrv1" ) )); m_hConnectorModule = osl_loadModuleRelative( &thisModule, sModuleName.pData, SAL_LOADMODULE_NOW ); // LAZY! #i61335# OSL_ENSURE( m_hConnectorModule, "KabImplModule::impl_loadModule: could not load the implementation library!" ); if ( !m_hConnectorModule ) |