summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive2d
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-02-03 17:55:18 +0100
committerTomaž Vajngerl <quikee@gmail.com>2020-02-04 08:34:59 +0100
commitfd5ca0888d0d4ea18323ad684188e493fd5a3469 (patch)
tree9de12b67c5d08f1eaa1fcf7e922501354b25c54f /include/drawinglayer/primitive2d
parent233c8aec16faf9302acb3625adcd1df026d59412 (diff)
clean-up and join namespaces in animatedprimitive2d.hxx
Change-Id: I9c60f2f9e12fe0271efa8546cbcef08178f9552c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87934 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/drawinglayer/primitive2d')
-rw-r--r--include/drawinglayer/primitive2d/animatedprimitive2d.hxx25
1 files changed, 4 insertions, 21 deletions
diff --git a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
index cfd64f5c90f0..677235111e2d 100644
--- a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
@@ -26,22 +26,17 @@
#include <memory>
// predefines
-namespace drawinglayer
-{
-namespace animation
+namespace drawinglayer::animation
{
class AnimationEntry;
}
-}
namespace basegfx
{
class B2DHomMatrix;
}
-namespace drawinglayer
-{
-namespace primitive2d
+namespace drawinglayer::primitive2d
{
/** AnimatedSwitchPrimitive2D class
@@ -107,13 +102,7 @@ public:
get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor,
const geometry::ViewInformation2D& rViewInformation) const override;
};
-} // end of namespace primitive2d
-} // end of namespace drawinglayer
-namespace drawinglayer
-{
-namespace primitive2d
-{
/** AnimatedBlinkPrimitive2D class
Basically the same mechanism as in AnimatedSwitchPrimitive2D, but the
@@ -135,13 +124,7 @@ public:
/// provide unique ID
virtual sal_uInt32 getPrimitive2DID() const override;
};
-} // end of namespace primitive2d
-} // end of namespace drawinglayer
-namespace drawinglayer
-{
-namespace primitive2d
-{
/** AnimatedInterpolatePrimitive2D class
Specialized on multi-step animations based on matrix transformations. The
@@ -169,7 +152,7 @@ public:
/// provide unique ID
virtual sal_uInt32 getPrimitive2DID() const override;
};
-} // end of namespace primitive2d
-} // end of namespace drawinglayer
+
+} // end of namespace drawinglayer::primitive2d
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */