summaryrefslogtreecommitdiff
path: root/sd/source/core/CustomAnimationEffect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/CustomAnimationEffect.cxx')
-rw-r--r--sd/source/core/CustomAnimationEffect.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 1a08b9b4d7de..f940e44645ae 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -2692,6 +2692,8 @@ void EffectSequenceHelper::setTextGroupingAuto( const CustomAnimationTextGroupPt
notify_listeners();
}
+namespace {
+
struct ImplStlTextGroupSortHelper
{
explicit ImplStlTextGroupSortHelper( bool bReverse ) : mbReverse( bReverse ) {};
@@ -2700,6 +2702,8 @@ struct ImplStlTextGroupSortHelper
sal_Int32 getTargetParagraph( const CustomAnimationEffectPtr& p1 );
};
+}
+
sal_Int32 ImplStlTextGroupSortHelper::getTargetParagraph( const CustomAnimationEffectPtr& p1 )
{
const Any aTarget(p1->getTarget());
@@ -2772,12 +2776,16 @@ void EffectSequenceHelper::removeListener( ISequenceListener* pListener )
maListeners.remove( pListener );
}
+namespace {
+
struct stl_notify_listeners_func
{
stl_notify_listeners_func() {}
void operator()(ISequenceListener* pListener) { pListener->notify_change(); }
};
+}
+
void EffectSequenceHelper::notify_listeners()
{
stl_notify_listeners_func aFunc;
@@ -2928,6 +2936,8 @@ void EffectSequenceHelper::processAfterEffect( const Reference< XAnimationNode >
}
}
+namespace {
+
class AnimationChangeListener : public cppu::WeakImplHelper< XChangesListener >
{
public:
@@ -2939,6 +2949,8 @@ private:
MainSequence* mpMainSequence;
};
+}
+
void SAL_CALL AnimationChangeListener::changesOccurred( const css::util::ChangesEvent& )
{
if( mpMainSequence )