diff --git a/sd/inc/randomnode.hxx b/sd/inc/randomnode.hxx index 4496fd97e71d..83cb52b44c38 100644 --- a/sd/inc/randomnode.hxx +++ b/sd/inc/randomnode.hxx @@ -24,8 +24,8 @@ namespace sd { -css::uno::Reference RandomAnimationNode_createInstance( - sal_Int16 nPresetClass); +SD_DLLPUBLIC css::uno::Reference +RandomAnimationNode_createInstance(sal_Int16 nPresetClass); } diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx index 830694fea882..a2451abbbf78 100644 --- a/sd/source/ui/unoidl/randomnode.cxx +++ b/sd/source/ui/unoidl/randomnode.cxx @@ -156,7 +156,7 @@ private: -SD_DLLPUBLIC Reference< XInterface > RandomAnimationNode_createInstance( sal_Int16 nPresetClass ) +Reference< XInterface > RandomAnimationNode_createInstance( sal_Int16 nPresetClass ) { Reference< XInterface > xInt( static_cast( new RandomAnimationNode( nPresetClass ) ) ); return xInt;