diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-05 16:25:03 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-07 20:00:16 +0000 |
commit | 009851223b5ced4ed2662af2e2ae81c0f9200e45 (patch) | |
tree | a8ab339589ea23b98513d394eabc4f135e69ccae /svx/source/svdraw/sdrundomanager.cxx | |
parent | 35b42a9d1282a92dbc9a7fbc51d279812070688c (diff) |
module svl: all String and some bool and related clean-up
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed
Reviewed-on: https://gerrit.libreoffice.org/4733
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'svx/source/svdraw/sdrundomanager.cxx')
-rw-r--r-- | svx/source/svdraw/sdrundomanager.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/svdraw/sdrundomanager.cxx b/svx/source/svdraw/sdrundomanager.cxx index c28654cb924d..4f97225383bd 100644 --- a/svx/source/svdraw/sdrundomanager.cxx +++ b/svx/source/svdraw/sdrundomanager.cxx @@ -21,10 +21,10 @@ ////////////////////////////////////////////////////////////////////////////// SdrUndoManager::SdrUndoManager(sal_uInt16 nMaxUndoActionCount) -: EditUndoManager(nMaxUndoActionCount), - maEndTextEditHdl(), - mpLastUndoActionBeforeTextEdit(0), - mbEndTextEditTriggeredFromUndo(false) + : EditUndoManager(nMaxUndoActionCount) + , maEndTextEditHdl() + , mpLastUndoActionBeforeTextEdit(0) + , mbEndTextEditTriggeredFromUndo(false) { } @@ -32,11 +32,11 @@ SdrUndoManager::~SdrUndoManager() { } -sal_Bool SdrUndoManager::Undo() +bool SdrUndoManager::Undo() { if(isTextEditActive()) { - sal_Bool bRetval(sal_False); + bool bRetval(false); // we are in text edit mode if(GetUndoActionCount() && mpLastUndoActionBeforeTextEdit != GetUndoAction(0)) @@ -61,9 +61,9 @@ sal_Bool SdrUndoManager::Undo() } } -sal_Bool SdrUndoManager::Redo() +bool SdrUndoManager::Redo() { - sal_Bool bRetval(sal_False); + bool bRetval(false); if(isTextEditActive()) { |