summaryrefslogtreecommitdiff
path: root/drawinglayer/source/attribute
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/attribute
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/attribute')
-rw-r--r--drawinglayer/source/attribute/fillgradientattribute.cxx7
-rw-r--r--drawinglayer/source/attribute/fillgraphicattribute.cxx7
-rw-r--r--drawinglayer/source/attribute/fillhatchattribute.cxx7
-rw-r--r--drawinglayer/source/attribute/fontattribute.cxx7
-rw-r--r--drawinglayer/source/attribute/lineattribute.cxx7
-rw-r--r--drawinglayer/source/attribute/linestartendattribute.cxx8
-rw-r--r--drawinglayer/source/attribute/materialattribute3d.cxx8
-rw-r--r--drawinglayer/source/attribute/sdrallattribute3d.cxx8
-rw-r--r--drawinglayer/source/attribute/sdrfillattribute.cxx8
-rw-r--r--drawinglayer/source/attribute/sdrfillgraphicattribute.cxx8
-rw-r--r--drawinglayer/source/attribute/sdrlightattribute3d.cxx7
-rw-r--r--drawinglayer/source/attribute/sdrlightingattribute3d.cxx8
-rw-r--r--drawinglayer/source/attribute/sdrlineattribute.cxx7
-rw-r--r--drawinglayer/source/attribute/sdrlinestartendattribute.cxx8
-rw-r--r--drawinglayer/source/attribute/sdrobjectattribute3d.cxx7
-rw-r--r--drawinglayer/source/attribute/sdrsceneattribute3d.cxx7
-rw-r--r--drawinglayer/source/attribute/sdrshadowattribute.cxx8
-rw-r--r--drawinglayer/source/attribute/strokeattribute.cxx8
18 files changed, 45 insertions, 90 deletions
diff --git a/drawinglayer/source/attribute/fillgradientattribute.cxx b/drawinglayer/source/attribute/fillgradientattribute.cxx
index e4931abab825..fe38a07d41ac 100644
--- a/drawinglayer/source/attribute/fillgradientattribute.cxx
+++ b/drawinglayer/source/attribute/fillgradientattribute.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpFillGradientAttribute
{
public:
@@ -183,7 +181,6 @@ namespace drawinglayer
return mpFillGradientAttribute->getSteps();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/fillgraphicattribute.cxx b/drawinglayer/source/attribute/fillgraphicattribute.cxx
index 11e40a3fd50c..fa9b4fd57138 100644
--- a/drawinglayer/source/attribute/fillgraphicattribute.cxx
+++ b/drawinglayer/source/attribute/fillgraphicattribute.cxx
@@ -24,10 +24,8 @@
#include <drawinglayer/attribute/fillgraphicattribute.hxx>
#include <vcl/graph.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpFillGraphicAttribute
{
public:
@@ -152,7 +150,6 @@ namespace drawinglayer
return mpFillGraphicAttribute->getOffsetY();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/fillhatchattribute.cxx b/drawinglayer/source/attribute/fillhatchattribute.cxx
index 03399892ddbf..69dd76c53d97 100644
--- a/drawinglayer/source/attribute/fillhatchattribute.cxx
+++ b/drawinglayer/source/attribute/fillhatchattribute.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpFillHatchAttribute
{
public:
@@ -162,7 +160,6 @@ namespace drawinglayer
return mpFillHatchAttribute->isFillBackground();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx
index 37b73bf2bc4a..33903003f8c7 100644
--- a/drawinglayer/source/attribute/fontattribute.cxx
+++ b/drawinglayer/source/attribute/fontattribute.cxx
@@ -22,10 +22,8 @@
#include <rtl/ustring.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpFontAttribute
{
public:
@@ -200,7 +198,6 @@ namespace drawinglayer
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/lineattribute.cxx b/drawinglayer/source/attribute/lineattribute.cxx
index 8aee1dab9427..48d1f73380eb 100644
--- a/drawinglayer/source/attribute/lineattribute.cxx
+++ b/drawinglayer/source/attribute/lineattribute.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpLineAttribute
{
public:
@@ -148,7 +146,6 @@ namespace drawinglayer
return mpLineAttribute->getMiterMinimumAngle();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/linestartendattribute.cxx b/drawinglayer/source/attribute/linestartendattribute.cxx
index 1779b1e44148..dcfa94f35c39 100644
--- a/drawinglayer/source/attribute/linestartendattribute.cxx
+++ b/drawinglayer/source/attribute/linestartendattribute.cxx
@@ -23,10 +23,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpLineStartEndAttribute
{
public:
@@ -127,7 +125,7 @@ namespace drawinglayer
&& 0 != getB2DPolyPolygon().count()
&& 0 != getB2DPolyPolygon().getB2DPolygon(0).count());
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/materialattribute3d.cxx b/drawinglayer/source/attribute/materialattribute3d.cxx
index 7172dec3d89d..f9473b480337 100644
--- a/drawinglayer/source/attribute/materialattribute3d.cxx
+++ b/drawinglayer/source/attribute/materialattribute3d.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpMaterialAttribute3D
{
public:
@@ -131,7 +129,7 @@ namespace drawinglayer
{
return mpMaterialAttribute3D->getSpecularIntensity();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrallattribute3d.cxx b/drawinglayer/source/attribute/sdrallattribute3d.cxx
index 315dfc5cc967..079f655796d9 100644
--- a/drawinglayer/source/attribute/sdrallattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrallattribute3d.cxx
@@ -20,10 +20,8 @@
#include <drawinglayer/attribute/sdrallattribute3d.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
SdrLineFillShadowAttribute3D::SdrLineFillShadowAttribute3D(
const SdrLineAttribute& rLine,
const SdrFillAttribute& rFill,
@@ -55,7 +53,7 @@ namespace drawinglayer
&& getShadow() == rCandidate.getShadow()
&& getFillFloatTransGradient() == rCandidate.getFillFloatTransGradient());
}
- } // end of namespace overlay
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrfillattribute.cxx b/drawinglayer/source/attribute/sdrfillattribute.cxx
index e39dfcc02370..393df42637c5 100644
--- a/drawinglayer/source/attribute/sdrfillattribute.cxx
+++ b/drawinglayer/source/attribute/sdrfillattribute.cxx
@@ -25,10 +25,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrFillAttribute
{
public:
@@ -151,7 +149,7 @@ namespace drawinglayer
{
return mpSdrFillAttribute->getFillGraphic();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
index b88b2a9a31a5..a00c45521e17 100644
--- a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
+++ b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
@@ -27,10 +27,8 @@
#include <vcl/graph.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrFillGraphicAttribute
{
public:
@@ -304,7 +302,7 @@ namespace drawinglayer
fOffsetX,
fOffsetY);
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrlightattribute3d.cxx b/drawinglayer/source/attribute/sdrlightattribute3d.cxx
index 6f33b0c1c044..56f0b384129a 100644
--- a/drawinglayer/source/attribute/sdrlightattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrlightattribute3d.cxx
@@ -23,10 +23,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdr3DLightAttribute
{
public:
@@ -100,7 +98,6 @@ namespace drawinglayer
return mpSdr3DLightAttribute->getSpecular();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrlightingattribute3d.cxx b/drawinglayer/source/attribute/sdrlightingattribute3d.cxx
index 0de72b179b88..93b4cf4cec0a 100644
--- a/drawinglayer/source/attribute/sdrlightingattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrlightingattribute3d.cxx
@@ -24,10 +24,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrLightingAttribute
{
public:
@@ -163,7 +161,7 @@ namespace drawinglayer
return aRetval;
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrlineattribute.cxx b/drawinglayer/source/attribute/sdrlineattribute.cxx
index 5b13d37599d2..257d934d83bd 100644
--- a/drawinglayer/source/attribute/sdrlineattribute.cxx
+++ b/drawinglayer/source/attribute/sdrlineattribute.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrLineAttribute
{
public:
@@ -178,7 +176,6 @@ namespace drawinglayer
return mpSdrLineAttribute->getCap();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrlinestartendattribute.cxx b/drawinglayer/source/attribute/sdrlinestartendattribute.cxx
index b890132f39b6..c0a88b6f8c0b 100644
--- a/drawinglayer/source/attribute/sdrlinestartendattribute.cxx
+++ b/drawinglayer/source/attribute/sdrlinestartendattribute.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrLineStartEndAttribute
{
public:
@@ -183,7 +181,7 @@ namespace drawinglayer
{
return mpSdrLineStartEndAttribute->isEndCentered();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
index bc20ecaab087..78e919d9ab3f 100644
--- a/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrobjectattribute3d.cxx
@@ -22,10 +22,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdr3DObjectAttribute
{
public:
@@ -188,7 +186,6 @@ namespace drawinglayer
return mpSdr3DObjectAttribute->getReducedLineGeometry();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrsceneattribute3d.cxx b/drawinglayer/source/attribute/sdrsceneattribute3d.cxx
index 494edcb525b6..128abf2027cf 100644
--- a/drawinglayer/source/attribute/sdrsceneattribute3d.cxx
+++ b/drawinglayer/source/attribute/sdrsceneattribute3d.cxx
@@ -21,10 +21,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrSceneAttribute
{
public:
@@ -142,7 +140,6 @@ namespace drawinglayer
return mpSdrSceneAttribute->getTwoSidedLighting();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/sdrshadowattribute.cxx b/drawinglayer/source/attribute/sdrshadowattribute.cxx
index 0075cf4c2ba7..29e2e6f8bbb4 100644
--- a/drawinglayer/source/attribute/sdrshadowattribute.cxx
+++ b/drawinglayer/source/attribute/sdrshadowattribute.cxx
@@ -23,10 +23,8 @@
#include <rtl/instance.hxx>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpSdrShadowAttribute
{
public:
@@ -124,7 +122,7 @@ namespace drawinglayer
{
return mpSdrShadowAttribute->getColor();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/attribute/strokeattribute.cxx b/drawinglayer/source/attribute/strokeattribute.cxx
index 34324b6e0fda..493c906ba91b 100644
--- a/drawinglayer/source/attribute/strokeattribute.cxx
+++ b/drawinglayer/source/attribute/strokeattribute.cxx
@@ -22,10 +22,8 @@
#include <numeric>
-namespace drawinglayer
+namespace drawinglayer::attribute
{
- namespace attribute
- {
class ImpStrokeAttribute
{
public:
@@ -120,7 +118,7 @@ namespace drawinglayer
{
return mpStrokeAttribute->getFullDotDashLen();
}
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */