summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edundo.cxx')
-rw-r--r--sw/source/core/edit/edundo.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/core/edit/edundo.cxx b/sw/source/core/edit/edundo.cxx
index 58b8af364f45..4591c535d6a5 100644
--- a/sw/source/core/edit/edundo.cxx
+++ b/sw/source/core/edit/edundo.cxx
@@ -132,8 +132,7 @@ bool SwEditShell::Undo(sal_uInt16 const nCount)
|| bRet;
}
} catch (const css::uno::Exception & e) {
- SAL_WARN("sw.core",
- "SwEditShell::Undo(): exception caught: " << e.Message);
+ SAL_WARN("sw.core", "SwEditShell::Undo(): exception caught: " << e);
}
if (bRestoreCursor)
@@ -188,8 +187,7 @@ bool SwEditShell::Redo(sal_uInt16 const nCount)
|| bRet;
}
} catch (const css::uno::Exception & e) {
- SAL_WARN("sw.core",
- "SwEditShell::Redo(): exception caught: " << e.Message);
+ SAL_WARN("sw.core", "SwEditShell::Redo(): exception caught: " << e);
}
Pop((bRestoreCursor) ? PopMode::DeleteCurrent : PopMode::DeleteStack);
@@ -218,8 +216,7 @@ bool SwEditShell::Repeat(sal_uInt16 const nCount)
bRet = GetDoc()->GetIDocumentUndoRedo().Repeat( context, nCount )
|| bRet;
} catch (const css::uno::Exception & e) {
- SAL_WARN("sw.core",
- "SwEditShell::Repeat(): exception caught: " << e.Message);
+ SAL_WARN("sw.core", "SwEditShell::Repeat(): exception caught: " << e);
}
EndAllAction();