[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Fri Feb 27 05:14:20 PST 2015


 connectivity/source/drivers/kab/KDriver.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d8a2a0b84a9aa570116febf23a6f1d6430fec287
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 27 14:12:54 2015 +0100

    Adapt code to changed libkabdrv1lo.so name
    
    broken since LO 3.6, commit 07d512eff12fc89adbfb73e546b3946494f21472
    "connectivity: convert kab to gbuild"
    
    Change-Id: I65cc32fa55f1d5c0358585489b8b3dc3aaf8004b

diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx
index 788099a..d28c0c8 100644
--- a/connectivity/source/drivers/kab/KDriver.cxx
+++ b/connectivity/source/drivers/kab/KDriver.cxx
@@ -31,6 +31,7 @@
 #include <cppuhelper/supportsservice.hxx>
 #include <rtl/ustrbuf.hxx>
 #include <tools/diagnose_ex.h>
+#include <tools/solar.h>
 #include "resource/kab_res.hrc"
 #include "resource/sharedresources.hxx"
 
@@ -130,7 +131,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 OUString sModuleName( SAL_MODULENAME( KAB_SERVICE_NAME "drv1"  ));
+    const OUString sModuleName( SVLIBRARY( KAB_SERVICE_NAME "drv1"  ));
     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 )


More information about the Libreoffice-commits mailing list