[Libreoffice-commits] .: Branch 'libreoffice-3-4' - vcl/source
Petr Mladek
pmladek at kemper.freedesktop.org
Fri Apr 29 05:09:01 PDT 2011
vcl/source/window/abstdlg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9e17ee98db942f696188873ad36d5861b9a973e3
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Fri Apr 29 14:07:22 2011 +0200
dlopen-global-symbols.diff: use global namespace for dlopened sym
diff --git a/vcl/source/window/abstdlg.cxx b/vcl/source/window/abstdlg.cxx
index e3222ec..b19974d 100644
--- a/vcl/source/window/abstdlg.cxx
+++ b/vcl/source/window/abstdlg.cxx
@@ -43,7 +43,8 @@ VclAbstractDialogFactory* VclAbstractDialogFactory::Create()
{
FuncPtrCreateDialogFactory fp = 0;
static ::osl::Module aDialogLibrary;
- if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, String( RTL_CONSTASCII_USTRINGPARAM( DLL_NAME ) ) ) )
+ if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, String( RTL_CONSTASCII_USTRINGPARAM( DLL_NAME ) ),
+ SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY ) )
fp = ( VclAbstractDialogFactory* (__LOADONCALLAPI*)() )
aDialogLibrary.getFunctionSymbol( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateDialogFactory")) );
if ( fp )
More information about the Libreoffice-commits
mailing list