diff options
Diffstat (limited to 'sd/source/ui/dlg/sduiexp.cxx')
-rw-r--r-- | sd/source/ui/dlg/sduiexp.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sd/source/ui/dlg/sduiexp.cxx b/sd/source/ui/dlg/sduiexp.cxx index 14a4351ba06b..62901c70d0aa 100644 --- a/sd/source/ui/dlg/sduiexp.cxx +++ b/sd/source/ui/dlg/sduiexp.cxx @@ -22,13 +22,12 @@ class SdAbstractDialogFactory; -extern "C" +extern "C" { +SAL_DLLPUBLIC_EXPORT SdAbstractDialogFactory* SdCreateDialogFactory() { - SAL_DLLPUBLIC_EXPORT SdAbstractDialogFactory* SdCreateDialogFactory() - { - static SdAbstractDialogFactory_Impl aFactory; - return &aFactory; - } + static SdAbstractDialogFactory_Impl aFactory; + return &aFactory; +} } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |