summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/docundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/docundo.cxx')
-rw-r--r--sw/source/core/undo/docundo.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx
index fff78e4da186..cbe642c511c4 100644
--- a/sw/source/core/undo/docundo.cxx
+++ b/sw/source/core/undo/docundo.cxx
@@ -422,7 +422,7 @@ void UndoManager::EnableUndo(bool bEnable)
SdrUndoManager::EnableUndo(bEnable);
}
-void UndoManager::AddUndoAction(SfxUndoAction *pAction, sal_Bool bTryMerge)
+void UndoManager::AddUndoAction(SfxUndoAction *pAction, bool bTryMerge)
{
SwUndo *const pUndo( dynamic_cast<SwUndo *>(pAction) );
if (pUndo)
@@ -522,7 +522,7 @@ bool UndoManager::impl_DoUndoRedo(UndoOrRedo_t const undoOrRedo)
return bRet;
}
-sal_Bool UndoManager::Undo()
+bool UndoManager::Undo()
{
if(isTextEditActive())
{
@@ -534,7 +534,7 @@ sal_Bool UndoManager::Undo()
}
}
-sal_Bool UndoManager::Redo()
+bool UndoManager::Redo()
{
if(isTextEditActive())
{
@@ -551,9 +551,8 @@ sal_Bool UndoManager::Redo()
calling EnterListAction here will cause SdrUndoManager::Repeat
to repeat the list action!
*/
-bool
-UndoManager::Repeat(::sw::RepeatContext & rContext,
- sal_uInt16 const nRepeatCount)
+bool UndoManager::Repeat(::sw::RepeatContext & rContext,
+ sal_uInt16 const nRepeatCount)
{
if (SdrUndoManager::IsInListAction())
{