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

Matúš Kukan matus.kukan at collabora.com
Thu Oct 2 08:02:02 PDT 2014


 sw/source/uibase/dbui/swdbtoolsclient.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 37c00bff114fe39e553ea6f1b8e68d6c6ff93eba
Author: Matúš Kukan <matus.kukan at collabora.com>
Date:   Thu Oct 2 15:41:41 2014 +0200

    typo: fix build: wrong parameter was used
    
    Change-Id: Iaa82352f91167872c9cd39c8ce22b415b9e61d82

diff --git a/sw/source/uibase/dbui/swdbtoolsclient.cxx b/sw/source/uibase/dbui/swdbtoolsclient.cxx
index d94228e..a7bc6d9 100644
--- a/sw/source/uibase/dbui/swdbtoolsclient.cxx
+++ b/sw/source/uibase/dbui/swdbtoolsclient.cxx
@@ -102,9 +102,11 @@ void SwDbtoolsClient::registerClient()
 
 #if HAVE_FEATURE_DESKTOP
 #ifndef DISABLE_DYNLOADING
+        const OUString sModuleName(DBTOOLS_DLL_NAME);
+
         // load the dbtools library
         getDbToolsClientModule() = osl_loadModuleRelative(
-            &thisModule, DBTOOLS_DLL_NAME, 0);
+            &thisModule, sModuleName.pData, 0);
         OSL_ENSURE(NULL != getDbToolsClientModule(), "SwDbtoolsClient::registerClient: could not load the dbtools library!");
         if (NULL != getDbToolsClientModule())
         {


More information about the Libreoffice-commits mailing list