summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 13:56:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 13:47:45 +0100
commitaee42a7bf199ce537273184428a892e74d7deea7 (patch)
treeebcb2f526fbc8d910c3e3a4638f7af344d038ff2 /drawinglayer/source/primitive2d/helplineprimitive2d.cxx
parent4a8d86d490743022699b3333fe1a053cae63a1d3 (diff)
clang-tidy modernize-concat-nested-namespace in drawinglayer
Change-Id: If2644743ab0d9b78d42d1d2fe6fa22c83472d2c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87065 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d/helplineprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/helplineprimitive2d.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/drawinglayer/source/primitive2d/helplineprimitive2d.cxx b/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
index 652447924c84..735b1e2785e2 100644
--- a/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
@@ -28,10 +28,8 @@
using namespace com::sun::star;
-namespace drawinglayer
+namespace drawinglayer::primitive2d
{
- namespace primitive2d
- {
void HelplinePrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const
{
if(!rViewInformation.getViewport().isEmpty() && !getDirection().equalZero())
@@ -188,7 +186,6 @@ namespace drawinglayer
// provide unique ID
ImplPrimitive2DIDBlock(HelplinePrimitive2D, PRIMITIVE2D_ID_HELPLINEPRIMITIVE2D)
- } // end of namespace primitive2d
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */