summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/dbui/swdbtoolsclient.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/swdbtoolsclient.cxx b/sw/source/uibase/dbui/swdbtoolsclient.cxx
index d94228e35db8..a7bc6d911f83 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())
{