diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-14 08:34:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-14 14:34:09 +0100 |
commit | c182a752412aab354aaf02ee0c75b7cb1ee35d66 (patch) | |
tree | e4ee080ed6a7c5f665a33c52ad9d1e3a56b6031b /editeng | |
parent | 28062c62818ce40c17fb67b480612f8bb9bcd522 (diff) |
convert GetComment family to rtl::OUString
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/editund2.hxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editundo.cxx | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/editeng/inc/editeng/editund2.hxx b/editeng/inc/editeng/editund2.hxx index 6411da8ac5e0..3ce3cc2f07ff 100644 --- a/editeng/inc/editeng/editund2.hxx +++ b/editeng/inc/editeng/editund2.hxx @@ -66,7 +66,7 @@ public: virtual void Redo() = 0; virtual sal_Bool CanRepeat(SfxRepeatTarget&) const; - virtual String GetComment() const; + virtual rtl::OUString GetComment() const; virtual sal_uInt16 GetId() const; }; diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx index d44a173bf9bd..1db4c18412f1 100644 --- a/editeng/source/editeng/editundo.cxx +++ b/editeng/source/editeng/editundo.cxx @@ -148,10 +148,11 @@ sal_Bool EditUndo::CanRepeat(SfxRepeatTarget&) const return sal_False; } -XubString EditUndo::GetComment() const +rtl::OUString EditUndo::GetComment() const { - String aComment; - if ( mpEditEngine ) + rtl::OUString aComment; + + if (mpEditEngine) aComment = mpEditEngine->GetUndoComment( GetId() ); return aComment; |