summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/sdundogr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/sdundogr.cxx')
-rw-r--r--sd/source/ui/func/sdundogr.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/sd/source/ui/func/sdundogr.cxx b/sd/source/ui/func/sdundogr.cxx
index 497c27c8d6c7..a2e97386d57b 100644
--- a/sd/source/ui/func/sdundogr.cxx
+++ b/sd/source/ui/func/sdundogr.cxx
@@ -22,17 +22,17 @@
SdUndoGroup::~SdUndoGroup() = default;
-bool SdUndoGroup::Merge( SfxUndoAction* pNextAction )
+bool SdUndoGroup::Merge(SfxUndoAction* pNextAction)
{
bool bRet = false;
- if( auto pSdUndoAction = dynamic_cast<SdUndoAction *>( pNextAction ) )
+ if (auto pSdUndoAction = dynamic_cast<SdUndoAction*>(pNextAction))
{
SdUndoAction* pClone = pSdUndoAction->Clone();
- if( pClone )
+ if (pClone)
{
- AddAction( pClone );
+ AddAction(pClone);
bRet = true;
}
}
@@ -50,7 +50,6 @@ void SdUndoGroup::Undo()
{
aCtn[nAction]->Undo();
}
-
}
void SdUndoGroup::Redo()
@@ -60,12 +59,8 @@ void SdUndoGroup::Redo()
{
aCtn[nAction]->Redo();
}
-
}
-void SdUndoGroup::AddAction(SdUndoAction* pAction)
-{
- aCtn.emplace_back(pAction);
-}
+void SdUndoGroup::AddAction(SdUndoAction* pAction) { aCtn.emplace_back(pAction); }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
02:38 +0000'>2012-03-08fold i18npaper into i18nutilCaolán McNamara 2012-03-08de-uno-ize ScriptTypeDetectorCaolán McNamara 2012-03-08forgot to remove x_rtl_ustring.hCaolán McNamara 2012-03-08throw a noncopyable pattern at oneToOneMappingWithFlagCaolán McNamara