summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
parent5f5649420bb836094213f684830b062b3a800eb2 (diff)
Use SVLIBRARY instead of gb_Library_get_runtime_filename
Change-Id: I0d21d9685cdc801f7d6975a752999788c1f132e4
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/Library_tk.mk1
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/Library_tk.mk b/toolkit/Library_tk.mk
index 31ea037148a8..29ca9cfbd65f 100644
--- a/toolkit/Library_tk.mk
+++ b/toolkit/Library_tk.mk
@@ -31,7 +31,6 @@ $(eval $(call gb_Library_set_include,tk,\
$(eval $(call gb_Library_add_defs,tk,\
-DTOOLKIT_DLLIMPLEMENTATION \
- -DSVT_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,svt))\" \
))
$(eval $(call gb_Library_use_sdk_api,tk))
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 38b550270d6b..599381e5690d 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1206,7 +1206,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
)
{
#ifndef DISABLE_DYNLOADING
- OUString aLibName(SVT_DLL_NAME);
+ OUString aLibName(SVLIBRARY("svt"));
hSvToolsLib = osl_loadModuleRelative(
&thisModule, aLibName.pData, SAL_LOADMODULE_DEFAULT );
if ( hSvToolsLib )