[Libreoffice-commits] .: 2 commits - connectivity/source sfx2/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Nov 20 08:40:08 PST 2010


 connectivity/source/drivers/evoab2/NDriver.cxx |    1 -
 connectivity/source/drivers/kab/KDriver.cxx    |    2 +-
 sfx2/source/control/msgpool.cxx                |    7 -------
 3 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit cf3f47cd1b18940972dc978865ffb47b03b03f4e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Nov 20 16:34:50 2010 +0000

    RTL_CONSTASCII_USTRINGPARAM improvements

diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx
index 49a28d5..8da7436 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 f51b526..e05cea5 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 )
commit 41ebfc781a860643dd2edb21313f0f26e5b77c00
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Nov 20 15:35:39 2010 +0000

    cppcheck reports unused struct

diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx
index fd55fe8..a18341e 100644
--- a/sfx2/source/control/msgpool.cxx
+++ b/sfx2/source/control/msgpool.cxx
@@ -48,13 +48,6 @@
 
 //====================================================================
 
-struct SfxSIDRegistration_Impl
-{
-    String			_aGroup;
-    String			_aName;
-    USHORT			_nSID;
-};
-
 struct SfxSlotType_Impl
 {
     USHORT  nId;


More information about the Libreoffice-commits mailing list