diff options
author | Christos Strubulis <strubul@ubuntu.(none)> | 2012-12-09 10:08:10 -0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-12-10 21:38:28 +0000 |
commit | c13ad097fb224a2fd110234db7a60f133735dfa6 (patch) | |
tree | f3851afc849ff74a3defdef560e2f8738a082614 /vcl/source/window/abstdlg.cxx | |
parent | e7e4d6778661d039d6ee9cba1da1a22cea542f3e (diff) |
Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
Diffstat (limited to 'vcl/source/window/abstdlg.cxx')
-rw-r--r-- | vcl/source/window/abstdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/abstdlg.cxx b/vcl/source/window/abstdlg.cxx index f5dcef742ad9..f2a8cb64d0d9 100644 --- a/vcl/source/window/abstdlg.cxx +++ b/vcl/source/window/abstdlg.cxx @@ -23,7 +23,7 @@ #include <osl/module.hxx> #include <tools/string.hxx> -typedef VclAbstractDialogFactory* (__LOADONCALLAPI *FuncPtrCreateDialogFactory)(); +typedef VclAbstractDialogFactory* (SAL_CALL *FuncPtrCreateDialogFactory)(); #ifndef DISABLE_DYNLOADING extern "C" { static void SAL_CALL thisModule() {} } @@ -38,7 +38,7 @@ VclAbstractDialogFactory* VclAbstractDialogFactory::Create() static ::osl::Module aDialogLibrary; if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, String( CUI_DLL_NAME ), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY ) ) - fp = ( VclAbstractDialogFactory* (__LOADONCALLAPI*)() ) + fp = ( VclAbstractDialogFactory* (SAL_CALL*)() ) aDialogLibrary.getFunctionSymbol( ::rtl::OUString("CreateDialogFactory") ); #else fp = CreateDialogFactory; |