[Libreoffice-commits] core.git: include/drawinglayer
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Sat May 9 19:12:42 UTC 2020
include/drawinglayer/primitive2d/primitivetools2d.hxx | 28 +-----------------
1 file changed, 2 insertions(+), 26 deletions(-)
New commits:
commit 3ad2c4ee8185dfa73f6afe383825de385537bc70
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Fri May 8 20:37:06 2020 +0200
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sat May 9 21:11:58 2020 +0200
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 at gmail.com>
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: */
More information about the Libreoffice-commits
mailing list