diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-04-06 22:54:24 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-04-06 23:55:14 +0200 |
commit | bce7ec0c5758b0fbaabb72a83cf4d7b240bce9ee (patch) | |
tree | 71302e097019d5ca4ccff36feaa7530e734eefb7 /include/drawinglayer | |
parent | loplugin:unusedvariableplus in xmloff (diff) | |
download | core-bce7ec0c5758b0fbaabb72a83cf4d7b240bce9ee.tar.gz core-bce7ec0c5758b0fbaabb72a83cf4d7b240bce9ee.zip |
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@gmail.com>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r-- | include/drawinglayer/primitive2d/polygonprimitive2d.hxx | 45 |
1 files changed, 2 insertions, 43 deletions
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: */ |