summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/ShadowOverlayObject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/ShadowOverlayObject.cxx')
-rw-r--r--sw/source/uibase/docvw/ShadowOverlayObject.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/ShadowOverlayObject.cxx b/sw/source/uibase/docvw/ShadowOverlayObject.cxx
index 374d26231310..584af296928b 100644
--- a/sw/source/uibase/docvw/ShadowOverlayObject.cxx
+++ b/sw/source/uibase/docvw/ShadowOverlayObject.cxx
@@ -32,6 +32,8 @@ namespace sw { namespace sidebarwindows {
// helper SwPostItShadowPrimitive
+namespace {
+
// Used to allow view-dependent primitive definition. For that purpose, the
// initially created primitive (this one) always has to be view-independent,
// but the decomposition is made view-dependent. Very simple primitive which
@@ -67,6 +69,8 @@ public:
DeclPrimitive2DIDBlock()
};
+}
+
void ShadowPrimitive::create2DDecomposition(
drawinglayer::primitive2d::Primitive2DContainer& rContainer,
const drawinglayer::geometry::ViewInformation2D& /*rViewInformation*/) const