summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive2d
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-05-08 20:37:06 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-05-09 21:11:58 +0200
commit3ad2c4ee8185dfa73f6afe383825de385537bc70 (patch)
treeadcd4bbc01d089a83af38bedb23f7243c05b19c1 /include/drawinglayer/primitive2d
parent3e4c31ad4009389cb4350a169d505bbb3f11a402 (diff)
drawinglayer: clean-up namespaces in primitivetools2d.hxx
Change-Id: I766c5deba22f93824b5c13908a549ea0980c3aa7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93830 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/drawinglayer/primitive2d')
-rw-r--r--include/drawinglayer/primitive2d/primitivetools2d.hxx28
1 files changed, 2 insertions, 26 deletions
diff --git a/include/drawinglayer/primitive2d/primitivetools2d.hxx b/include/drawinglayer/primitive2d/primitivetools2d.hxx
index 8a368ae301c0..db22a59b0eee 100644
--- a/include/drawinglayer/primitive2d/primitivetools2d.hxx
+++ b/include/drawinglayer/primitive2d/primitivetools2d.hxx
@@ -25,10 +25,8 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
-namespace drawinglayer
+namespace drawinglayer::primitive2d
{
- namespace primitive2d
- {
/** DiscreteMetricDependentPrimitive2D class
tooling class for BufferedDecompositionPrimitive2D based classes which are view-dependent
@@ -59,14 +57,7 @@ namespace drawinglayer
/// Override standard getDecomposition to be view-dependent here
virtual void get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, const geometry::ViewInformation2D& rViewInformation) const override;
};
- } // end of namespace primitive2d
-} // end of namespace drawinglayer
-
-namespace drawinglayer
-{
- namespace primitive2d
- {
/** ViewportDependentPrimitive2D class
tooling class for BufferedDecompositionPrimitive2D based classes which are view-dependent
@@ -97,14 +88,7 @@ namespace drawinglayer
/// Override standard getDecomposition to be view-dependent here
virtual void get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, const geometry::ViewInformation2D& rViewInformation) const override;
};
- } // end of namespace primitive2d
-} // end of namespace drawinglayer
-
-namespace drawinglayer
-{
- namespace primitive2d
- {
/** ViewTransformationDependentPrimitive2D class
tooling class for BufferedDecompositionPrimitive2D based classes which are view-dependent
@@ -135,14 +119,7 @@ namespace drawinglayer
/// Override standard getDecomposition to be view-dependent here
virtual void get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, const geometry::ViewInformation2D& rViewInformation) const override;
};
- } // end of namespace primitive2d
-} // end of namespace drawinglayer
-
-namespace drawinglayer
-{
- namespace primitive2d
- {
/** ObjectAndViewTransformationDependentPrimitive2D class
tooling class for BufferedDecompositionPrimitive2D based classes which are view-dependent
@@ -177,7 +154,6 @@ namespace drawinglayer
/// Override standard getDecomposition to be view-dependent here
virtual void get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, const geometry::ViewInformation2D& rViewInformation) const override;
};
- } // end of namespace primitive2d
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::primitive2d
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */