summaryrefslogtreecommitdiff
path: root/sd
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 /sd
parent5f5649420bb836094213f684830b062b3a800eb2 (diff)
Use SVLIBRARY instead of gb_Library_get_runtime_filename
Change-Id: I0d21d9685cdc801f7d6975a752999788c1f132e4
Diffstat (limited to 'sd')
-rw-r--r--sd/Library_sd.mk1
-rw-r--r--sd/source/ui/dlg/sdabstdlg.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 2afcf9bd39d7..a38b6eb03ad4 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -49,7 +49,6 @@ $(eval $(call gb_Library_set_include,sd,\
$(eval $(call gb_Library_add_defs,sd,\
-DSD_DLLIMPLEMENTATION \
- -DSDUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,sdui))\" \
))
ifneq ($(strip $(dbg_anim_log)$(DBG_ANIM_LOG)),)
diff --git a/sd/source/ui/dlg/sdabstdlg.cxx b/sd/source/ui/dlg/sdabstdlg.cxx
index acf4705329b9..4594295fef6a 100644
--- a/sd/source/ui/dlg/sdabstdlg.cxx
+++ b/sd/source/ui/dlg/sdabstdlg.cxx
@@ -42,7 +42,7 @@ SdAbstractDialogFactory* SdAbstractDialogFactory::Create()
#if HAVE_FEATURE_DESKTOP
#ifndef DISABLE_DYNLOADING
static ::osl::Module aDialogLibrary;
- static const OUString sLibName(SDUI_DLL_NAME);
+ static const OUString sLibName(SVLIBRARY("sdui"));
if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, sLibName ) )
fp = ( SdAbstractDialogFactory* (SAL_CALL*)() )
aDialogLibrary.getFunctionSymbol( "SdCreateDialogFactory" );