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

New commits:
commit 37c00bff114fe39e553ea6f1b8e68d6c6ff93eba
Author: Matúš Kukan <matus.ku...@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())
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to