summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-19 20:43:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-19 21:52:35 +0200
commitb53907cc966f658dfac16254e1fa1fe72079b9a3 (patch)
treed761268c2cd5eff43fe1c0dd09fc5e04415f0e04 /slideshow/source
parent9e7baa477530f96da6fbeeb07f0f6405a93bfe05 (diff)
compact namespace: slideshow
Change-Id: I8ff0ddc85aa75c25b7881e4696043031ad8d9ce3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99009 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/activities/accumulation.hxx6
-rw-r--r--slideshow/source/engine/activities/activitybase.hxx6
-rw-r--r--slideshow/source/engine/activities/activityparameters.hxx6
-rw-r--r--slideshow/source/engine/activities/continuousactivitybase.hxx6
-rw-r--r--slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx6
-rw-r--r--slideshow/source/engine/activities/discreteactivitybase.hxx6
-rw-r--r--slideshow/source/engine/activities/simplecontinuousactivitybase.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationaudionode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationbasenode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationcolornode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationcommandnode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationpathmotionnode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationsetnode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationtransformnode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/animationtransitionfilternode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/generateevent.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/nodetools.hxx5
-rw-r--r--slideshow/source/engine/animationnodes/paralleltimecontainer.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/propertyanimationnode.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/sequentialtimecontainer.hxx6
-rw-r--r--slideshow/source/engine/animationnodes/setactivity.hxx6
-rw-r--r--slideshow/source/engine/pointersymbol.hxx6
-rw-r--r--slideshow/source/engine/rehearsetimingsactivity.hxx6
-rw-r--r--slideshow/source/engine/shapes/appletshape.hxx5
-rw-r--r--slideshow/source/engine/shapes/backgroundshape.hxx6
-rw-r--r--slideshow/source/engine/shapes/drawinglayeranimation.hxx6
-rw-r--r--slideshow/source/engine/shapes/drawshape.hxx6
-rw-r--r--slideshow/source/engine/shapes/drawshapesubsetting.hxx5
-rw-r--r--slideshow/source/engine/shapes/externalshapebase.hxx5
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.hxx5
-rw-r--r--slideshow/source/engine/shapes/intrinsicanimationactivity.hxx6
-rw-r--r--slideshow/source/engine/shapes/mediashape.hxx6
-rw-r--r--slideshow/source/engine/shapes/viewbackgroundshape.hxx5
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.hxx5
-rw-r--r--slideshow/source/engine/shapes/viewshape.hxx5
-rw-r--r--slideshow/source/engine/slide/layer.hxx5
-rw-r--r--slideshow/source/engine/slide/layermanager.hxx6
-rw-r--r--slideshow/source/engine/slide/shapemanagerimpl.hxx6
-rw-r--r--slideshow/source/engine/slide/slideanimations.hxx6
-rw-r--r--slideshow/source/engine/slide/targetpropertiescreator.hxx10
-rw-r--r--slideshow/source/engine/slide/userpaintoverlay.hxx6
-rw-r--r--slideshow/source/engine/transitions/barndoorwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/barwipepolypolygon.hxx5
-rw-r--r--slideshow/source/engine/transitions/boxwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/checkerboardwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/clippingfunctor.hxx6
-rw-r--r--slideshow/source/engine/transitions/clockwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/combtransition.hxx6
-rw-r--r--slideshow/source/engine/transitions/doublediamondwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/ellipsewipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/fanwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/figurewipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/fourboxwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/iriswipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/parametricpolypolygon.hxx5
-rw-r--r--slideshow/source/engine/transitions/parametricpolypolygonfactory.hxx6
-rw-r--r--slideshow/source/engine/transitions/pinwheelwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/randomwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/slidechangebase.hxx6
-rw-r--r--slideshow/source/engine/transitions/snakewipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/spiralwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/sweepwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/transitiontools.hxx4
-rw-r--r--slideshow/source/engine/transitions/veewipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/waterfallwipe.hxx5
-rw-r--r--slideshow/source/engine/transitions/zigzagwipe.hxx5
-rw-r--r--slideshow/source/engine/waitsymbol.hxx6
-rw-r--r--slideshow/source/inc/activitiesfactory.hxx9
-rw-r--r--slideshow/source/inc/activitiesqueue.hxx5
-rw-r--r--slideshow/source/inc/activity.hxx5
-rw-r--r--slideshow/source/inc/animatableshape.hxx5
-rw-r--r--slideshow/source/inc/animatedsprite.hxx5
-rw-r--r--slideshow/source/inc/animation.hxx5
-rw-r--r--slideshow/source/inc/animationactivity.hxx5
-rw-r--r--slideshow/source/inc/animationeventhandler.hxx5
-rw-r--r--slideshow/source/inc/animationfactory.hxx6
-rw-r--r--slideshow/source/inc/animationnode.hxx6
-rw-r--r--slideshow/source/inc/animationnodefactory.hxx11
-rw-r--r--slideshow/source/inc/attributableshape.hxx6
-rw-r--r--slideshow/source/inc/attributemap.hxx6
-rw-r--r--slideshow/source/inc/basecontainernode.hxx6
-rw-r--r--slideshow/source/inc/basenode.hxx6
-rw-r--r--slideshow/source/inc/boolanimation.hxx5
-rw-r--r--slideshow/source/inc/coloranimation.hxx5
-rw-r--r--slideshow/source/inc/cursormanager.hxx5
-rw-r--r--slideshow/source/inc/delayevent.hxx6
-rw-r--r--slideshow/source/inc/disposable.hxx5
-rw-r--r--slideshow/source/inc/doctreenode.hxx6
-rw-r--r--slideshow/source/inc/doctreenodesupplier.hxx5
-rw-r--r--slideshow/source/inc/enumanimation.hxx5
-rw-r--r--slideshow/source/inc/event.hxx6
-rw-r--r--slideshow/source/inc/eventhandler.hxx5
-rw-r--r--slideshow/source/inc/eventmultiplexer.hxx6
-rw-r--r--slideshow/source/inc/eventqueue.hxx5
-rw-r--r--slideshow/source/inc/expressionnode.hxx6
-rw-r--r--slideshow/source/inc/expressionnodefactory.hxx6
-rw-r--r--slideshow/source/inc/hslcolor.hxx6
-rw-r--r--slideshow/source/inc/hslcoloranimation.hxx5
-rw-r--r--slideshow/source/inc/hyperlinkarea.hxx6
-rw-r--r--slideshow/source/inc/iexternalmediashapebase.hxx5
-rw-r--r--slideshow/source/inc/interruptabledelayevent.hxx6
-rw-r--r--slideshow/source/inc/intrinsicanimationeventhandler.hxx5
-rw-r--r--slideshow/source/inc/listenercontainer.hxx6
-rw-r--r--slideshow/source/inc/mediafilemanager.hxx5
-rw-r--r--slideshow/source/inc/mouseeventhandler.hxx5
-rw-r--r--slideshow/source/inc/numberanimation.hxx5
-rw-r--r--slideshow/source/inc/pairanimation.hxx5
-rw-r--r--slideshow/source/inc/pauseeventhandler.hxx6
-rw-r--r--slideshow/source/inc/rgbcolor.hxx5
-rw-r--r--slideshow/source/inc/screenupdater.hxx6
-rw-r--r--slideshow/source/inc/shape.hxx6
-rw-r--r--slideshow/source/inc/shapeattributelayer.hxx5
-rw-r--r--slideshow/source/inc/shapeattributelayerholder.hxx5
-rw-r--r--slideshow/source/inc/shapeimporter.hxx6
-rw-r--r--slideshow/source/inc/shapelistenereventhandler.hxx5
-rw-r--r--slideshow/source/inc/shapemanager.hxx6
-rw-r--r--slideshow/source/inc/shapemaps.hxx6
-rw-r--r--slideshow/source/inc/shapesubset.hxx6
-rw-r--r--slideshow/source/inc/slide.hxx5
-rw-r--r--slideshow/source/inc/slidebitmap.hxx6
-rw-r--r--slideshow/source/inc/slideshowcontext.hxx6
-rw-r--r--slideshow/source/inc/slideview.hxx5
-rw-r--r--slideshow/source/inc/smilfunctionparser.hxx6
-rw-r--r--slideshow/source/inc/soundplayer.hxx6
-rw-r--r--slideshow/source/inc/stringanimation.hxx5
-rw-r--r--slideshow/source/inc/subsettableshapemanager.hxx6
-rw-r--r--slideshow/source/inc/transitionfactory.hxx6
-rw-r--r--slideshow/source/inc/transitioninfo.hxx6
-rw-r--r--slideshow/source/inc/unoview.hxx6
-rw-r--r--slideshow/source/inc/unoviewcontainer.hxx5
-rw-r--r--slideshow/source/inc/usereventqueue.hxx6
-rw-r--r--slideshow/source/inc/view.hxx6
-rw-r--r--slideshow/source/inc/vieweventhandler.hxx5
-rw-r--r--slideshow/source/inc/viewlayer.hxx5
-rw-r--r--slideshow/source/inc/viewupdate.hxx6
-rw-r--r--slideshow/source/inc/wakeupevent.hxx6
136 files changed, 230 insertions, 535 deletions
diff --git a/slideshow/source/engine/activities/accumulation.hxx b/slideshow/source/engine/activities/accumulation.hxx
index 02a19815af1b..ec04195597af 100644
--- a/slideshow/source/engine/activities/accumulation.hxx
+++ b/slideshow/source/engine/activities/accumulation.hxx
@@ -24,9 +24,7 @@
#include <rtl/ustring.hxx>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Generic accumulation.
@@ -78,7 +76,7 @@ namespace slideshow
// cumulative behaviour for bools.
return bCurrValue;
}
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_ACCUMULATION_HXX
diff --git a/slideshow/source/engine/activities/activitybase.hxx b/slideshow/source/engine/activities/activitybase.hxx
index fdf492aca9ef..e76c84d8e6c5 100644
--- a/slideshow/source/engine/activities/activitybase.hxx
+++ b/slideshow/source/engine/activities/activitybase.hxx
@@ -25,8 +25,7 @@
#include <animatableshape.hxx>
#include <shapeattributelayer.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Base class for animation activities.
@@ -137,8 +136,7 @@ private:
bool mbIsActive;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_ACTIVITYBASE_HXX
diff --git a/slideshow/source/engine/activities/activityparameters.hxx b/slideshow/source/engine/activities/activityparameters.hxx
index a8835a4cce21..9df762838530 100644
--- a/slideshow/source/engine/activities/activityparameters.hxx
+++ b/slideshow/source/engine/activities/activityparameters.hxx
@@ -28,8 +28,7 @@
#include <optional>
#include <vector>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Parameter struct for animation activities
@@ -128,8 +127,7 @@ struct ActivityParameters
const bool mbAutoReverse;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_ACTIVITYPARAMETERS_HXX
diff --git a/slideshow/source/engine/activities/continuousactivitybase.hxx b/slideshow/source/engine/activities/continuousactivitybase.hxx
index 1aeea9d173b2..8fd19d421e0c 100644
--- a/slideshow/source/engine/activities/continuousactivitybase.hxx
+++ b/slideshow/source/engine/activities/continuousactivitybase.hxx
@@ -22,9 +22,7 @@
#include "simplecontinuousactivitybase.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Simple, continuous animation.
@@ -59,7 +57,7 @@ namespace slideshow
virtual void simplePerform( double nSimpleTime,
sal_uInt32 nRepeatCount ) const override;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_CONTINUOUSACTIVITYBASE_HXX
diff --git a/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx b/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx
index 5b9f66278be4..2238db22852c 100644
--- a/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx
+++ b/slideshow/source/engine/activities/continuouskeytimeactivitybase.hxx
@@ -25,9 +25,7 @@
#include <basegfx/utils/keystoplerp.hxx>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interpolated, key-times animation.
@@ -68,7 +66,7 @@ namespace slideshow
private:
const ::basegfx::utils::KeyStopLerp maLerper;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_CONTINUOUSKEYTIMEACTIVITYBASE_HXX
diff --git a/slideshow/source/engine/activities/discreteactivitybase.hxx b/slideshow/source/engine/activities/discreteactivitybase.hxx
index 205f9e9e4193..1332ad3c5539 100644
--- a/slideshow/source/engine/activities/discreteactivitybase.hxx
+++ b/slideshow/source/engine/activities/discreteactivitybase.hxx
@@ -26,9 +26,7 @@
#include <vector>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Specialization of ActivityBase for discrete time activities.
@@ -73,7 +71,7 @@ namespace slideshow
const double mnSimpleDuration;
sal_uInt32 mnCurrPerformCalls;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_DISCRETEACTIVITYBASE_HXX
diff --git a/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx b/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx
index b59b8b7031f2..fb4f746054db 100644
--- a/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx
+++ b/slideshow/source/engine/activities/simplecontinuousactivitybase.hxx
@@ -23,9 +23,7 @@
#include "activitybase.hxx"
#include <canvas/elapsedtime.hxx>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Simple, continuous animation.
@@ -73,7 +71,7 @@ namespace slideshow
/// Actual number of frames shown until now.
sal_uInt32 mnCurrPerformCalls;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ACTIVITIES_SIMPLECONTINUOUSACTIVITYBASE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationaudionode.hxx b/slideshow/source/engine/animationnodes/animationaudionode.hxx
index d1c08601cf20..dd308f04fd9d 100644
--- a/slideshow/source/engine/animationnodes/animationaudionode.hxx
+++ b/slideshow/source/engine/animationnodes/animationaudionode.hxx
@@ -24,8 +24,7 @@
#include <com/sun/star/animations/XAnimationNode.hpp>
#include <com/sun/star/animations/XAudio.hpp>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Audio node.
@@ -62,8 +61,7 @@ private:
void checkPlayingStatus();
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONAUDIONODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationbasenode.hxx b/slideshow/source/engine/animationnodes/animationbasenode.hxx
index c8716706c166..d31a3a5a2fc9 100644
--- a/slideshow/source/engine/animationnodes/animationbasenode.hxx
+++ b/slideshow/source/engine/animationnodes/animationbasenode.hxx
@@ -27,8 +27,7 @@
#include <attributableshape.hxx>
#include <shapesubset.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Common base class for all leaf animation nodes.
@@ -91,8 +90,7 @@ private:
bool mbIsIndependentSubset;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONBASENODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationcolornode.hxx b/slideshow/source/engine/animationnodes/animationcolornode.hxx
index 6ae5f848c849..8d5d4289811d 100644
--- a/slideshow/source/engine/animationnodes/animationcolornode.hxx
+++ b/slideshow/source/engine/animationnodes/animationcolornode.hxx
@@ -23,8 +23,7 @@
#include "animationbasenode.hxx"
#include <com/sun/star/animations/XAnimateColor.hpp>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AnimationColorNode : public AnimationBaseNode
{
@@ -46,8 +45,7 @@ private:
css::uno::Reference<css::animations::XAnimateColor > mxColorNode;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONCOLORNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationcommandnode.hxx b/slideshow/source/engine/animationnodes/animationcommandnode.hxx
index 09dcf9eb1df0..bcb61f1ddd3f 100644
--- a/slideshow/source/engine/animationnodes/animationcommandnode.hxx
+++ b/slideshow/source/engine/animationnodes/animationcommandnode.hxx
@@ -24,8 +24,7 @@
#include <iexternalmediashapebase.hxx>
#include <com/sun/star/animations/XCommand.hpp>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Command node.
@@ -52,8 +51,7 @@ private:
css::uno::Reference<css::animations::XCommand > mxCommandNode;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONCOMMANDNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationpathmotionnode.hxx b/slideshow/source/engine/animationnodes/animationpathmotionnode.hxx
index a6a37a5b7728..8bd91e158ca2 100644
--- a/slideshow/source/engine/animationnodes/animationpathmotionnode.hxx
+++ b/slideshow/source/engine/animationnodes/animationpathmotionnode.hxx
@@ -22,8 +22,7 @@
#include "animationbasenode.hxx"
#include <com/sun/star/animations/XAnimateMotion.hpp>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AnimationPathMotionNode : public AnimationBaseNode
{
@@ -49,8 +48,7 @@ private:
css::uno::Reference<css::animations::XAnimateMotion > mxPathMotionNode;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONPATHMOTIONNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationsetnode.hxx b/slideshow/source/engine/animationnodes/animationsetnode.hxx
index 9c39377470b1..0c16255604cc 100644
--- a/slideshow/source/engine/animationnodes/animationsetnode.hxx
+++ b/slideshow/source/engine/animationnodes/animationsetnode.hxx
@@ -21,8 +21,7 @@
#include "animationbasenode.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AnimationSetNode : public AnimationBaseNode
{
@@ -41,8 +40,7 @@ private:
virtual AnimationActivitySharedPtr createActivity() const override;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONSETNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationtransformnode.hxx b/slideshow/source/engine/animationnodes/animationtransformnode.hxx
index b664fcb3213b..1eafe2dc9148 100644
--- a/slideshow/source/engine/animationnodes/animationtransformnode.hxx
+++ b/slideshow/source/engine/animationnodes/animationtransformnode.hxx
@@ -23,8 +23,7 @@
#include "animationbasenode.hxx"
#include <com/sun/star/animations/XAnimateTransform.hpp>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AnimationTransformNode : public AnimationBaseNode
{
@@ -50,8 +49,7 @@ private:
css::uno::Reference<css::animations::XAnimateTransform > mxTransformNode;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONTRANSFORMNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/animationtransitionfilternode.hxx b/slideshow/source/engine/animationnodes/animationtransitionfilternode.hxx
index 6790e9d2273a..181899557529 100644
--- a/slideshow/source/engine/animationnodes/animationtransitionfilternode.hxx
+++ b/slideshow/source/engine/animationnodes/animationtransitionfilternode.hxx
@@ -23,8 +23,7 @@
#include "animationbasenode.hxx"
#include <com/sun/star/animations/XTransitionFilter.hpp>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AnimationTransitionFilterNode : public AnimationBaseNode
{
@@ -51,8 +50,7 @@ private:
css::uno::Reference<css::animations::XTransitionFilter> mxTransitionFilterNode;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_ANIMATIONTRANSITIONFILTERNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/generateevent.hxx b/slideshow/source/engine/animationnodes/generateevent.hxx
index 4879896551fc..bf7ac99c1298 100644
--- a/slideshow/source/engine/animationnodes/generateevent.hxx
+++ b/slideshow/source/engine/animationnodes/generateevent.hxx
@@ -24,8 +24,7 @@
#include <delayevent.hxx>
#include <com/sun/star/uno/Any.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Create an event for the given description, calling the given functor.
@@ -47,8 +46,7 @@ EventSharedPtr generateEvent(
SlideShowContext const& rContext,
double nAdditionalDelay );
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_GENERATEEVENT_HXX
diff --git a/slideshow/source/engine/animationnodes/nodetools.hxx b/slideshow/source/engine/animationnodes/nodetools.hxx
index f68f9dbddae5..63ddef786c74 100644
--- a/slideshow/source/engine/animationnodes/nodetools.hxx
+++ b/slideshow/source/engine/animationnodes/nodetools.hxx
@@ -33,9 +33,7 @@
# define DEBUG_NODES_SHOWTREE(a)
#endif
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
// Tools
@@ -63,7 +61,6 @@ namespace slideshow
*/
bool isIndefiniteTiming( const css::uno::Any& rAny );
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_NODETOOLS_HXX
diff --git a/slideshow/source/engine/animationnodes/paralleltimecontainer.hxx b/slideshow/source/engine/animationnodes/paralleltimecontainer.hxx
index af3c6e1a9149..62daf26395cb 100644
--- a/slideshow/source/engine/animationnodes/paralleltimecontainer.hxx
+++ b/slideshow/source/engine/animationnodes/paralleltimecontainer.hxx
@@ -21,8 +21,7 @@
#include <basecontainernode.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** This class implements parallel node containers
@@ -47,8 +46,7 @@ private:
virtual void notifyDeactivating( AnimationNodeSharedPtr const& pChildNode ) override;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_PARALLELTIMECONTAINER_HXX
diff --git a/slideshow/source/engine/animationnodes/propertyanimationnode.hxx b/slideshow/source/engine/animationnodes/propertyanimationnode.hxx
index 037fea61e97e..015a0041345f 100644
--- a/slideshow/source/engine/animationnodes/propertyanimationnode.hxx
+++ b/slideshow/source/engine/animationnodes/propertyanimationnode.hxx
@@ -21,8 +21,7 @@
#include "animationbasenode.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class PropertyAnimationNode : public AnimationBaseNode
{
@@ -42,8 +41,7 @@ private:
virtual AnimationActivitySharedPtr createActivity() const override;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_PROPERTYANIMATIONNODE_HXX
diff --git a/slideshow/source/engine/animationnodes/sequentialtimecontainer.hxx b/slideshow/source/engine/animationnodes/sequentialtimecontainer.hxx
index ad9dbb40132e..bc277c951a1a 100644
--- a/slideshow/source/engine/animationnodes/sequentialtimecontainer.hxx
+++ b/slideshow/source/engine/animationnodes/sequentialtimecontainer.hxx
@@ -21,8 +21,7 @@
#include <basecontainernode.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** This class implements sequential node containers
@@ -57,8 +56,7 @@ private:
EventSharedPtr mpCurrentSkipEvent;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_SEQUENTIALTIMECONTAINER_HXX
diff --git a/slideshow/source/engine/animationnodes/setactivity.hxx b/slideshow/source/engine/animationnodes/setactivity.hxx
index 37e3ff3a53b4..b3585af2e9b8 100644
--- a/slideshow/source/engine/animationnodes/setactivity.hxx
+++ b/slideshow/source/engine/animationnodes/setactivity.hxx
@@ -26,8 +26,7 @@
#include <shapeattributelayer.hxx>
#include <activitiesfactory.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Templated setter for animation values
@@ -136,8 +135,7 @@ template <class AnimationT> AnimationActivitySharedPtr makeSetActivity(
return std::make_shared<SetActivity<AnimationT>>(rParms,rAnimation,rToValue);
}
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_ANIMATIONNODES_SETACTIVITY_HXX
diff --git a/slideshow/source/engine/pointersymbol.hxx b/slideshow/source/engine/pointersymbol.hxx
index c2ebe61d285b..b28ddcf09928 100644
--- a/slideshow/source/engine/pointersymbol.hxx
+++ b/slideshow/source/engine/pointersymbol.hxx
@@ -26,8 +26,7 @@
using namespace com::sun::star;
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class EventMultiplexer;
typedef std::shared_ptr<class PointerSymbol> PointerSymbolSharedPtr;
@@ -71,8 +70,7 @@ private:
bool mbVisible;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif
diff --git a/slideshow/source/engine/rehearsetimingsactivity.hxx b/slideshow/source/engine/rehearsetimingsactivity.hxx
index 630f9c48fe61..784ebfb2f584 100644
--- a/slideshow/source/engine/rehearsetimingsactivity.hxx
+++ b/slideshow/source/engine/rehearsetimingsactivity.hxx
@@ -41,8 +41,7 @@ namespace basegfx
class B2DRange;
}
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
struct SlideShowContext;
class EventMultiplexer;
@@ -135,8 +134,7 @@ private:
bool mbDrawPressed;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_REHEARSETIMINGSACTIVITY_HXX
diff --git a/slideshow/source/engine/shapes/appletshape.hxx b/slideshow/source/engine/shapes/appletshape.hxx
index 49bc81f822fa..0de63af2c484 100644
--- a/slideshow/source/engine/shapes/appletshape.hxx
+++ b/slideshow/source/engine/shapes/appletshape.hxx
@@ -25,10 +25,8 @@
namespace com::sun::star::drawing { class XShape; }
-namespace slideshow
+namespace slideshow::internal
{
- namespace internal
- {
struct SlideShowContext;
class Shape;
@@ -39,7 +37,6 @@ namespace slideshow
const char** pPropCopyTable,
std::size_t nNumPropEntries,
const SlideShowContext& rContext );
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_APPLETSHAPE_HXX
diff --git a/slideshow/source/engine/shapes/backgroundshape.hxx b/slideshow/source/engine/shapes/backgroundshape.hxx
index 988dba08a22a..3e709249841f 100644
--- a/slideshow/source/engine/shapes/backgroundshape.hxx
+++ b/slideshow/source/engine/shapes/backgroundshape.hxx
@@ -26,9 +26,7 @@
namespace com::sun::star::drawing { class XDrawPage; }
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class Shape;
struct SlideShowContext;
@@ -45,7 +43,7 @@ namespace slideshow
const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage,
const css::uno::Reference< css::drawing::XDrawPage >& xMasterPage,
const SlideShowContext& rContext ); // throw ShapeLoadFailedException;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_BACKGROUNDSHAPE_HXX
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.hxx b/slideshow/source/engine/shapes/drawinglayeranimation.hxx
index 523108e3ebb7..5a143b087de1 100644
--- a/slideshow/source/engine/shapes/drawinglayeranimation.hxx
+++ b/slideshow/source/engine/shapes/drawinglayeranimation.hxx
@@ -22,8 +22,7 @@
#include <sal/config.h>
#include <memory>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class Activity;
struct SlideShowContext;
@@ -33,8 +32,7 @@ std::shared_ptr<Activity> createDrawingLayerAnimActivity(
SlideShowContext const& rContext,
std::shared_ptr<DrawShape> const& pDrawShape );
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // ! defined INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_DRAWINGLAYERANIMATION_HXX
diff --git a/slideshow/source/engine/shapes/drawshape.hxx b/slideshow/source/engine/shapes/drawshape.hxx
index e4def440fe3d..eb9030affde0 100644
--- a/slideshow/source/engine/shapes/drawshape.hxx
+++ b/slideshow/source/engine/shapes/drawshape.hxx
@@ -35,9 +35,7 @@
class Graphic;
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class Activity;
struct SlideShowContext;
@@ -352,7 +350,7 @@ namespace slideshow
bool mbDrawingLayerAnim;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_DRAWSHAPE_HXX
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.hxx b/slideshow/source/engine/shapes/drawshapesubsetting.hxx
index f9ea3f4d5981..fe0347774348 100644
--- a/slideshow/source/engine/shapes/drawshapesubsetting.hxx
+++ b/slideshow/source/engine/shapes/drawshapesubsetting.hxx
@@ -27,9 +27,7 @@
class GDIMetaFile;
typedef ::std::shared_ptr< GDIMetaFile > GDIMetaFileSharedPtr;
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class encapsulates the subsetting aspects of a
DrawShape.
@@ -239,7 +237,6 @@ namespace slideshow
mutable bool mbNodeTreeInitialized;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_DRAWSHAPESUBSETTING_HXX
diff --git a/slideshow/source/engine/shapes/externalshapebase.hxx b/slideshow/source/engine/shapes/externalshapebase.hxx
index 6b455e387f07..260d8630e170 100644
--- a/slideshow/source/engine/shapes/externalshapebase.hxx
+++ b/slideshow/source/engine/shapes/externalshapebase.hxx
@@ -25,9 +25,7 @@
#include <slideshowcontext.hxx>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Base class for shapes rendered by external engines.
@@ -124,7 +122,6 @@ namespace slideshow
const double mnPriority;
::basegfx::B2DRectangle maBounds;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_EXTERNALSHAPEBASE_HXX
diff --git a/slideshow/source/engine/shapes/gdimtftools.hxx b/slideshow/source/engine/shapes/gdimtftools.hxx
index d63a60f7a74e..7812301f97e6 100644
--- a/slideshow/source/engine/shapes/gdimtftools.hxx
+++ b/slideshow/source/engine/shapes/gdimtftools.hxx
@@ -36,9 +36,7 @@ class GDIMetaFile;
class Graphic;
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/// meta file loading specialities:
enum mtf_load_flags {
@@ -124,7 +122,6 @@ namespace slideshow
bool getRectanglesFromScrollMtf( ::basegfx::B2DRectangle& o_rScrollRect,
::basegfx::B2DRectangle& o_rPaintRect,
const GDIMetaFileSharedPtr& rMtf );
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_GDIMTFTOOLS_HXX
diff --git a/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx b/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx
index aeef925a3c7a..e5306b671788 100644
--- a/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx
+++ b/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx
@@ -27,9 +27,7 @@
/* Definition of IntrinsicAnimationActivity class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Create an IntrinsicAnimationActivity.
@@ -60,7 +58,7 @@ namespace slideshow
const WakeupEventSharedPtr& rWakeupEvent,
const ::std::vector<double>& rTimeouts,
sal_uInt32 nNumLoops);
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_INTRINSICANIMATIONACTIVITY_HXX
diff --git a/slideshow/source/engine/shapes/mediashape.hxx b/slideshow/source/engine/shapes/mediashape.hxx
index 44667cd21018..4b2a542eeab2 100644
--- a/slideshow/source/engine/shapes/mediashape.hxx
+++ b/slideshow/source/engine/shapes/mediashape.hxx
@@ -26,10 +26,8 @@
namespace com::sun::star::drawing { class XShape; }
-namespace slideshow
+namespace slideshow::internal
{
- namespace internal
- {
struct SlideShowContext;
class Shape;
typedef ::std::shared_ptr< Shape > ShapeSharedPtr;
@@ -38,7 +36,7 @@ namespace slideshow
const css::uno::Reference<css::drawing::XShape >& xShape,
double nPrio,
const SlideShowContext& rContext);
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_MEDIASHAPE_HXX
diff --git a/slideshow/source/engine/shapes/viewbackgroundshape.hxx b/slideshow/source/engine/shapes/viewbackgroundshape.hxx
index 2bdf4b49e3aa..0f5b296465aa 100644
--- a/slideshow/source/engine/shapes/viewbackgroundshape.hxx
+++ b/slideshow/source/engine/shapes/viewbackgroundshape.hxx
@@ -32,9 +32,7 @@
#include <viewlayer.hxx>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class is the viewable representation of a draw
document's background, associated to a specific View
@@ -91,7 +89,6 @@ namespace slideshow
typedef ::std::shared_ptr< ViewBackgroundShape > ViewBackgroundShapeSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_VIEWBACKGROUNDSHAPE_HXX
diff --git a/slideshow/source/engine/shapes/viewmediashape.hxx b/slideshow/source/engine/shapes/viewmediashape.hxx
index 549e3902228a..de46f194746a 100644
--- a/slideshow/source/engine/shapes/viewmediashape.hxx
+++ b/slideshow/source/engine/shapes/viewmediashape.hxx
@@ -48,9 +48,7 @@ namespace com::sun::star {
}
}
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class is the viewable representation of a draw
document's media object, associated to a specific View
@@ -163,7 +161,6 @@ namespace slideshow
typedef ::std::shared_ptr< ViewMediaShape > ViewMediaShapeSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_VIEWMEDIASHAPE_HXX
diff --git a/slideshow/source/engine/shapes/viewshape.hxx b/slideshow/source/engine/shapes/viewshape.hxx
index a59dc0f2a2a7..c7e1d564cba0 100644
--- a/slideshow/source/engine/shapes/viewshape.hxx
+++ b/slideshow/source/engine/shapes/viewshape.hxx
@@ -51,9 +51,7 @@ namespace o3tl {
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class is the viewable representation of a draw
document's XShape, associated to a specific View
@@ -314,7 +312,6 @@ namespace slideshow
typedef ::std::shared_ptr< ViewShape > ViewShapeSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SHAPES_VIEWSHAPE_HXX
diff --git a/slideshow/source/engine/slide/layer.hxx b/slideshow/source/engine/slide/layer.hxx
index 2d1b04bb1808..73f3fcce9c5a 100644
--- a/slideshow/source/engine/slide/layer.hxx
+++ b/slideshow/source/engine/slide/layer.hxx
@@ -29,9 +29,7 @@
#include <memory>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class LayerEndUpdate;
class Layer;
@@ -258,7 +256,6 @@ namespace slideshow
bool mbClipSet; // true, if beginUpdate set a clip
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SLIDE_LAYER_HXX
diff --git a/slideshow/source/engine/slide/layermanager.hxx b/slideshow/source/engine/slide/layermanager.hxx
index ec95e08f364c..1969f0cccbb0 100644
--- a/slideshow/source/engine/slide/layermanager.hxx
+++ b/slideshow/source/engine/slide/layermanager.hxx
@@ -34,9 +34,7 @@ namespace basegfx {
class B2DRange;
}
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** A hash map which maps the XShape to the corresponding Shape object.
@@ -357,7 +355,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< LayerManager > LayerManagerSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SLIDE_LAYERMANAGER_HXX
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.hxx b/slideshow/source/engine/slide/shapemanagerimpl.hxx
index f084320cac99..5025450326e1 100644
--- a/slideshow/source/engine/slide/shapemanagerimpl.hxx
+++ b/slideshow/source/engine/slide/shapemanagerimpl.hxx
@@ -38,8 +38,7 @@
#include <map>
#include <memory>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Listener class for shape events
@@ -182,8 +181,7 @@ private:
const css::uno::Reference<css::drawing::XDrawPage> mxDrawPage;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SLIDE_SHAPEMANAGERIMPL_HXX
diff --git a/slideshow/source/engine/slide/slideanimations.hxx b/slideshow/source/engine/slide/slideanimations.hxx
index 67bc6e036951..3ebc1b21b0fc 100644
--- a/slideshow/source/engine/slide/slideanimations.hxx
+++ b/slideshow/source/engine/slide/slideanimations.hxx
@@ -31,9 +31,7 @@ namespace com::sun::star::animations { class XAnimationNode; }
/* Definition of SlideAnimations class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class generates and manages all animations of a slide.
@@ -101,7 +99,7 @@ namespace slideshow
const basegfx::B2DVector maSlideSize;
AnimationNodeSharedPtr mpRootNode;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SLIDE_SLIDEANIMATIONS_HXX
diff --git a/slideshow/source/engine/slide/targetpropertiescreator.hxx b/slideshow/source/engine/slide/targetpropertiescreator.hxx
index 04dec8d59230..79c1e49a56a1 100644
--- a/slideshow/source/engine/slide/targetpropertiescreator.hxx
+++ b/slideshow/source/engine/slide/targetpropertiescreator.hxx
@@ -25,20 +25,14 @@
using namespace ::com::sun::star;
-namespace slideshow
+namespace slideshow::internal::TargetPropertiesCreator
{
- namespace internal
- {
- namespace TargetPropertiesCreator
- {
/// Generate shape property list - set bInitial to true for initial slide state
uno::Sequence< animations::TargetProperties > createTargetProperties(
const uno::Reference< animations::XAnimationNode >& rootNode,
bool bInitial );
- }
- } // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal::TargetPropertiesCreator
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SLIDE_TARGETPROPERTIESCREATOR_HXX
diff --git a/slideshow/source/engine/slide/userpaintoverlay.hxx b/slideshow/source/engine/slide/userpaintoverlay.hxx
index 5dab806a9e76..8e9f57d30388 100644
--- a/slideshow/source/engine/slide/userpaintoverlay.hxx
+++ b/slideshow/source/engine/slide/userpaintoverlay.hxx
@@ -29,9 +29,7 @@
/* Definition of UserPaintOverlay class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class EventMultiplexer;
struct SlideShowContext;
@@ -77,7 +75,7 @@ namespace slideshow
::std::shared_ptr<PaintOverlayHandler> mpHandler;
EventMultiplexer& mrMultiplexer;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_SLIDE_USERPAINTOVERLAY_HXX
diff --git a/slideshow/source/engine/transitions/barndoorwipe.hxx b/slideshow/source/engine/transitions/barndoorwipe.hxx
index cb43fb92c5ed..decc63dab0ef 100644
--- a/slideshow/source/engine/transitions/barndoorwipe.hxx
+++ b/slideshow/source/engine/transitions/barndoorwipe.hxx
@@ -26,8 +26,7 @@
#include "transitiontools.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate a barn door wipe or double barn door wipe:
class BarnDoorWipe : public ParametricPolyPolygon
@@ -41,7 +40,7 @@ private:
const bool m_doubled;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_BARNDOORWIPE_HXX
diff --git a/slideshow/source/engine/transitions/barwipepolypolygon.hxx b/slideshow/source/engine/transitions/barwipepolypolygon.hxx
index 62ba19f44042..610e50857f04 100644
--- a/slideshow/source/engine/transitions/barwipepolypolygon.hxx
+++ b/slideshow/source/engine/transitions/barwipepolypolygon.hxx
@@ -24,8 +24,7 @@
#include "transitiontools.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a horizontal, left-to-right bar wipe:
class BarWipePolyPolygon : public ParametricPolyPolygon
@@ -41,7 +40,7 @@ private:
const ::basegfx::B2DPolygon m_unitRect;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_BARWIPEPOLYPOLYGON_HXX
diff --git a/slideshow/source/engine/transitions/boxwipe.hxx b/slideshow/source/engine/transitions/boxwipe.hxx
index 720720864e81..d542e3e56793 100644
--- a/slideshow/source/engine/transitions/boxwipe.hxx
+++ b/slideshow/source/engine/transitions/boxwipe.hxx
@@ -24,8 +24,7 @@
#include "transitiontools.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a default topleft to right bottom box wipe
class BoxWipe : public ParametricPolyPolygon
@@ -40,7 +39,7 @@ private:
const ::basegfx::B2DPolyPolygon m_unitRect;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_BOXWIPE_HXX
diff --git a/slideshow/source/engine/transitions/checkerboardwipe.hxx b/slideshow/source/engine/transitions/checkerboardwipe.hxx
index ee206e5dd9fa..e3d70f68dfa3 100644
--- a/slideshow/source/engine/transitions/checkerboardwipe.hxx
+++ b/slideshow/source/engine/transitions/checkerboardwipe.hxx
@@ -26,8 +26,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate a check board wipe (across)
class CheckerBoardWipe : public ParametricPolyPolygon
@@ -43,7 +42,7 @@ private:
const ::basegfx::B2DPolyPolygon m_unitRect;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_CHECKERBOARDWIPE_HXX
diff --git a/slideshow/source/engine/transitions/clippingfunctor.hxx b/slideshow/source/engine/transitions/clippingfunctor.hxx
index bc3e7b61ab12..666aef63bf18 100644
--- a/slideshow/source/engine/transitions/clippingfunctor.hxx
+++ b/slideshow/source/engine/transitions/clippingfunctor.hxx
@@ -26,9 +26,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Generates the final clipping polygon.
@@ -79,7 +77,7 @@ namespace slideshow
bool mbFlip;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_CLIPPINGFUNCTOR_HXX
diff --git a/slideshow/source/engine/transitions/clockwipe.hxx b/slideshow/source/engine/transitions/clockwipe.hxx
index cd54086f6925..437f308285f3 100644
--- a/slideshow/source/engine/transitions/clockwipe.hxx
+++ b/slideshow/source/engine/transitions/clockwipe.hxx
@@ -24,8 +24,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a clockWiseTwelve clock wipe:
class ClockWipe : public ParametricPolyPolygon
@@ -36,7 +35,7 @@ public:
virtual ::basegfx::B2DPolyPolygon operator () ( double t ) override;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_CLOCKWIPE_HXX
diff --git a/slideshow/source/engine/transitions/combtransition.hxx b/slideshow/source/engine/transitions/combtransition.hxx
index 37b288ae67fd..c9648e59d2a1 100644
--- a/slideshow/source/engine/transitions/combtransition.hxx
+++ b/slideshow/source/engine/transitions/combtransition.hxx
@@ -22,8 +22,7 @@
#include "slidechangebase.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Comb transition class.
@@ -57,8 +56,7 @@ private:
void renderComb( double t, const ViewEntry& rViewEntry ) const;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_COMBTRANSITION_HXX
diff --git a/slideshow/source/engine/transitions/doublediamondwipe.hxx b/slideshow/source/engine/transitions/doublediamondwipe.hxx
index eee6e32e5179..eca5d865c0ef 100644
--- a/slideshow/source/engine/transitions/doublediamondwipe.hxx
+++ b/slideshow/source/engine/transitions/doublediamondwipe.hxx
@@ -25,8 +25,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a double diamond wipe:
class DoubleDiamondWipe : public ParametricPolyPolygon
@@ -36,7 +35,7 @@ public:
virtual ::basegfx::B2DPolyPolygon operator()( double x ) override;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_DOUBLEDIAMONDWIPE_HXX
diff --git a/slideshow/source/engine/transitions/ellipsewipe.hxx b/slideshow/source/engine/transitions/ellipsewipe.hxx
index 9a86469a5d06..41b488664a9c 100644
--- a/slideshow/source/engine/transitions/ellipsewipe.hxx
+++ b/slideshow/source/engine/transitions/ellipsewipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate an iris wipe
class EllipseWipe : public ParametricPolyPolygon
@@ -36,7 +35,7 @@ private:
sal_Int32 mnSubType;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_ELLIPSEWIPE_HXX
diff --git a/slideshow/source/engine/transitions/fanwipe.hxx b/slideshow/source/engine/transitions/fanwipe.hxx
index dc457c0d2fb1..99434082edb6 100644
--- a/slideshow/source/engine/transitions/fanwipe.hxx
+++ b/slideshow/source/engine/transitions/fanwipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a centerTop (center=true) or double fan wipe:
class FanWipe : public ParametricPolyPolygon
@@ -37,7 +36,7 @@ private:
bool m_center, m_single, m_fanIn;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_FANWIPE_HXX
diff --git a/slideshow/source/engine/transitions/figurewipe.hxx b/slideshow/source/engine/transitions/figurewipe.hxx
index f5dc91bde155..742d2dde29da 100644
--- a/slideshow/source/engine/transitions/figurewipe.hxx
+++ b/slideshow/source/engine/transitions/figurewipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class FigureWipe : public ParametricPolyPolygon
{
@@ -41,7 +40,7 @@ private:
const ::basegfx::B2DPolygon m_figure;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_FIGUREWIPE_HXX
diff --git a/slideshow/source/engine/transitions/fourboxwipe.hxx b/slideshow/source/engine/transitions/fourboxwipe.hxx
index 3f2843bdbfc8..b2a501da7033 100644
--- a/slideshow/source/engine/transitions/fourboxwipe.hxx
+++ b/slideshow/source/engine/transitions/fourboxwipe.hxx
@@ -25,8 +25,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate a 4-box wipe
class FourBoxWipe : public ParametricPolyPolygon
@@ -41,7 +40,7 @@ private:
const ::basegfx::B2DPolygon m_unitRect;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_FOURBOXWIPE_HXX
diff --git a/slideshow/source/engine/transitions/iriswipe.hxx b/slideshow/source/engine/transitions/iriswipe.hxx
index 966badee58bc..f818568e9ad6 100644
--- a/slideshow/source/engine/transitions/iriswipe.hxx
+++ b/slideshow/source/engine/transitions/iriswipe.hxx
@@ -25,8 +25,7 @@
#include "transitiontools.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate an iris wipe
class IrisWipe : public ParametricPolyPolygon
@@ -38,7 +37,7 @@ private:
const ::basegfx::B2DPolyPolygon m_unitRect;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_IRISWIPE_HXX
diff --git a/slideshow/source/engine/transitions/parametricpolypolygon.hxx b/slideshow/source/engine/transitions/parametricpolypolygon.hxx
index f35b0cc76184..4e2ebb98ec67 100644
--- a/slideshow/source/engine/transitions/parametricpolypolygon.hxx
+++ b/slideshow/source/engine/transitions/parametricpolypolygon.hxx
@@ -26,9 +26,7 @@
/* Definition of ParametricPolyPolygon interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a parametric poly-polygon.
@@ -84,7 +82,6 @@ namespace slideshow
typedef ::std::shared_ptr< ParametricPolyPolygon > ParametricPolyPolygonSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_PARAMETRICPOLYPOLYGON_HXX
diff --git a/slideshow/source/engine/transitions/parametricpolypolygonfactory.hxx b/slideshow/source/engine/transitions/parametricpolypolygonfactory.hxx
index 2b188c4a1425..7a0e7aacd1fe 100644
--- a/slideshow/source/engine/transitions/parametricpolypolygonfactory.hxx
+++ b/slideshow/source/engine/transitions/parametricpolypolygonfactory.hxx
@@ -22,9 +22,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/* Definition of Transitionfactory class */
@@ -33,7 +31,7 @@ namespace slideshow
ParametricPolyPolygonSharedPtr createClipPolyPolygon( sal_Int16 nTransitionType,
sal_Int16 nTransitionSubType );
}
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_PARAMETRICPOLYPOLYGONFACTORY_HXX
diff --git a/slideshow/source/engine/transitions/pinwheelwipe.hxx b/slideshow/source/engine/transitions/pinwheelwipe.hxx
index 1a353a64fb83..d1daae12623a 100644
--- a/slideshow/source/engine/transitions/pinwheelwipe.hxx
+++ b/slideshow/source/engine/transitions/pinwheelwipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a n-blade pinWheel wipe:
class PinWheelWipe : public ParametricPolyPolygon
@@ -36,7 +35,7 @@ private:
sal_Int32 m_blades;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_PINWHEELWIPE_HXX
diff --git a/slideshow/source/engine/transitions/randomwipe.hxx b/slideshow/source/engine/transitions/randomwipe.hxx
index b6df2bb8fde9..3bc2364792b1 100644
--- a/slideshow/source/engine/transitions/randomwipe.hxx
+++ b/slideshow/source/engine/transitions/randomwipe.hxx
@@ -27,8 +27,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class RandomWipe : public ParametricPolyPolygon
{
@@ -43,7 +42,7 @@ private:
::basegfx::B2DPolygon m_rect;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_RANDOMWIPE_HXX
diff --git a/slideshow/source/engine/transitions/slidechangebase.hxx b/slideshow/source/engine/transitions/slidechangebase.hxx
index 492bc597128c..e80145df6a4b 100644
--- a/slideshow/source/engine/transitions/slidechangebase.hxx
+++ b/slideshow/source/engine/transitions/slidechangebase.hxx
@@ -36,8 +36,7 @@ namespace cppcanvas
class CustomSprite;
}
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Base class for all slide change effects.
@@ -197,8 +196,7 @@ private:
bool mbPrefetched;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_SLIDECHANGEBASE_HXX
diff --git a/slideshow/source/engine/transitions/snakewipe.hxx b/slideshow/source/engine/transitions/snakewipe.hxx
index ec71f4f83629..3da6918b9840 100644
--- a/slideshow/source/engine/transitions/snakewipe.hxx
+++ b/slideshow/source/engine/transitions/snakewipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a snake wipe:
class SnakeWipe : public ParametricPolyPolygon
@@ -59,7 +58,7 @@ private:
const bool m_opposite;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_SNAKEWIPE_HXX
diff --git a/slideshow/source/engine/transitions/spiralwipe.hxx b/slideshow/source/engine/transitions/spiralwipe.hxx
index fe89c0c8eda1..73f6a59c5668 100644
--- a/slideshow/source/engine/transitions/spiralwipe.hxx
+++ b/slideshow/source/engine/transitions/spiralwipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a topLeftClockWise or
/// bottomLeftCounterClockWise (flipOnYAxis=true) spiral wipe:
@@ -52,7 +51,7 @@ private:
const bool m_fourBox;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_SPIRALWIPE_HXX
diff --git a/slideshow/source/engine/transitions/sweepwipe.hxx b/slideshow/source/engine/transitions/sweepwipe.hxx
index acc10e67e11b..e010a554377a 100644
--- a/slideshow/source/engine/transitions/sweepwipe.hxx
+++ b/slideshow/source/engine/transitions/sweepwipe.hxx
@@ -23,8 +23,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class SweepWipe : public ParametricPolyPolygon
{
@@ -39,7 +38,7 @@ private:
const bool m_center, m_single, m_oppositeVertical, m_flipOnYAxis;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_SWEEPWIPE_HXX
diff --git a/slideshow/source/engine/transitions/transitiontools.hxx b/slideshow/source/engine/transitions/transitiontools.hxx
index 53b3b4f46cb7..4f6c4915cf1f 100644
--- a/slideshow/source/engine/transitions/transitiontools.hxx
+++ b/slideshow/source/engine/transitions/transitiontools.hxx
@@ -24,8 +24,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Create a unit rect.
::basegfx::B2DPolygon createUnitRect();
@@ -39,7 +38,6 @@ namespace internal {
::basegfx::B2DPolyPolygon const & polypoly );
}
-}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_TRANSITIONTOOLS_HXX
diff --git a/slideshow/source/engine/transitions/veewipe.hxx b/slideshow/source/engine/transitions/veewipe.hxx
index 537fd79e005d..e17d86771e0a 100644
--- a/slideshow/source/engine/transitions/veewipe.hxx
+++ b/slideshow/source/engine/transitions/veewipe.hxx
@@ -25,8 +25,7 @@
#include "parametricpolypolygon.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate a vee wipe
class VeeWipe : public ParametricPolyPolygon
@@ -36,7 +35,7 @@ public:
virtual ::basegfx::B2DPolyPolygon operator()( double x ) override;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_VEEWIPE_HXX
diff --git a/slideshow/source/engine/transitions/waterfallwipe.hxx b/slideshow/source/engine/transitions/waterfallwipe.hxx
index 6f397058cd43..821c9b7a2993 100644
--- a/slideshow/source/engine/transitions/waterfallwipe.hxx
+++ b/slideshow/source/engine/transitions/waterfallwipe.hxx
@@ -24,8 +24,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generate a vertical left waterfall wipe
class WaterfallWipe : public ParametricPolyPolygon
@@ -38,7 +37,7 @@ private:
::basegfx::B2DPolygon m_waterfall;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_WATERFALLWIPE_HXX
diff --git a/slideshow/source/engine/transitions/zigzagwipe.hxx b/slideshow/source/engine/transitions/zigzagwipe.hxx
index ca927ba44b44..2126483eb859 100644
--- a/slideshow/source/engine/transitions/zigzagwipe.hxx
+++ b/slideshow/source/engine/transitions/zigzagwipe.hxx
@@ -24,8 +24,7 @@
#include <basegfx/polygon/b2dpolygon.hxx>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/// Generates a left to right zigZag wipe:
class ZigZagWipe : public ParametricPolyPolygon
@@ -46,7 +45,7 @@ public:
virtual ::basegfx::B2DPolyPolygon operator () ( double t ) override;
};
-}
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_ENGINE_TRANSITIONS_ZIGZAGWIPE_HXX
diff --git a/slideshow/source/engine/waitsymbol.hxx b/slideshow/source/engine/waitsymbol.hxx
index b5cdadda3fe6..1044d607659a 100644
--- a/slideshow/source/engine/waitsymbol.hxx
+++ b/slideshow/source/engine/waitsymbol.hxx
@@ -31,8 +31,7 @@
#include <memory>
#include <vector>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class EventMultiplexer;
typedef std::shared_ptr<class WaitSymbol> WaitSymbolSharedPtr;
@@ -82,8 +81,7 @@ private:
bool mbVisible;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif
diff --git a/slideshow/source/inc/activitiesfactory.hxx b/slideshow/source/inc/activitiesfactory.hxx
index 19ef963bbdc3..69852489c54a 100644
--- a/slideshow/source/inc/activitiesfactory.hxx
+++ b/slideshow/source/inc/activitiesfactory.hxx
@@ -40,10 +40,7 @@
/* Definition of ActivitiesFactory class */
-namespace slideshow {
-namespace internal {
-
-namespace ActivitiesFactory
+namespace slideshow::internal::ActivitiesFactory
{
/// Collection of common factory parameters
struct CommonParameters
@@ -303,10 +300,8 @@ namespace ActivitiesFactory
const CommonParameters& rParms,
const NumberAnimationSharedPtr& rAnimator,
bool bDirectionForward );
-}
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ACTIVITIESFACTORY_HXX
diff --git a/slideshow/source/inc/activitiesqueue.hxx b/slideshow/source/inc/activitiesqueue.hxx
index b4f88b1b39d1..7169c46f7cf3 100644
--- a/slideshow/source/inc/activitiesqueue.hxx
+++ b/slideshow/source/inc/activitiesqueue.hxx
@@ -31,9 +31,7 @@
/* Definition of ActivitiesQueue class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class handles the XSprite updates needed for
animations, such as moves, scales etc. You can add
@@ -110,7 +108,6 @@ namespace slideshow
// current frame has been displayed.
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ACTIVITIESQUEUE_HXX
diff --git a/slideshow/source/inc/activity.hxx b/slideshow/source/inc/activity.hxx
index 5627206a56c0..5de30c79d9eb 100644
--- a/slideshow/source/inc/activity.hxx
+++ b/slideshow/source/inc/activity.hxx
@@ -27,9 +27,7 @@
/* Definition of Activity interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class Activity : public Disposable, public virtual SharedPtrAble
@@ -84,7 +82,6 @@ namespace slideshow
typedef ::std::shared_ptr< Activity > ActivitySharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ACTIVITY_HXX
diff --git a/slideshow/source/inc/animatableshape.hxx b/slideshow/source/inc/animatableshape.hxx
index b2dd7753fa90..7cefad0f6086 100644
--- a/slideshow/source/inc/animatableshape.hxx
+++ b/slideshow/source/inc/animatableshape.hxx
@@ -25,9 +25,7 @@
#include "shape.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Represents an animatable shape.
@@ -74,7 +72,6 @@ namespace slideshow
typedef ::std::shared_ptr< AnimatableShape > AnimatableShapeSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATABLESHAPE_HXX
diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx
index 80fcc07a6789..18d4eecb2a6d 100644
--- a/slideshow/source/inc/animatedsprite.hxx
+++ b/slideshow/source/inc/animatedsprite.hxx
@@ -32,9 +32,7 @@
/* Definition of AnimatedSprite class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class provides the sprite for animated shapes.
@@ -153,7 +151,6 @@ namespace slideshow
typedef ::std::shared_ptr< AnimatedSprite > AnimatedSpriteSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATEDSPRITE_HXX
diff --git a/slideshow/source/inc/animation.hxx b/slideshow/source/inc/animation.hxx
index b925e2ecf4c7..a9264d76b79a 100644
--- a/slideshow/source/inc/animation.hxx
+++ b/slideshow/source/inc/animation.hxx
@@ -27,9 +27,7 @@
/* Definition of Animation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a generic animation.
@@ -79,7 +77,6 @@ namespace slideshow
virtual void end() = 0;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATION_HXX
diff --git a/slideshow/source/inc/animationactivity.hxx b/slideshow/source/inc/animationactivity.hxx
index 95d0fd02c8b1..20454aa59ed7 100644
--- a/slideshow/source/inc/animationactivity.hxx
+++ b/slideshow/source/inc/animationactivity.hxx
@@ -27,9 +27,7 @@
/* Definition of AnimationActivity interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Extends the Activity interface with animation-specific functions
@@ -61,7 +59,6 @@ namespace slideshow
typedef ::std::shared_ptr< AnimationActivity > AnimationActivitySharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONACTIVITY_HXX
diff --git a/slideshow/source/inc/animationeventhandler.hxx b/slideshow/source/inc/animationeventhandler.hxx
index 2d955e6b63cd..0c66ffd5aaf8 100644
--- a/slideshow/source/inc/animationeventhandler.hxx
+++ b/slideshow/source/inc/animationeventhandler.hxx
@@ -26,9 +26,7 @@
/* Definition of AnimationEventHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling animation events.
@@ -57,7 +55,6 @@ namespace slideshow
typedef ::std::shared_ptr< AnimationEventHandler > AnimationEventHandlerSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONEVENTHANDLER_HXX
diff --git a/slideshow/source/inc/animationfactory.hxx b/slideshow/source/inc/animationfactory.hxx
index 7d2f205c63a5..db24dbb55094 100644
--- a/slideshow/source/inc/animationfactory.hxx
+++ b/slideshow/source/inc/animationfactory.hxx
@@ -32,9 +32,7 @@
/* Definition of AnimationFactory class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Factory for Animation objects
@@ -127,7 +125,7 @@ namespace slideshow
const ::basegfx::B2DVector& rSlideSize,
int nFlags);
}
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONFACTORY_HXX
diff --git a/slideshow/source/inc/animationnode.hxx b/slideshow/source/inc/animationnode.hxx
index 34eca1da91ed..ea08b552b4fc 100644
--- a/slideshow/source/inc/animationnode.hxx
+++ b/slideshow/source/inc/animationnode.hxx
@@ -25,8 +25,7 @@
#include <memory>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AnimationNode;
typedef ::std::shared_ptr< AnimationNode > AnimationNodeSharedPtr;
@@ -152,8 +151,7 @@ public:
virtual bool hasPendingAnimation() const = 0;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONNODE_HXX
diff --git a/slideshow/source/inc/animationnodefactory.hxx b/slideshow/source/inc/animationnodefactory.hxx
index 681cc8518451..af424ec5092b 100644
--- a/slideshow/source/inc/animationnodefactory.hxx
+++ b/slideshow/source/inc/animationnodefactory.hxx
@@ -29,14 +29,10 @@
#include "slideshowcontext.hxx"
-namespace slideshow
+namespace slideshow::internal::AnimationNodeFactory
{
- namespace internal
- {
- /* Definition of AnimationNodeFactory class */
+ /* Definition of AnimationNodeFactory class */
- namespace AnimationNodeFactory
- {
/** Create an AnimationNode for the given XAnimationNode
*/
AnimationNodeSharedPtr createAnimationNode( const css::uno::Reference< css::animations::XAnimationNode >& xNode,
@@ -50,8 +46,7 @@ namespace slideshow
#else
# define SHOW_NODE_TREE(a)
#endif
- }
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ANIMATIONNODEFACTORY_HXX
diff --git a/slideshow/source/inc/attributableshape.hxx b/slideshow/source/inc/attributableshape.hxx
index 4c250e67d14e..d903c3b2abbb 100644
--- a/slideshow/source/inc/attributableshape.hxx
+++ b/slideshow/source/inc/attributableshape.hxx
@@ -26,9 +26,7 @@
#include "shapeattributelayer.hxx"
#include "doctreenodesupplier.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
// forward declaration necessary, because methods use AttributableShapeSharedPtr
class AttributableShape;
@@ -214,7 +212,7 @@ namespace slideshow
*/
virtual bool revokeSubset( const AttributableShapeSharedPtr& rShape ) = 0;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ATTRIBUTABLESHAPE_HXX
diff --git a/slideshow/source/inc/attributemap.hxx b/slideshow/source/inc/attributemap.hxx
index 6ab9c24e7b77..1cd9b0f300ae 100644
--- a/slideshow/source/inc/attributemap.hxx
+++ b/slideshow/source/inc/attributemap.hxx
@@ -24,9 +24,7 @@
/* Definition of AttributeMap helper function */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Type of to-be-animated attribute.
@@ -65,7 +63,7 @@ namespace slideshow
mapping table.
*/
AttributeType mapAttributeName( const OUString& rAttrName );
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ATTRIBUTEMAP_HXX
diff --git a/slideshow/source/inc/basecontainernode.hxx b/slideshow/source/inc/basecontainernode.hxx
index 8be89a27f01e..79dbe3f2f46d 100644
--- a/slideshow/source/inc/basecontainernode.hxx
+++ b/slideshow/source/inc/basecontainernode.hxx
@@ -21,8 +21,7 @@
#include "basenode.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class BaseContainerNode;
typedef ::std::shared_ptr< BaseContainerNode > BaseContainerNodeSharedPtr;
@@ -94,8 +93,7 @@ private:
const bool mbDurationIndefinite;
};
-} // namespace interface
-} // namespace presentation
+} // namespace presentation::interface
#endif
diff --git a/slideshow/source/inc/basenode.hxx b/slideshow/source/inc/basenode.hxx
index 27545dc877e0..668d9de93ad6 100644
--- a/slideshow/source/inc/basenode.hxx
+++ b/slideshow/source/inc/basenode.hxx
@@ -30,8 +30,7 @@
#include <vector>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Context for every node.
@@ -205,8 +204,7 @@ private:
const bool mbIsMainSequenceRootNode;
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif
diff --git a/slideshow/source/inc/boolanimation.hxx b/slideshow/source/inc/boolanimation.hxx
index 16b9271eaeb9..79744bc62e03 100644
--- a/slideshow/source/inc/boolanimation.hxx
+++ b/slideshow/source/inc/boolanimation.hxx
@@ -25,9 +25,7 @@
/* Definition of BoolAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a bool animation.
@@ -63,7 +61,6 @@ namespace slideshow
typedef ::std::shared_ptr< BoolAnimation > BoolAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_BOOLANIMATION_HXX
diff --git a/slideshow/source/inc/coloranimation.hxx b/slideshow/source/inc/coloranimation.hxx
index 77d394572aaf..21105166b46f 100644
--- a/slideshow/source/inc/coloranimation.hxx
+++ b/slideshow/source/inc/coloranimation.hxx
@@ -26,9 +26,7 @@
/* Definition of ColorAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a color animation.
@@ -63,7 +61,6 @@ namespace slideshow
typedef ::std::shared_ptr< ColorAnimation > ColorAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_COLORANIMATION_HXX
diff --git a/slideshow/source/inc/cursormanager.hxx b/slideshow/source/inc/cursormanager.hxx
index b470020abae8..cfd5f0a74205 100644
--- a/slideshow/source/inc/cursormanager.hxx
+++ b/slideshow/source/inc/cursormanager.hxx
@@ -25,9 +25,7 @@
/* Definition of CursorManager interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling the view cursor.
@@ -55,7 +53,6 @@ namespace slideshow
virtual void resetCursor() = 0;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_CURSORMANAGER_HXX
diff --git a/slideshow/source/inc/delayevent.hxx b/slideshow/source/inc/delayevent.hxx
index 9585910bf689..27bdd5aab403 100644
--- a/slideshow/source/inc/delayevent.hxx
+++ b/slideshow/source/inc/delayevent.hxx
@@ -23,8 +23,7 @@
#include <functional>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Event, which delays the functor call the given amount of time
*/
@@ -134,8 +133,7 @@ inline EventSharedPtr makeDelay_(
#endif // OSL_DEBUG_LEVEL <= 1
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_DELAYEVENT_HXX
diff --git a/slideshow/source/inc/disposable.hxx b/slideshow/source/inc/disposable.hxx
index c3be8bb4091a..a345d76e071d 100644
--- a/slideshow/source/inc/disposable.hxx
+++ b/slideshow/source/inc/disposable.hxx
@@ -25,9 +25,7 @@
/* Definition of Disposable interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/**
* Base class for being a shared pointer, since quite a few of the downstream classes
@@ -60,7 +58,6 @@ namespace slideshow
virtual void dispose() = 0;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_DISPOSABLE_HXX
diff --git a/slideshow/source/inc/doctreenode.hxx b/slideshow/source/inc/doctreenode.hxx
index 1bb4beda5ec9..45bbf77b0cfa 100644
--- a/slideshow/source/inc/doctreenode.hxx
+++ b/slideshow/source/inc/doctreenode.hxx
@@ -26,9 +26,7 @@
/* Definition of DocTreeNode class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class represents kind of a DOM tree node for shape
@@ -105,7 +103,7 @@ namespace slideshow
};
typedef ::std::vector< DocTreeNode > VectorOfDocTreeNodes;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_DOCTREENODE_HXX
diff --git a/slideshow/source/inc/doctreenodesupplier.hxx b/slideshow/source/inc/doctreenodesupplier.hxx
index cebf09db4d7d..5bf91d126139 100644
--- a/slideshow/source/inc/doctreenodesupplier.hxx
+++ b/slideshow/source/inc/doctreenodesupplier.hxx
@@ -25,9 +25,7 @@
/* Definition of DocTreeNodeSupplier interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface to retrieve DocTreeNodes from subsettable
shapes.
@@ -140,7 +138,6 @@ namespace slideshow
~DocTreeNodeSupplier() {}
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_DOCTREENODESUPPLIER_HXX
diff --git a/slideshow/source/inc/enumanimation.hxx b/slideshow/source/inc/enumanimation.hxx
index bb659b270f21..39a8a0251599 100644
--- a/slideshow/source/inc/enumanimation.hxx
+++ b/slideshow/source/inc/enumanimation.hxx
@@ -25,9 +25,7 @@
/* Definition of EnumAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining an enum animation.
@@ -65,7 +63,6 @@ namespace slideshow
typedef ::std::shared_ptr< EnumAnimation > EnumAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_ENUMANIMATION_HXX
diff --git a/slideshow/source/inc/event.hxx b/slideshow/source/inc/event.hxx
index 15fd0d9d65df..c60ba20f80a9 100644
--- a/slideshow/source/inc/event.hxx
+++ b/slideshow/source/inc/event.hxx
@@ -24,8 +24,7 @@
#include <memory>
#include <vector>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Definition of Event interface
*/
@@ -73,8 +72,7 @@ private:
typedef ::std::shared_ptr< Event > EventSharedPtr;
typedef ::std::vector< EventSharedPtr > VectorOfEvents;
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_EVENT_HXX
diff --git a/slideshow/source/inc/eventhandler.hxx b/slideshow/source/inc/eventhandler.hxx
index 3efc5f0b4059..d74b13ecd63f 100644
--- a/slideshow/source/inc/eventhandler.hxx
+++ b/slideshow/source/inc/eventhandler.hxx
@@ -25,9 +25,7 @@
/* Definition of EventHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for event handling objects.
@@ -53,7 +51,6 @@ namespace slideshow
typedef ::std::shared_ptr< EventHandler > EventHandlerSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_EVENTHANDLER_HXX
diff --git a/slideshow/source/inc/eventmultiplexer.hxx b/slideshow/source/inc/eventmultiplexer.hxx
index 9d84a97c9323..e0dd6fd31eb5 100644
--- a/slideshow/source/inc/eventmultiplexer.hxx
+++ b/slideshow/source/inc/eventmultiplexer.hxx
@@ -33,8 +33,7 @@
namespace com::sun::star::drawing { class XShape; }
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class EventQueue;
class UnoViewContainer;
@@ -653,8 +652,7 @@ private:
std::unique_ptr<EventMultiplexerImpl> mpImpl;
};
-} // namespace internal
-} // namespace Presentation
+} // namespace Presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_EVENTMULTIPLEXER_HXX
diff --git a/slideshow/source/inc/eventqueue.hxx b/slideshow/source/inc/eventqueue.hxx
index 76c7eecbda3c..63c93f7a302d 100644
--- a/slideshow/source/inc/eventqueue.hxx
+++ b/slideshow/source/inc/eventqueue.hxx
@@ -31,9 +31,7 @@
/* Definition of ActivitiesQueue class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This class handles events in a presentation. Events are
time instants where e.g. effects start.
@@ -144,7 +142,6 @@ namespace slideshow
std::shared_ptr< ::canvas::tools::ElapsedTime > mpTimer;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_EVENTQUEUE_HXX
diff --git a/slideshow/source/inc/expressionnode.hxx b/slideshow/source/inc/expressionnode.hxx
index fef80fc7cc9c..6f9139012e12 100644
--- a/slideshow/source/inc/expressionnode.hxx
+++ b/slideshow/source/inc/expressionnode.hxx
@@ -22,9 +22,7 @@
/* Definition of ExpressionNode interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface describing an abstract animation function.
@@ -72,7 +70,7 @@ namespace slideshow
*/
virtual bool isConstant() const = 0;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_EXPRESSIONNODE_HXX
diff --git a/slideshow/source/inc/expressionnodefactory.hxx b/slideshow/source/inc/expressionnodefactory.hxx
index 56244e843540..97d04737171e 100644
--- a/slideshow/source/inc/expressionnodefactory.hxx
+++ b/slideshow/source/inc/expressionnodefactory.hxx
@@ -27,9 +27,7 @@
/* Definition of ExpressionNodeFactory class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** ExpressionNode factory
@@ -64,7 +62,7 @@ namespace slideshow
static std::shared_ptr<ExpressionNode> createMaxExpression ( const std::shared_ptr<ExpressionNode>& rOuterFunction,
const std::shared_ptr<ExpressionNode>& rInnerFunction );
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_EXPRESSIONNODEFACTORY_HXX
diff --git a/slideshow/source/inc/hslcolor.hxx b/slideshow/source/inc/hslcolor.hxx
index 74b38995af22..b4fbb610915b 100644
--- a/slideshow/source/inc/hslcolor.hxx
+++ b/slideshow/source/inc/hslcolor.hxx
@@ -23,9 +23,7 @@
/* Definition of HSLColor class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class RGBColor;
@@ -89,7 +87,7 @@ namespace slideshow
When true, hue interpolation happens counter-clockwise
*/
HSLColor interpolate( const HSLColor& rFrom, const HSLColor& rTo, double t, bool bCCW );
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_HSLCOLOR_HXX
diff --git a/slideshow/source/inc/hslcoloranimation.hxx b/slideshow/source/inc/hslcoloranimation.hxx
index e20cbc8024f5..3d2bb34c91e3 100644
--- a/slideshow/source/inc/hslcoloranimation.hxx
+++ b/slideshow/source/inc/hslcoloranimation.hxx
@@ -26,9 +26,7 @@
/* Definition of HSLColorAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a HSL color animation.
@@ -63,7 +61,6 @@ namespace slideshow
typedef ::std::shared_ptr< HSLColorAnimation > HSLColorAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_HSLCOLORANIMATION_HXX
diff --git a/slideshow/source/inc/hyperlinkarea.hxx b/slideshow/source/inc/hyperlinkarea.hxx
index 631c3f26fc4e..d7d760c081f7 100644
--- a/slideshow/source/inc/hyperlinkarea.hxx
+++ b/slideshow/source/inc/hyperlinkarea.hxx
@@ -32,9 +32,7 @@ namespace basegfx {
/* Definition of HyperlinkArea interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** HyperlinkArea interface
@@ -92,7 +90,7 @@ namespace slideshow
};
typedef std::shared_ptr< HyperlinkArea > HyperlinkAreaSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_HYPERLINKAREA_HXX
diff --git a/slideshow/source/inc/iexternalmediashapebase.hxx b/slideshow/source/inc/iexternalmediashapebase.hxx
index 3a174e977c82..156b0b2dd7ce 100644
--- a/slideshow/source/inc/iexternalmediashapebase.hxx
+++ b/slideshow/source/inc/iexternalmediashapebase.hxx
@@ -25,9 +25,7 @@
#include "shape.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Represents a shape containing playable content rendered by
external engine (e.g. media or applet).
@@ -78,7 +76,6 @@ namespace slideshow
typedef ::std::shared_ptr< IExternalMediaShapeBase > IExternalMediaShapeBaseSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_IEXTERNALMEDIASHAPEBASE_HXX
diff --git a/slideshow/source/inc/interruptabledelayevent.hxx b/slideshow/source/inc/interruptabledelayevent.hxx
index 388c1db648e1..a877e206f46b 100644
--- a/slideshow/source/inc/interruptabledelayevent.hxx
+++ b/slideshow/source/inc/interruptabledelayevent.hxx
@@ -22,9 +22,7 @@
#include "delayevent.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Event, which delays calling passed Event's fire() method
the given amount of time.
@@ -134,7 +132,7 @@ namespace slideshow
return aRes;
}
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_INTERRUPTABLEDELAYEVENT_HXX
diff --git a/slideshow/source/inc/intrinsicanimationeventhandler.hxx b/slideshow/source/inc/intrinsicanimationeventhandler.hxx
index 6016bb22745c..97ad6571caca 100644
--- a/slideshow/source/inc/intrinsicanimationeventhandler.hxx
+++ b/slideshow/source/inc/intrinsicanimationeventhandler.hxx
@@ -24,9 +24,7 @@
/* Definition of IntrinsicAnimationEventHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling intrinsic animation display modes.
@@ -46,7 +44,6 @@ namespace slideshow
typedef ::std::shared_ptr< IntrinsicAnimationEventHandler > IntrinsicAnimationEventHandlerSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_INTRINSICANIMATIONEVENTHANDLER_HXX
diff --git a/slideshow/source/inc/listenercontainer.hxx b/slideshow/source/inc/listenercontainer.hxx
index 3cdcb10b42cf..6046f5f8efe4 100644
--- a/slideshow/source/inc/listenercontainer.hxx
+++ b/slideshow/source/inc/listenercontainer.hxx
@@ -24,8 +24,7 @@
#include <vector>
#include <iterator>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
struct EmptyBase
{
@@ -412,8 +411,7 @@ class ThreadUnsafeListenerContainer : public ListenerContainerBase<ListenerT,
{
};
-} // namespace internal
-} // namespace slideshow
+} // namespace slideshow::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_LISTENERCONTAINER_HXX
diff --git a/slideshow/source/inc/mediafilemanager.hxx b/slideshow/source/inc/mediafilemanager.hxx
index 6588defa8e68..a0ec69556c4e 100644
--- a/slideshow/source/inc/mediafilemanager.hxx
+++ b/slideshow/source/inc/mediafilemanager.hxx
@@ -20,9 +20,7 @@ namespace avmedia
struct MediaTempFile;
}
-namespace slideshow
-{
-namespace internal
+namespace slideshow::internal
{
class MediaFileManager
{
@@ -31,7 +29,6 @@ public:
virtual std::shared_ptr<avmedia::MediaTempFile> getMediaTempFile(const OUString& aUrl) = 0;
};
}
-}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_MEDIAFILEMANAGER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/slideshow/source/inc/mouseeventhandler.hxx b/slideshow/source/inc/mouseeventhandler.hxx
index 926a1acda820..6be068e8a92a 100644
--- a/slideshow/source/inc/mouseeventhandler.hxx
+++ b/slideshow/source/inc/mouseeventhandler.hxx
@@ -29,9 +29,7 @@ namespace com::sun::star::awt { struct MouseEvent; }
/* Definition of MouseEventHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling mouse events.
@@ -108,7 +106,6 @@ namespace slideshow
typedef ::std::shared_ptr< MouseEventHandler > MouseEventHandlerSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_MOUSEEVENTHANDLER_HXX
diff --git a/slideshow/source/inc/numberanimation.hxx b/slideshow/source/inc/numberanimation.hxx
index ab9e9a3939dd..e35769e97327 100644
--- a/slideshow/source/inc/numberanimation.hxx
+++ b/slideshow/source/inc/numberanimation.hxx
@@ -25,9 +25,7 @@
/* Definition of NumberAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a number animation.
@@ -65,7 +63,6 @@ namespace slideshow
typedef ::std::shared_ptr< NumberAnimation > NumberAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_NUMBERANIMATION_HXX
diff --git a/slideshow/source/inc/pairanimation.hxx b/slideshow/source/inc/pairanimation.hxx
index f8609a1469b3..45b90ebbb979 100644
--- a/slideshow/source/inc/pairanimation.hxx
+++ b/slideshow/source/inc/pairanimation.hxx
@@ -26,9 +26,7 @@
/* Definition of PairAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a pair of numbers animation.
@@ -64,7 +62,6 @@ namespace slideshow
typedef ::std::shared_ptr< PairAnimation > PairAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_PAIRANIMATION_HXX
diff --git a/slideshow/source/inc/pauseeventhandler.hxx b/slideshow/source/inc/pauseeventhandler.hxx
index 6ac8971ae834..3d61d6ee16ec 100644
--- a/slideshow/source/inc/pauseeventhandler.hxx
+++ b/slideshow/source/inc/pauseeventhandler.hxx
@@ -25,9 +25,7 @@
/* Definition of PauseHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling pause events.
@@ -57,7 +55,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< PauseEventHandler > PauseEventHandlerSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_PAUSEEVENTHANDLER_HXX
diff --git a/slideshow/source/inc/rgbcolor.hxx b/slideshow/source/inc/rgbcolor.hxx
index 9e12ec902a02..b5f3f8e610fc 100644
--- a/slideshow/source/inc/rgbcolor.hxx
+++ b/slideshow/source/inc/rgbcolor.hxx
@@ -25,9 +25,7 @@
/* Definition of RGBColor class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class HSLColor;
@@ -88,7 +86,6 @@ namespace slideshow
As usual, t must be in the [0,1] range
*/
RGBColor interpolate( const RGBColor& rFrom, const RGBColor& rTo, double t );
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_RGBCOLOR_HXX
diff --git a/slideshow/source/inc/screenupdater.hxx b/slideshow/source/inc/screenupdater.hxx
index dcf299b18586..4ae477519021 100644
--- a/slideshow/source/inc/screenupdater.hxx
+++ b/slideshow/source/inc/screenupdater.hxx
@@ -26,9 +26,7 @@
/* Definition of ScreenUpdater class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Screen updater
@@ -128,7 +126,7 @@ namespace slideshow
std::unique_ptr<ImplScreenUpdater> mpImpl;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SCREENUPDATER_HXX
diff --git a/slideshow/source/inc/shape.hxx b/slideshow/source/inc/shape.hxx
index 3fcc516dda4b..6f0ee040d965 100644
--- a/slideshow/source/inc/shape.hxx
+++ b/slideshow/source/inc/shape.hxx
@@ -34,9 +34,7 @@ namespace basegfx {
class B2DRange;
}
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
// forward declaration necessary, because methods use ShapeSharedPtr
class Shape;
@@ -278,7 +276,7 @@ namespace slideshow
/** A set which contains all shapes in an ordered fashion.
*/
typedef ::std::set< ShapeSharedPtr, Shape::lessThanShape > ShapeSet;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPE_HXX
diff --git a/slideshow/source/inc/shapeattributelayer.hxx b/slideshow/source/inc/shapeattributelayer.hxx
index 0614ff285e7f..ac4aad87ef49 100644
--- a/slideshow/source/inc/shapeattributelayer.hxx
+++ b/slideshow/source/inc/shapeattributelayer.hxx
@@ -33,9 +33,7 @@
#include <memory>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** This interface represents a stateful object.
@@ -538,7 +536,6 @@ namespace slideshow
bool mbVisibilityValid : 1;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPEATTRIBUTELAYER_HXX
diff --git a/slideshow/source/inc/shapeattributelayerholder.hxx b/slideshow/source/inc/shapeattributelayerholder.hxx
index ba596adcdf43..4c123b4e514f 100644
--- a/slideshow/source/inc/shapeattributelayerholder.hxx
+++ b/slideshow/source/inc/shapeattributelayerholder.hxx
@@ -23,9 +23,7 @@
#include "attributableshape.hxx"
#include "shapeattributelayer.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Holds a ShapeAttributeLayer, together with the associated
Shape
@@ -97,7 +95,6 @@ namespace slideshow
ShapeAttributeLayerSharedPtr mpAttributeLayer;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPEATTRIBUTELAYERHOLDER_HXX
diff --git a/slideshow/source/inc/shapeimporter.hxx b/slideshow/source/inc/shapeimporter.hxx
index a12fa9618271..a0ccb1fd44af 100644
--- a/slideshow/source/inc/shapeimporter.hxx
+++ b/slideshow/source/inc/shapeimporter.hxx
@@ -33,8 +33,7 @@
#include <stack>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
struct SlideShowContext;
@@ -135,8 +134,7 @@ private:
bool mbConvertingMasterPage;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif
diff --git a/slideshow/source/inc/shapelistenereventhandler.hxx b/slideshow/source/inc/shapelistenereventhandler.hxx
index 386671132e93..f8776e7c9e03 100644
--- a/slideshow/source/inc/shapelistenereventhandler.hxx
+++ b/slideshow/source/inc/shapelistenereventhandler.hxx
@@ -34,9 +34,7 @@ namespace com::sun::star {
/* Definition of ShapeListenerEventHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling view events.
@@ -57,7 +55,6 @@ namespace slideshow
typedef ::std::shared_ptr< ShapeListenerEventHandler > ShapeListenerEventHandlerSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPELISTENEREVENTHANDLER_HXX
diff --git a/slideshow/source/inc/shapemanager.hxx b/slideshow/source/inc/shapemanager.hxx
index db7febb110b7..28c89087d6a0 100644
--- a/slideshow/source/inc/shapemanager.hxx
+++ b/slideshow/source/inc/shapemanager.hxx
@@ -30,9 +30,7 @@ namespace com::sun::star::drawing { class XShape; }
/* Definition of ShapeManager interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class HyperlinkArea;
class AnimatableShape;
@@ -117,7 +115,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< ShapeManager > ShapeManagerSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPEMANAGER_HXX
diff --git a/slideshow/source/inc/shapemaps.hxx b/slideshow/source/inc/shapemaps.hxx
index 43476e05b81c..aefd8c5df423 100644
--- a/slideshow/source/inc/shapemaps.hxx
+++ b/slideshow/source/inc/shapemaps.hxx
@@ -30,9 +30,7 @@ namespace com::sun::star::drawing { class XShape; }
/* Definition of two shape maps */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/// Maps XShape to shape listener
typedef ::std::map< css::uno::Reference< css::drawing::XShape>,
@@ -42,7 +40,7 @@ namespace slideshow
/// Maps XShape to mouse cursor
typedef ::std::map< css::uno::Reference< css::drawing::XShape>,
sal_Int16> ShapeCursorMap;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPEMAPS_HXX
diff --git a/slideshow/source/inc/shapesubset.hxx b/slideshow/source/inc/shapesubset.hxx
index 750fc0f353b2..ad420ef5538d 100644
--- a/slideshow/source/inc/shapesubset.hxx
+++ b/slideshow/source/inc/shapesubset.hxx
@@ -25,9 +25,7 @@
#include <memory>
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class ShapeSubset;
typedef ::std::shared_ptr< ShapeSubset > ShapeSubsetSharedPtr;
@@ -139,7 +137,7 @@ namespace slideshow
DocTreeNode maTreeNode;
SubsettableShapeManagerSharedPtr mpShapeManager;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SHAPESUBSET_HXX
diff --git a/slideshow/source/inc/slide.hxx b/slideshow/source/inc/slide.hxx
index 8350751fa83f..db1c0d6f0917 100644
--- a/slideshow/source/inc/slide.hxx
+++ b/slideshow/source/inc/slide.hxx
@@ -46,9 +46,7 @@ namespace basegfx
/* Definition of Slide interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class RGBColor;
class ScreenUpdater;
@@ -205,7 +203,6 @@ namespace slideshow
bool bUserPaintEnabled,
bool bIntrinsicAnimationsAllowed,
bool bDisableAnimationZOrder );
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SLIDE_HXX
diff --git a/slideshow/source/inc/slidebitmap.hxx b/slideshow/source/inc/slidebitmap.hxx
index f5248a8061e3..ef3b41f2e88b 100644
--- a/slideshow/source/inc/slidebitmap.hxx
+++ b/slideshow/source/inc/slidebitmap.hxx
@@ -34,9 +34,7 @@ namespace com::sun::star::rendering { class XBitmap; }
/* Definition of SlideBitmap class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Little wrapper encapsulating an XBitmap
@@ -76,7 +74,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< SlideBitmap > SlideBitmapSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SLIDEBITMAP_HXX
diff --git a/slideshow/source/inc/slideshowcontext.hxx b/slideshow/source/inc/slideshowcontext.hxx
index 6d14fb34b1b2..558ee6f037c0 100644
--- a/slideshow/source/inc/slideshowcontext.hxx
+++ b/slideshow/source/inc/slideshowcontext.hxx
@@ -26,9 +26,7 @@
namespace com::sun::star::uno { class XComponentContext; }
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class ShapeManager;
class EventQueue;
@@ -106,7 +104,7 @@ namespace slideshow
const UnoViewContainer& mrViewContainer;
css::uno::Reference< css::uno::XComponentContext> mxComponentContext;
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SLIDESHOWCONTEXT_HXX
diff --git a/slideshow/source/inc/slideview.hxx b/slideshow/source/inc/slideview.hxx
index 6296faebefd9..bf95dc25118a 100644
--- a/slideshow/source/inc/slideview.hxx
+++ b/slideshow/source/inc/slideview.hxx
@@ -23,9 +23,7 @@
#include "unoview.hxx"
/* Definition of SlideView factory method */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class EventQueue;
class EventMultiplexer;
@@ -46,7 +44,6 @@ namespace slideshow
css::uno::Reference< css::presentation::XSlideShowView> const& xView,
EventQueue& rEventQueue,
EventMultiplexer& rEventMultiplexer );
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SLIDEVIEW_HXX
diff --git a/slideshow/source/inc/smilfunctionparser.hxx b/slideshow/source/inc/smilfunctionparser.hxx
index 4842e39a9b7b..556ae9334e54 100644
--- a/slideshow/source/inc/smilfunctionparser.hxx
+++ b/slideshow/source/inc/smilfunctionparser.hxx
@@ -29,9 +29,7 @@
/* Definition of SmilFunctionParser class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class SmilFunctionParser
{
@@ -148,7 +146,7 @@ namespace slideshow
const ::basegfx::B2DRectangle& rRelativeShapeBounds ); // throw ParseError
};
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SMILFUNCTIONPARSER_HXX
diff --git a/slideshow/source/inc/soundplayer.hxx b/slideshow/source/inc/soundplayer.hxx
index e571a694a2af..3914a08a2725 100644
--- a/slideshow/source/inc/soundplayer.hxx
+++ b/slideshow/source/inc/soundplayer.hxx
@@ -35,9 +35,7 @@
/* Definition of SoundPlayer class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class MediaFileManager;
@@ -109,7 +107,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< SoundPlayer > SoundPlayerSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SOUNDPLAYER_HXX
diff --git a/slideshow/source/inc/stringanimation.hxx b/slideshow/source/inc/stringanimation.hxx
index 2cb26c0a94b5..09a8f859e96d 100644
--- a/slideshow/source/inc/stringanimation.hxx
+++ b/slideshow/source/inc/stringanimation.hxx
@@ -26,9 +26,7 @@
/* Definition of StringAnimation interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface defining a string animation.
@@ -63,7 +61,6 @@ namespace slideshow
typedef ::std::shared_ptr< StringAnimation > StringAnimationSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_STRINGANIMATION_HXX
diff --git a/slideshow/source/inc/subsettableshapemanager.hxx b/slideshow/source/inc/subsettableshapemanager.hxx
index f66639b6a1a6..9279bf017af3 100644
--- a/slideshow/source/inc/subsettableshapemanager.hxx
+++ b/slideshow/source/inc/subsettableshapemanager.hxx
@@ -26,9 +26,7 @@
/* Definition of SubsettableShapeManager interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class DocTreeNode;
class AttributableShape;
@@ -105,7 +103,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< SubsettableShapeManager > SubsettableShapeManagerSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_SUBSETTABLESHAPEMANAGER_HXX
diff --git a/slideshow/source/inc/transitionfactory.hxx b/slideshow/source/inc/transitionfactory.hxx
index f863bca3b46b..ea645cbec051 100644
--- a/slideshow/source/inc/transitionfactory.hxx
+++ b/slideshow/source/inc/transitionfactory.hxx
@@ -32,9 +32,7 @@
#include "soundplayer.hxx"
#include "shapemanager.hxx"
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/* Definition of Transitionfactory class */
namespace TransitionFactory
@@ -109,7 +107,7 @@ namespace slideshow
const RGBColor& rTransitionFadeColor,
const SoundPlayerSharedPtr& rSoundPlayer );
}
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_TRANSITIONFACTORY_HXX
diff --git a/slideshow/source/inc/transitioninfo.hxx b/slideshow/source/inc/transitioninfo.hxx
index 241771bec5f9..c0cd0aed143f 100644
--- a/slideshow/source/inc/transitioninfo.hxx
+++ b/slideshow/source/inc/transitioninfo.hxx
@@ -23,8 +23,7 @@
#include <sal/types.h>
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
struct TransitionInfo
{
@@ -136,8 +135,7 @@ struct TransitionInfo
};
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_TRANSITIONINFO_HXX
diff --git a/slideshow/source/inc/unoview.hxx b/slideshow/source/inc/unoview.hxx
index e1ec82549354..7adec4c15442 100644
--- a/slideshow/source/inc/unoview.hxx
+++ b/slideshow/source/inc/unoview.hxx
@@ -30,9 +30,7 @@ namespace com::sun::star::presentation { class XSlideShowView; }
/* Definition of UnoView interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Extend View with UNO interface retrieval.
@@ -68,7 +66,7 @@ namespace slideshow
typedef std::shared_ptr< UnoView > UnoViewSharedPtr;
typedef std::vector< UnoViewSharedPtr > UnoViewVector;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_UNOVIEW_HXX
diff --git a/slideshow/source/inc/unoviewcontainer.hxx b/slideshow/source/inc/unoviewcontainer.hxx
index 90c081904cd8..54ee9d579143 100644
--- a/slideshow/source/inc/unoviewcontainer.hxx
+++ b/slideshow/source/inc/unoviewcontainer.hxx
@@ -29,9 +29,7 @@ namespace com::sun::star::presentation { class XSlideShowView; }
/* Definition of UnoViewContainer class */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Contains UnoViews
*/
@@ -76,7 +74,6 @@ namespace slideshow
UnoViewVector maViews;
};
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_UNOVIEWCONTAINER_HXX
diff --git a/slideshow/source/inc/usereventqueue.hxx b/slideshow/source/inc/usereventqueue.hxx
index 13b4d3adf385..785a8bdf3764 100644
--- a/slideshow/source/inc/usereventqueue.hxx
+++ b/slideshow/source/inc/usereventqueue.hxx
@@ -28,8 +28,7 @@
/* Definition of UserEventQueue class */
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
class AllAnimationEventHandler;
class ShapeClickEventHandler;
@@ -263,8 +262,7 @@ private:
bool mbAdvanceOnClick;
};
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_USEREVENTQUEUE_HXX
diff --git a/slideshow/source/inc/view.hxx b/slideshow/source/inc/view.hxx
index 4298fa1b273e..0d1937b60e85 100644
--- a/slideshow/source/inc/view.hxx
+++ b/slideshow/source/inc/view.hxx
@@ -31,9 +31,7 @@ namespace basegfx { class B2DRange; class B2DVector; }
/* Definition of View interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class View : public ViewLayer
{
@@ -81,7 +79,7 @@ namespace slideshow
typedef std::shared_ptr< View > ViewSharedPtr;
typedef std::vector< ViewSharedPtr > ViewVector;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_VIEW_HXX
diff --git a/slideshow/source/inc/vieweventhandler.hxx b/slideshow/source/inc/vieweventhandler.hxx
index aa75acaf9f21..a375e047f560 100644
--- a/slideshow/source/inc/vieweventhandler.hxx
+++ b/slideshow/source/inc/vieweventhandler.hxx
@@ -28,9 +28,7 @@
/* Definition of ViewEventHandler interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for handling view events.
@@ -82,7 +80,6 @@ namespace slideshow
typedef ::std::weak_ptr< ViewEventHandler > ViewEventHandlerWeakPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_VIEWEVENTHANDLER_HXX
diff --git a/slideshow/source/inc/viewlayer.hxx b/slideshow/source/inc/viewlayer.hxx
index a3a331a1666e..4fe8aa4e03d3 100644
--- a/slideshow/source/inc/viewlayer.hxx
+++ b/slideshow/source/inc/viewlayer.hxx
@@ -44,9 +44,7 @@ namespace cppcanvas
/* Definition of ViewLayer interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
class View;
typedef std::shared_ptr< View > ViewSharedPtr;
@@ -168,7 +166,6 @@ namespace slideshow
};
typedef std::shared_ptr< ViewLayer > ViewLayerSharedPtr;
- }
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_VIEWLAYER_HXX
diff --git a/slideshow/source/inc/viewupdate.hxx b/slideshow/source/inc/viewupdate.hxx
index f083347ce415..a5e2ee3402b0 100644
--- a/slideshow/source/inc/viewupdate.hxx
+++ b/slideshow/source/inc/viewupdate.hxx
@@ -25,9 +25,7 @@
/* Definition of ViewUpdate interface */
-namespace slideshow
-{
- namespace internal
+namespace slideshow::internal
{
/** Interface for something that can perform view updates.
@@ -54,7 +52,7 @@ namespace slideshow
};
typedef ::std::shared_ptr< ViewUpdate > ViewUpdateSharedPtr;
- }
+
}
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_VIEWUPDATE_HXX
diff --git a/slideshow/source/inc/wakeupevent.hxx b/slideshow/source/inc/wakeupevent.hxx
index 6992be9e761d..8a1379f02744 100644
--- a/slideshow/source/inc/wakeupevent.hxx
+++ b/slideshow/source/inc/wakeupevent.hxx
@@ -24,8 +24,7 @@
#include "event.hxx"
#include "activitiesqueue.hxx"
-namespace slideshow {
-namespace internal {
+namespace slideshow::internal {
/** Little helper class, used to set Activities active again
after some sleep period.
@@ -77,8 +76,7 @@ private:
typedef ::std::shared_ptr< WakeupEvent > WakeupEventSharedPtr;
-} // namespace internal
-} // namespace presentation
+} // namespace presentation::internal
#endif // INCLUDED_SLIDESHOW_SOURCE_INC_WAKEUPEVENT_HXX