diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2011-04-29 14:07:18 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-04-29 14:07:18 +0200 |
commit | fb2ffa4384c138acfb44e73b4bfa2c4ee81992c9 (patch) | |
tree | c00e023dccda985257932c147db39c5af7d50930 /sc | |
parent | c35437991324696da285acd1d09d5b6e3f4ffd39 (diff) |
dlopen-global-symbols.diff: use global namespace for dlopened sym
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/attrdlg/scabstdlg.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/attrdlg/scabstdlg.cxx b/sc/source/ui/attrdlg/scabstdlg.cxx index 79481ffdc..2c3199ae6 100644 --- a/sc/source/ui/attrdlg/scabstdlg.cxx +++ b/sc/source/ui/attrdlg/scabstdlg.cxx @@ -48,7 +48,8 @@ ScAbstractDialogFactory* ScAbstractDialogFactory::Create() OUStringBuffer aStrBuf; aStrBuf.appendAscii( SVLIBRARY("scui") ); - if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, aStrBuf.makeStringAndClear() ) ) + if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, aStrBuf.makeStringAndClear(), + SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY ) ) fp = ( ScAbstractDialogFactory* (__LOADONCALLAPI*)() ) aDialogLibrary.getFunctionSymbol( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateDialogFactory")) ); if ( fp ) diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 21becd519..901810bb8 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -2086,7 +2086,7 @@ ScFormatFilterPlugin &ScFormatFilter::Get() ::rtl::OUString sFilterLib(RTL_CONSTASCII_USTRINGPARAM(SVLIBRARY("scfilt"))); static ::osl::Module aModule; - bool bLoaded = aModule.loadRelative(&thisModule, sFilterLib); + bool bLoaded = aModule.loadRelative(&thisModule, sFilterLib, SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY); if (!bLoaded) bLoaded = aModule.load(sFilterLib); if (bLoaded) |