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 /framework | |
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 'framework')
-rw-r--r-- | framework/source/fwe/helper/undomanagerhelper.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 40d09c187181..72e0f9b66a31 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -76,10 +76,10 @@ namespace framework ); virtual ~UndoActionWrapper(); - virtual OUString GetComment() const; + virtual OUString GetComment() const; virtual void Undo(); virtual void Redo(); - virtual sal_Bool CanRepeat(SfxRepeatTarget&) const; + virtual bool CanRepeat(SfxRepeatTarget&) const; private: const Reference< XUndoAction > m_xUndoAction; @@ -136,7 +136,7 @@ namespace framework } //------------------------------------------------------------------------------------------------------------------ - sal_Bool UndoActionWrapper::CanRepeat(SfxRepeatTarget&) const + bool UndoActionWrapper::CanRepeat(SfxRepeatTarget&) const { return sal_False; } @@ -254,14 +254,14 @@ namespace framework } // SfxUndoListener - virtual void actionUndone( const String& i_actionComment ); - virtual void actionRedone( const String& i_actionComment ); - virtual void undoActionAdded( const String& i_actionComment ); + virtual void actionUndone( const OUString& i_actionComment ); + virtual void actionRedone( const OUString& i_actionComment ); + virtual void undoActionAdded( const OUString& i_actionComment ); virtual void cleared(); virtual void clearedRedo(); virtual void resetAll(); - virtual void listActionEntered( const String& i_comment ); - virtual void listActionLeft( const String& i_comment ); + virtual void listActionEntered( const OUString& i_comment ); + virtual void listActionLeft( const OUString& i_comment ); virtual void listActionLeftAndMerged(); virtual void listActionCancelled(); virtual void undoManagerDying(); @@ -800,7 +800,7 @@ namespace framework } //------------------------------------------------------------------------------------------------------------------ - void UndoManagerHelper_Impl::actionUndone( const String& i_actionComment ) + void UndoManagerHelper_Impl::actionUndone( const OUString& i_actionComment ) { UndoManagerEvent aEvent; aEvent.Source = getXUndoManager(); @@ -811,7 +811,7 @@ namespace framework } //------------------------------------------------------------------------------------------------------------------ - void UndoManagerHelper_Impl::actionRedone( const String& i_actionComment ) + void UndoManagerHelper_Impl::actionRedone( const OUString& i_actionComment ) { UndoManagerEvent aEvent; aEvent.Source = getXUndoManager(); @@ -822,7 +822,7 @@ namespace framework } //------------------------------------------------------------------------------------------------------------------ - void UndoManagerHelper_Impl::undoActionAdded( const String& i_actionComment ) + void UndoManagerHelper_Impl::undoActionAdded( const OUString& i_actionComment ) { if ( m_bAPIActionRunning ) return; @@ -858,7 +858,7 @@ namespace framework } //------------------------------------------------------------------------------------------------------------------ - void UndoManagerHelper_Impl::listActionEntered( const String& i_comment ) + void UndoManagerHelper_Impl::listActionEntered( const OUString& i_comment ) { #if OSL_DEBUG_LEVEL > 0 m_aContextAPIFlags.push( m_bAPIActionRunning ); @@ -871,7 +871,7 @@ namespace framework } //------------------------------------------------------------------------------------------------------------------ - void UndoManagerHelper_Impl::listActionLeft( const String& i_comment ) + void UndoManagerHelper_Impl::listActionLeft( const OUString& i_comment ) { #if OSL_DEBUG_LEVEL > 0 const bool bCurrentContextIsAPIContext = m_aContextAPIFlags.top(); |