[Libreoffice-commits] core.git: include/drawinglayer

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 6 21:55:49 UTC 2020


 include/drawinglayer/primitive2d/polygonprimitive2d.hxx |   45 ----------------
 1 file changed, 2 insertions(+), 43 deletions(-)

New commits:
commit bce7ec0c5758b0fbaabb72a83cf4d7b240bce9ee
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Apr 6 22:54:24 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Apr 6 23:55:14 2020 +0200

    cleanup namespaces in polygonprimitive2d.hxx
    
    Change-Id: Icfdb9e4965129b39de7f1d580cd230bcd5a4bb47
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91786
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/drawinglayer/primitive2d/polygonprimitive2d.hxx b/include/drawinglayer/primitive2d/polygonprimitive2d.hxx
index 07e4364c2135..4ccbcb2e7f7a 100644
--- a/include/drawinglayer/primitive2d/polygonprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/polygonprimitive2d.hxx
@@ -30,12 +30,8 @@
 #include <basegfx/color/bcolor.hxx>
 
 
-// PolygonHairlinePrimitive2D class
-
-namespace drawinglayer
+namespace drawinglayer::primitive2d
 {
-    namespace primitive2d
-    {
         /** PolygonHairlinePrimitive2D class
 
             This primitive defines a Hairline. Since hairlines are view-dependent,
@@ -72,16 +68,7 @@ namespace drawinglayer
             /// provide unique ID
             virtual sal_uInt32 getPrimitive2DID() const override;
         };
-    } // end of namespace primitive2d
-} // end of namespace drawinglayer
-
 
-// PolygonMarkerPrimitive2D class
-
-namespace drawinglayer
-{
-    namespace primitive2d
-    {
         /** PolygonMarkerPrimitive2D class
 
             This primitive defines a two-colored marker hairline which is
@@ -136,16 +123,7 @@ namespace drawinglayer
             /// provide unique ID
             virtual sal_uInt32 getPrimitive2DID() const override;
         };
-    } // end of namespace primitive2d
-} // end of namespace drawinglayer
 
-
-// PolygonStrokePrimitive2D class
-
-namespace drawinglayer
-{
-    namespace primitive2d
-    {
         /** PolygonStrokePrimitive2D class
 
             This primitive defines a line with line width, line join, line color
@@ -194,16 +172,7 @@ namespace drawinglayer
             /// provide unique ID
             virtual sal_uInt32 getPrimitive2DID() const override;
         };
-    } // end of namespace primitive2d
-} // end of namespace drawinglayer
 
-
-// PolygonWavePrimitive2D class
-
-namespace drawinglayer
-{
-    namespace primitive2d
-    {
         /** PolygonWavePrimitive2D class
 
             This primitive defines a waveline based on a PolygonStrokePrimitive2D
@@ -248,16 +217,7 @@ namespace drawinglayer
             /// provide unique ID
             virtual sal_uInt32 getPrimitive2DID() const override;
         };
-    } // end of namespace primitive2d
-} // end of namespace drawinglayer
 
-
-// PolygonStrokeArrowPrimitive2D class
-
-namespace drawinglayer
-{
-    namespace primitive2d
-    {
         /** PolygonStrokeArrowPrimitive2D class
 
             This primitive defines a PolygonStrokePrimitive2D,
@@ -303,8 +263,7 @@ namespace drawinglayer
             /// provide unique ID
             virtual sal_uInt32 getPrimitive2DID() const override;
         };
-    } // end of namespace primitive2d
-} // end of namespace drawinglayer
+} // end of namespace primitive2d::drawinglayer
 
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list