summaryrefslogtreecommitdiff
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-16 18:11:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-16 20:36:17 +0200
commit1ebe85bc1fc6cf2adeb05aac78749806e20a71c2 (patch)
tree8fdd91bd58ce406605d6676c09b933af2273e79b /include/drawinglayer
parent41e524b4b83abd83db9091437a9b514c49ff161d (diff)
compact namespace: drawinglayer
Change-Id: I32648ae81c4a06f944b70c0cca1694333ec02859 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98916 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/animation/animationtiming.hxx7
-rw-r--r--include/drawinglayer/attribute/fillgradientattribute.hxx16
-rw-r--r--include/drawinglayer/attribute/fillgraphicattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/fillhatchattribute.hxx16
-rw-r--r--include/drawinglayer/attribute/linestartendattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/materialattribute3d.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrallattribute3d.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrfillattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrfillgraphicattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrglowattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrlightattribute3d.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrlightingattribute3d.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrlineattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrlinestartendattribute.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrobjectattribute3d.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrsceneattribute3d.hxx8
-rw-r--r--include/drawinglayer/attribute/sdrshadowattribute.hxx8
-rw-r--r--include/drawinglayer/geometry/viewinformation3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/baseprimitive3d.hxx23
-rw-r--r--include/drawinglayer/primitive3d/groupprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/polygonprimitive3d.hxx16
-rw-r--r--include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/sdrcubeprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx7
-rw-r--r--include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/sdrpolypolygonprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/sdrsphereprimitive3d.hxx8
-rw-r--r--include/drawinglayer/primitive3d/transformprimitive3d.hxx8
-rw-r--r--include/drawinglayer/processor2d/baseprocessor2d.hxx8
-rw-r--r--include/drawinglayer/processor2d/contourextractor2d.hxx8
-rw-r--r--include/drawinglayer/processor2d/hittestprocessor2d.hxx8
-rw-r--r--include/drawinglayer/processor2d/linegeometryextractor2d.hxx8
-rw-r--r--include/drawinglayer/processor2d/objectinfoextractor2d.hxx8
-rw-r--r--include/drawinglayer/processor2d/processor2dtools.hxx8
-rw-r--r--include/drawinglayer/processor2d/processorfromoutputdevice.hxx7
-rw-r--r--include/drawinglayer/processor2d/textaspolygonextractor2d.hxx8
-rw-r--r--include/drawinglayer/processor3d/baseprocessor3d.hxx8
-rw-r--r--include/drawinglayer/processor3d/cutfindprocessor3d.hxx8
40 files changed, 131 insertions, 225 deletions
diff --git a/include/drawinglayer/animation/animationtiming.hxx b/include/drawinglayer/animation/animationtiming.hxx
index 6925994d8f61..c92639b99ca8 100644
--- a/include/drawinglayer/animation/animationtiming.hxx
+++ b/include/drawinglayer/animation/animationtiming.hxx
@@ -26,9 +26,7 @@
#include <memory>
-namespace drawinglayer
-{
- namespace animation
+namespace drawinglayer::animation
{
@@ -126,8 +124,7 @@ namespace drawinglayer
};
- } // end of namespace animation
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::animation
#endif //INCLUDED_DRAWINGLAYER_ANIMATION_ANIMATIONTIMING_HXX
diff --git a/include/drawinglayer/attribute/fillgradientattribute.hxx b/include/drawinglayer/attribute/fillgradientattribute.hxx
index a994c826f48b..7363eb4bad89 100644
--- a/include/drawinglayer/attribute/fillgradientattribute.hxx
+++ b/include/drawinglayer/attribute/fillgradientattribute.hxx
@@ -35,9 +35,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
enum class GradientStyle
{
@@ -48,13 +46,11 @@ namespace drawinglayer
Square,
Rect
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::attribute
-namespace drawinglayer
-{
- namespace attribute
+
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC FillGradientAttribute
{
@@ -98,8 +94,8 @@ namespace drawinglayer
const basegfx::BColor& getEndColor() const;
sal_uInt16 getSteps() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_FILLGRADIENTATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/fillgraphicattribute.hxx b/include/drawinglayer/attribute/fillgraphicattribute.hxx
index 2cec83c68962..380ae0742c3c 100644
--- a/include/drawinglayer/attribute/fillgraphicattribute.hxx
+++ b/include/drawinglayer/attribute/fillgraphicattribute.hxx
@@ -36,9 +36,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC FillGraphicAttribute
{
@@ -73,8 +71,8 @@ namespace drawinglayer
double getOffsetX() const;
double getOffsetY() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_FILLGRAPHICATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/fillhatchattribute.hxx b/include/drawinglayer/attribute/fillhatchattribute.hxx
index 7c2f819f0ac1..e3c4c278929e 100644
--- a/include/drawinglayer/attribute/fillhatchattribute.hxx
+++ b/include/drawinglayer/attribute/fillhatchattribute.hxx
@@ -35,9 +35,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
enum class HatchStyle
{
@@ -45,13 +43,11 @@ namespace drawinglayer
Double,
Triple
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::attribute
-namespace drawinglayer
-{
- namespace attribute
+
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC FillHatchAttribute
{
@@ -103,8 +99,8 @@ namespace drawinglayer
bool isFillBackground() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_FILLHATCHATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/linestartendattribute.hxx b/include/drawinglayer/attribute/linestartendattribute.hxx
index 9f87e6cb7ecf..bceeb378eec4 100644
--- a/include/drawinglayer/attribute/linestartendattribute.hxx
+++ b/include/drawinglayer/attribute/linestartendattribute.hxx
@@ -35,9 +35,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC LineStartEndAttribute
{
@@ -70,8 +68,8 @@ namespace drawinglayer
bool isCentered() const;
bool isActive() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_LINESTARTENDATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/materialattribute3d.hxx b/include/drawinglayer/attribute/materialattribute3d.hxx
index 4eddfea25109..07c11e3026fb 100644
--- a/include/drawinglayer/attribute/materialattribute3d.hxx
+++ b/include/drawinglayer/attribute/materialattribute3d.hxx
@@ -35,9 +35,7 @@ namespace basegfx {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC MaterialAttribute3D
{
@@ -71,8 +69,8 @@ namespace drawinglayer
const basegfx::BColor& getEmission() const;
sal_uInt16 getSpecularIntensity() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_MATERIALATTRIBUTE3D_HXX
diff --git a/include/drawinglayer/attribute/sdrallattribute3d.hxx b/include/drawinglayer/attribute/sdrallattribute3d.hxx
index b75b006e14fe..d0b1101aa589 100644
--- a/include/drawinglayer/attribute/sdrallattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrallattribute3d.hxx
@@ -32,9 +32,7 @@
// predefines
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrLineFillShadowAttribute3D
{
@@ -64,8 +62,8 @@ namespace drawinglayer
const SdrShadowAttribute& getShadow() const { return maShadow; }
const FillGradientAttribute& getFillFloatTransGradient() const { return maFillFloatTransGradient; }
};
- } // end of namespace overlay
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::overlay
#endif // INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRALLATTRIBUTE3D_HXX
diff --git a/include/drawinglayer/attribute/sdrfillattribute.hxx b/include/drawinglayer/attribute/sdrfillattribute.hxx
index 7801f04123d6..93fc7ca8541c 100644
--- a/include/drawinglayer/attribute/sdrfillattribute.hxx
+++ b/include/drawinglayer/attribute/sdrfillattribute.hxx
@@ -38,9 +38,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrFillAttribute
{
@@ -78,8 +76,8 @@ namespace drawinglayer
const FillHatchAttribute& getHatch() const;
const SdrFillGraphicAttribute& getFillGraphic() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRFILLATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx
index 281733132d31..4a39313d10aa 100644
--- a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx
+++ b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx
@@ -38,9 +38,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrFillGraphicAttribute
{
@@ -87,8 +85,8 @@ namespace drawinglayer
// FillGraphicAttribute generator
FillGraphicAttribute createFillGraphicAttribute(const basegfx::B2DRange& rRange) const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRFILLGRAPHICATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/sdrglowattribute.hxx b/include/drawinglayer/attribute/sdrglowattribute.hxx
index 8dbbdbb98431..156beccc39e7 100644
--- a/include/drawinglayer/attribute/sdrglowattribute.hxx
+++ b/include/drawinglayer/attribute/sdrglowattribute.hxx
@@ -13,9 +13,7 @@
#include <drawinglayer/drawinglayerdllapi.h>
#include <tools/color.hxx>
-namespace drawinglayer
-{
-namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrGlowAttribute
{
@@ -39,8 +37,8 @@ public:
sal_Int32 getRadius() const { return m_nRadius; }
bool isDefault() const { return m_nRadius == 0; }
};
-} // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRGLOWATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/sdrlightattribute3d.hxx b/include/drawinglayer/attribute/sdrlightattribute3d.hxx
index 06d024f5b9d4..b3c1fcaaabae 100644
--- a/include/drawinglayer/attribute/sdrlightattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrlightattribute3d.hxx
@@ -36,9 +36,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC Sdr3DLightAttribute
{
@@ -68,8 +66,8 @@ namespace drawinglayer
const basegfx::B3DVector& getDirection() const;
bool getSpecular() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRLIGHTATTRIBUTE3D_HXX
diff --git a/include/drawinglayer/attribute/sdrlightingattribute3d.hxx b/include/drawinglayer/attribute/sdrlightingattribute3d.hxx
index 35a4da1c65a8..95ef197b98fd 100644
--- a/include/drawinglayer/attribute/sdrlightingattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrlightingattribute3d.hxx
@@ -39,9 +39,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrLightingAttribute
{
@@ -78,8 +76,8 @@ namespace drawinglayer
const basegfx::BColor& rColor, const basegfx::BColor& rSpecular,
const basegfx::BColor& rEmission, sal_uInt16 nSpecularIntensity) const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRLIGHTINGATTRIBUTE3D_HXX
diff --git a/include/drawinglayer/attribute/sdrlineattribute.hxx b/include/drawinglayer/attribute/sdrlineattribute.hxx
index f0ea867b6616..e638c2fd38ee 100644
--- a/include/drawinglayer/attribute/sdrlineattribute.hxx
+++ b/include/drawinglayer/attribute/sdrlineattribute.hxx
@@ -38,9 +38,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrLineAttribute
{
@@ -82,8 +80,8 @@ namespace drawinglayer
double getFullDotDashLen() const;
css::drawing::LineCap getCap() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRLINEATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/sdrlinestartendattribute.hxx b/include/drawinglayer/attribute/sdrlinestartendattribute.hxx
index e3a90ac6f372..afcf1fd6d369 100644
--- a/include/drawinglayer/attribute/sdrlinestartendattribute.hxx
+++ b/include/drawinglayer/attribute/sdrlinestartendattribute.hxx
@@ -35,9 +35,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrLineStartEndAttribute
{
@@ -81,8 +79,8 @@ namespace drawinglayer
bool isStartCentered() const;
bool isEndCentered() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRLINESTARTENDATTRIBUTE_HXX
diff --git a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
index 2e8013dd6d84..0a2889d3ead9 100644
--- a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
@@ -37,9 +37,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC Sdr3DObjectAttribute
{
@@ -85,8 +83,8 @@ namespace drawinglayer
bool getTextureFilter() const;
bool getReducedLineGeometry() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDROBJECTATTRIBUTE3D_HXX
diff --git a/include/drawinglayer/attribute/sdrsceneattribute3d.hxx b/include/drawinglayer/attribute/sdrsceneattribute3d.hxx
index 2fca2acb4038..fa48207d3bcf 100644
--- a/include/drawinglayer/attribute/sdrsceneattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrsceneattribute3d.hxx
@@ -34,9 +34,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrSceneAttribute
{
@@ -73,8 +71,8 @@ namespace drawinglayer
css::drawing::ShadeMode getShadeMode() const;
bool getTwoSidedLighting() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRSCENEATTRIBUTE3D_HXX
diff --git a/include/drawinglayer/attribute/sdrshadowattribute.hxx b/include/drawinglayer/attribute/sdrshadowattribute.hxx
index 789edd459706..ffe249498db2 100644
--- a/include/drawinglayer/attribute/sdrshadowattribute.hxx
+++ b/include/drawinglayer/attribute/sdrshadowattribute.hxx
@@ -36,9 +36,7 @@ namespace drawinglayer::attribute {
}
-namespace drawinglayer
-{
- namespace attribute
+namespace drawinglayer::attribute
{
class DRAWINGLAYER_DLLPUBLIC SdrShadowAttribute
{
@@ -76,8 +74,8 @@ namespace drawinglayer
sal_Int32 getBlur() const;
const basegfx::BColor& getColor() const;
};
- } // end of namespace attribute
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::attribute
#endif //INCLUDED_DRAWINGLAYER_ATTRIBUTE_SDRSHADOWATTRIBUTE_HXX
diff --git a/include/drawinglayer/geometry/viewinformation3d.hxx b/include/drawinglayer/geometry/viewinformation3d.hxx
index 77bcec66cd13..b2510328757b 100644
--- a/include/drawinglayer/geometry/viewinformation3d.hxx
+++ b/include/drawinglayer/geometry/viewinformation3d.hxx
@@ -39,9 +39,7 @@ namespace basegfx {
namespace com::sun::star::beans { struct PropertyValue; }
namespace com::sun::star::uno { template <typename > class Sequence; }
-namespace drawinglayer
-{
- namespace geometry
+namespace drawinglayer::geometry
{
/** ViewInformation3D class
@@ -164,8 +162,8 @@ namespace drawinglayer
*/
const css::uno::Sequence< css::beans::PropertyValue >& getExtendedInformationSequence() const;
};
- } // end of namespace geometry
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::geometry
#endif //INCLUDED_DRAWINGLAYER_GEOMETRY_VIEWINFORMATION3D_HXX
diff --git a/include/drawinglayer/primitive3d/baseprimitive3d.hxx b/include/drawinglayer/primitive3d/baseprimitive3d.hxx
index 9e8913799a71..0129db53f2cf 100644
--- a/include/drawinglayer/primitive3d/baseprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/baseprimitive3d.hxx
@@ -76,9 +76,7 @@ namespace drawinglayer::primitive3d {
// basePrimitive3D class
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** BasePrimitive3D class
@@ -141,15 +139,13 @@ namespace drawinglayer
*/
virtual css::geometry::RealRectangle3D SAL_CALL getRange( const css::uno::Sequence< css::beans::PropertyValue >& rViewParameters ) override;
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive2d
// BufferedDecompositionPrimitive3D class
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** BufferedDecompositionPrimitive3D class
@@ -190,15 +186,13 @@ namespace drawinglayer
*/
virtual Primitive3DContainer get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const override;
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
// tooling
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/// get B3DRange from a given Primitive3DReference
basegfx::B3DRange DRAWINGLAYER_DLLPUBLIC getB3DRangeFromPrimitive3DReference(const Primitive3DReference& rCandidate, const geometry::ViewInformation3D& aViewInformation);
@@ -208,8 +202,7 @@ namespace drawinglayer
*/
bool DRAWINGLAYER_DLLPUBLIC arePrimitive3DReferencesEqual(const Primitive3DReference& rA, const Primitive3DReference& rB);
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_BASEPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/groupprimitive3d.hxx b/include/drawinglayer/primitive3d/groupprimitive3d.hxx
index 3e07c86ed799..d77bb0db9179 100644
--- a/include/drawinglayer/primitive3d/groupprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/groupprimitive3d.hxx
@@ -25,9 +25,7 @@
#include <drawinglayer/primitive3d/baseprimitive3d.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** GroupPrimitive3D class
@@ -70,8 +68,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_GROUPPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx b/include/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx
index 58d4512b87d6..d33fba13d7b2 100644
--- a/include/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/modifiedcolorprimitive3d.hxx
@@ -26,9 +26,7 @@
#include <basegfx/color/bcolormodifier.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** ModifiedColorPrimitive3D class
@@ -58,8 +56,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_MODIFIEDCOLORPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/polygonprimitive3d.hxx b/include/drawinglayer/primitive3d/polygonprimitive3d.hxx
index f8107783eb57..76f4a8fe7b39 100644
--- a/include/drawinglayer/primitive3d/polygonprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/polygonprimitive3d.hxx
@@ -29,9 +29,7 @@
#include <drawinglayer/attribute/strokeattribute.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** PolygonHairlinePrimitive3D class
@@ -69,13 +67,11 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::primitive3d
-namespace drawinglayer
-{
- namespace primitive3d
+
+namespace drawinglayer::primitive3d
{
/** PolygonStrokePrimitive3D class
@@ -116,8 +112,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_POLYGONPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx b/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
index 914fe9315823..bc229840efd6 100644
--- a/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx
@@ -27,9 +27,7 @@
#include <drawinglayer/attribute/materialattribute3d.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** PolyPolygonMaterialPrimitive3D class
@@ -71,8 +69,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_POLYPOLYGONPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/sdrcubeprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrcubeprimitive3d.hxx
index e7d816a0363f..65a72366ab4e 100644
--- a/include/drawinglayer/primitive3d/sdrcubeprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrcubeprimitive3d.hxx
@@ -25,9 +25,7 @@
#include <drawinglayer/primitive3d/sdrprimitive3d.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** SdrCubePrimitive3D class
@@ -54,8 +52,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_SDRCUBEPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
index 621de447986e..4caa0c819631 100644
--- a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
@@ -34,9 +34,7 @@ namespace drawinglayer::geometry {
}
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** SliceType3D definition */
enum SliceType3D
@@ -116,8 +114,7 @@ namespace drawinglayer
const basegfx::B3DPolygon& rLoopB,
basegfx::B3DPolyPolygon& rTarget);
- } // end of namespace overlay
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::overlay
#endif //_DRAWINGLAYER_PRIMITIVE3D_SDREXTRUDELATHETOOLS3D_HXX
diff --git a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
index c7458893ff6f..76078be50fde 100644
--- a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx
@@ -27,9 +27,7 @@
#include <memory>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** SdrExtrudePrimitive3D class
@@ -114,8 +112,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_SDREXTRUDEPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
index 1b29f6c575e4..1945af6be877 100644
--- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
@@ -27,9 +27,7 @@
#include <memory>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** SdrLathePrimitive3D class
@@ -120,8 +118,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_SDRLATHEPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/sdrpolypolygonprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrpolypolygonprimitive3d.hxx
index d492391671f6..922414cf6f70 100644
--- a/include/drawinglayer/primitive3d/sdrpolypolygonprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrpolypolygonprimitive3d.hxx
@@ -25,9 +25,7 @@
#include <drawinglayer/primitive3d/sdrprimitive3d.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** SdrPolyPolygonPrimitive3D class
@@ -69,8 +67,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_SDRPOLYPOLYGONPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/sdrsphereprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrsphereprimitive3d.hxx
index 929425499947..af9090c3f0f7 100644
--- a/include/drawinglayer/primitive3d/sdrsphereprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrsphereprimitive3d.hxx
@@ -25,9 +25,7 @@
#include <drawinglayer/primitive3d/sdrprimitive3d.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** SdrSpherePrimitive3D class
@@ -68,8 +66,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_SDRSPHEREPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/primitive3d/transformprimitive3d.hxx b/include/drawinglayer/primitive3d/transformprimitive3d.hxx
index 86bef4bdc6b9..a99ea27e801f 100644
--- a/include/drawinglayer/primitive3d/transformprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/transformprimitive3d.hxx
@@ -26,9 +26,7 @@
#include <basegfx/matrix/b3dhommatrix.hxx>
-namespace drawinglayer
-{
- namespace primitive3d
+namespace drawinglayer::primitive3d
{
/** TransformPrimitive3D class
@@ -63,8 +61,8 @@ namespace drawinglayer
/// provide unique ID
DeclPrimitive3DIDBlock()
};
- } // end of namespace primitive3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive3d
#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE3D_TRANSFORMPRIMITIVE3D_HXX
diff --git a/include/drawinglayer/processor2d/baseprocessor2d.hxx b/include/drawinglayer/processor2d/baseprocessor2d.hxx
index 789a267ec3b7..1f0bd46efb62 100644
--- a/include/drawinglayer/processor2d/baseprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/baseprocessor2d.hxx
@@ -26,9 +26,7 @@
#include <drawinglayer/geometry/viewinformation2d.hxx>
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/** BaseProcessor2D class
@@ -188,8 +186,8 @@ namespace drawinglayer
/// data read access
const geometry::ViewInformation2D& getViewInformation2D() const { return maViewInformation2D; }
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif //INCLUDED_DRAWINGLAYER_PROCESSOR2D_BASEPROCESSOR2D_HXX
diff --git a/include/drawinglayer/processor2d/contourextractor2d.hxx b/include/drawinglayer/processor2d/contourextractor2d.hxx
index 44c7e55eb6e2..53158cc21291 100644
--- a/include/drawinglayer/processor2d/contourextractor2d.hxx
+++ b/include/drawinglayer/processor2d/contourextractor2d.hxx
@@ -26,9 +26,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/** ContourExtractor2D class
@@ -55,8 +53,8 @@ namespace drawinglayer
const basegfx::B2DPolyPolygonVector& getExtractedContour() const { return maExtractedContour; }
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_CONTOUREXTRACTOR2D_HXX
diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
index 3b044b451f2f..9ba4ad55dcaa 100644
--- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
@@ -28,9 +28,7 @@ namespace basegfx { class B2DPolygon; }
namespace basegfx { class B2DPolyPolygon; }
namespace drawinglayer::primitive2d { class ScenePrimitive2D; }
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/** HitTestProcessor2D class
@@ -90,8 +88,8 @@ namespace drawinglayer
bool getHit() const { return mbHit; }
bool getHitTextOnly() const { return mbHitTextOnly; }
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_HITTESTPROCESSOR2D_HXX
diff --git a/include/drawinglayer/processor2d/linegeometryextractor2d.hxx b/include/drawinglayer/processor2d/linegeometryextractor2d.hxx
index 4ea00c669bf5..a2a388dd12f3 100644
--- a/include/drawinglayer/processor2d/linegeometryextractor2d.hxx
+++ b/include/drawinglayer/processor2d/linegeometryextractor2d.hxx
@@ -27,9 +27,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/** LineGeometryExtractor2D class
@@ -54,8 +52,8 @@ namespace drawinglayer
const basegfx::B2DPolygonVector& getExtractedHairlines() const { return maExtractedHairlines; }
const basegfx::B2DPolyPolygonVector& getExtractedLineFills() const { return maExtractedLineFills; }
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_LINEGEOMETRYEXTRACTOR2D_HXX
diff --git a/include/drawinglayer/processor2d/objectinfoextractor2d.hxx b/include/drawinglayer/processor2d/objectinfoextractor2d.hxx
index 59d8fc2b1dc9..f7dc1d146885 100644
--- a/include/drawinglayer/processor2d/objectinfoextractor2d.hxx
+++ b/include/drawinglayer/processor2d/objectinfoextractor2d.hxx
@@ -24,9 +24,7 @@
namespace drawinglayer::primitive2d { class ObjectInfoPrimitive2D; }
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/** ObjectInfoPrimitiveExtractor2D class
@@ -48,8 +46,8 @@ namespace drawinglayer
const primitive2d::ObjectInfoPrimitive2D* getResult() const { return mpFound; }
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_OBJECTINFOEXTRACTOR2D_HXX
diff --git a/include/drawinglayer/processor2d/processor2dtools.hxx b/include/drawinglayer/processor2d/processor2dtools.hxx
index 95c1c679336c..54e725f3b934 100644
--- a/include/drawinglayer/processor2d/processor2dtools.hxx
+++ b/include/drawinglayer/processor2d/processor2dtools.hxx
@@ -27,9 +27,7 @@ namespace drawinglayer::processor2d { class BaseProcessor2D; }
class OutputDevice;
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/** create the best available pixel based BaseProcessor2D
(which may be system-dependent)
@@ -67,8 +65,8 @@ namespace drawinglayer
OutputDevice& rTargetOutDev,
const drawinglayer::geometry::ViewInformation2D& rViewInformation2D);
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif //INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSOR2DTOOLS_HXX
diff --git a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx
index f15a98e34784..f5ba9da79987 100644
--- a/include/drawinglayer/processor2d/processorfromoutputdevice.hxx
+++ b/include/drawinglayer/processor2d/processorfromoutputdevice.hxx
@@ -31,9 +31,7 @@ namespace drawinglayer::processor2d {
namespace drawinglayer::geometry { class ViewInformation2D; }
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
// create a mating VCL-Processor for given OutputDevice. This includes
// looking for MetaFile-recording. The returned renderer changes owner,
@@ -42,8 +40,7 @@ namespace drawinglayer
OutputDevice& rTargetOutDev,
const drawinglayer::geometry::ViewInformation2D& rViewInformation2D);
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::processor2d
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_PROCESSORFROMOUTPUTDEVICE_HXX
diff --git a/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx b/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx
index e973a372ad01..42e2376f0b58 100644
--- a/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx
+++ b/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx
@@ -29,9 +29,7 @@
#include <vector>
-namespace drawinglayer
-{
- namespace processor2d
+namespace drawinglayer::processor2d
{
/// helper data structure for returning the result
struct DRAWINGLAYER_DLLPUBLIC TextAsPolygonDataNode
@@ -87,8 +85,8 @@ namespace drawinglayer
// data read access
const TextAsPolygonDataNodeVector& getTarget() const { return maTarget; }
};
- } // end of namespace processor2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor2d
#endif // INCLUDED_DRAWINGLAYER_PROCESSOR2D_TEXTASPOLYGONEXTRACTOR2D_HXX
diff --git a/include/drawinglayer/processor3d/baseprocessor3d.hxx b/include/drawinglayer/processor3d/baseprocessor3d.hxx
index 887d41982790..b70e38ee9a0a 100644
--- a/include/drawinglayer/processor3d/baseprocessor3d.hxx
+++ b/include/drawinglayer/processor3d/baseprocessor3d.hxx
@@ -26,9 +26,7 @@
#include <drawinglayer/geometry/viewinformation3d.hxx>
-namespace drawinglayer
-{
- namespace processor3d
+namespace drawinglayer::processor3d
{
/** BaseProcessor3D class
@@ -64,8 +62,8 @@ namespace drawinglayer
// data access
const geometry::ViewInformation3D& getViewInformation3D() const { return maViewInformation3D; }
};
- } // end of namespace processor3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor3d
#endif //_DRAWINGLAYER_PROCESSOR3D_BASEPROCESSOR3D_HXX
diff --git a/include/drawinglayer/processor3d/cutfindprocessor3d.hxx b/include/drawinglayer/processor3d/cutfindprocessor3d.hxx
index 943bad0830f1..b237e9c68d15 100644
--- a/include/drawinglayer/processor3d/cutfindprocessor3d.hxx
+++ b/include/drawinglayer/processor3d/cutfindprocessor3d.hxx
@@ -25,9 +25,7 @@
#include <basegfx/matrix/b3dhommatrix.hxx>
-namespace drawinglayer
-{
- namespace processor3d
+namespace drawinglayer::processor3d
{
/** CutFindProcessor class
@@ -66,8 +64,8 @@ namespace drawinglayer
/// data read access
const ::std::vector< basegfx::B3DPoint >& getCutPoints() const { return maResult; }
};
- } // end of namespace processor3d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::processor3d
#endif //INCLUDED_DRAWINGLAYER_PROCESSOR3D_CUTFINDPROCESSOR3D_HXX