diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index de6f63887f02..6f89a6bc5a80 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -29,6 +29,7 @@ #include #include +#include #include #include "flyenum.hxx" @@ -44,7 +45,7 @@ class SfxItemPropertySet; namespace com::sun::star::frame { class XModel; } class BaseFrameProperties_Impl; -class SwXFrame : public cppu::WeakImplHelper +class SAL_DLLPUBLIC_RTTI SwXFrame : public cppu::WeakImplHelper < css::lang::XServiceInfo, css::lang::XUnoTunnel, @@ -171,7 +172,7 @@ typedef cppu::ImplInheritanceHelper > SwXTextFrameBaseClass; -class SwXTextFrame final : public SwXTextFrameBaseClass, +class SAL_DLLPUBLIC_RTTI SwXTextFrame final : public SwXTextFrameBaseClass, public SwXText { friend class SwXFrame; // just for CreateXFrame diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index 14d61a5486dc..8bc221b7fa63 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -27,6 +27,7 @@ #include #include #include +#include #include "unobaseclass.hxx" @@ -41,7 +42,7 @@ class SwDoc; class SwStartNode; class SwPaM; -class SwXText +class SAL_DLLPUBLIC_RTTI SwXText : public css::lang::XTypeProvider , public css::lang::XUnoTunnel , public css::beans::XPropertySet