diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-02 15:41:41 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-02 17:01:03 +0200 |
commit | 37c00bff114fe39e553ea6f1b8e68d6c6ff93eba (patch) | |
tree | e7c70b16ffc424b6b8b3bcbcd332d0172ca977da /sw/source/uibase/dbui/swdbtoolsclient.cxx | |
parent | cb0d80209534c42a1a0fa7ba3c65369a434a00ba (diff) |
typo: fix build: wrong parameter was used
Change-Id: Iaa82352f91167872c9cd39c8ce22b415b9e61d82
Diffstat (limited to 'sw/source/uibase/dbui/swdbtoolsclient.cxx')
-rw-r--r-- | sw/source/uibase/dbui/swdbtoolsclient.cxx | 4 |
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()) { |