diff options
-rw-r--r-- | sw/inc/swmodule.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/inc/drawfont.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/frame.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/swfont.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 8 |
5 files changed, 16 insertions, 3 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index f6bdea0d22d9..35d58c62c98b 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -258,6 +258,11 @@ inline ::com::sun::star::uno::Reference< SW_DLLPUBLIC SwView* GetActiveView(); SW_DLLPUBLIC SwWrtShell* GetActiveWrtShell(); +namespace sw +{ +SW_DLLPUBLIC Color* GetActiveRetoucheColor(); +} + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx index 7d36258c8a50..b751fc101b13 100644 --- a/sw/source/core/inc/drawfont.hxx +++ b/sw/source/core/inc/drawfont.hxx @@ -40,7 +40,7 @@ namespace vcl { class SwUnderlineFont; // encapsulates information for drawing text -class SwDrawTextInfo +class SW_DLLPUBLIC SwDrawTextInfo { const SwTextFrm* pFrm; VclPtr<OutputDevice> pOut; diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 58df49f40f11..bdfb9a62b7ac 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -213,7 +213,7 @@ namespace drawinglayer { namespace attribute { * level: pages, headers, footers, etc. (Inside a paragraph SwLinePortion * instances are used.) */ -class SwFrm: public SwClient, public SfxBroadcaster +class SW_DLLPUBLIC SwFrm: public SwClient, public SfxBroadcaster { // the hidden Frm friend class SwFlowFrm; diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index e9c96e137bb3..70a0acabc743 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -123,7 +123,7 @@ public: #define SW_CTL 2 #define SW_SCRIPTS 3 -class SwFont +class SW_DLLPUBLIC SwFont { // CJK == Chinese, Japanese, Korean // CTL == Complex text layout ( Hebrew, Arabic ) diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index e4482e878c1b..748fe0ae47b9 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -235,6 +235,14 @@ const static double aEdgeScale = 0.5; //To optimize the expensive RetouchColor determination Color aGlobalRetoucheColor; +namespace sw +{ +Color* GetActiveRetoucheColor() +{ + return &aGlobalRetoucheColor; +} +} + /** * Container for static properties */ |