summaryrefslogtreecommitdiff
path: root/vcl/source/window/abstdlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-06 10:28:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-06 10:28:58 +0100
commitee567a63fad9e755b11ca28696da35f00ed3b0fc (patch)
tree5afb2b0f3dbba8776cd90c62ebeb0a92aea8a616 /vcl/source/window/abstdlg.cxx
parent5f5649420bb836094213f684830b062b3a800eb2 (diff)
Use SVLIBRARY instead of gb_Library_get_runtime_filename
Change-Id: I0d21d9685cdc801f7d6975a752999788c1f132e4
Diffstat (limited to 'vcl/source/window/abstdlg.cxx')
-rw-r--r--vcl/source/window/abstdlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/abstdlg.cxx b/vcl/source/window/abstdlg.cxx
index 869800ace32d..652ac5ef7dfb 100644
--- a/vcl/source/window/abstdlg.cxx
+++ b/vcl/source/window/abstdlg.cxx
@@ -21,6 +21,7 @@
#include <rtl/ustring.hxx>
#include <osl/module.hxx>
+#include <tools/solar.h>
#include <vcl/abstdlg.hxx>
typedef VclAbstractDialogFactory* (SAL_CALL *FuncPtrCreateDialogFactory)();
@@ -38,7 +39,7 @@ VclAbstractDialogFactory* VclAbstractDialogFactory::Create()
#ifndef DISABLE_DYNLOADING
static ::osl::Module aDialogLibrary;
if (aDialogLibrary.is() ||
- aDialogLibrary.loadRelative(&thisModule, CUI_DLL_NAME,
+ aDialogLibrary.loadRelative(&thisModule, SVLIBRARY("cui"),
SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY))
{
fp = ( VclAbstractDialogFactory* (SAL_CALL*)() )