diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-20 21:15:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-22 12:48:27 +0100 |
commit | ae167f81e68fc05693f195fa9a680071b741dcbf (patch) | |
tree | 53f45162b52ce74e708b909a85d3616a9b6cf87a /sw/source/ui/docvw/SidebarTxtControl.cxx | |
parent | a22a7923c05df85a1f9c9435754c5feda66ce576 (diff) |
convert GetSurroundingText family to OUString
Change-Id: Ifbb21fc26eedfde4afe2e3faf637346554f63d94
Diffstat (limited to 'sw/source/ui/docvw/SidebarTxtControl.cxx')
-rw-r--r-- | sw/source/ui/docvw/SidebarTxtControl.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/SidebarTxtControl.cxx b/sw/source/ui/docvw/SidebarTxtControl.cxx index 95cc889c9cee..b26b1b39e503 100644 --- a/sw/source/ui/docvw/SidebarTxtControl.cxx +++ b/sw/source/ui/docvw/SidebarTxtControl.cxx @@ -392,12 +392,11 @@ void SidebarTxtControl::Command( const CommandEvent& rCEvt ) } } -XubString SidebarTxtControl::GetSurroundingText() const +rtl::OUString SidebarTxtControl::GetSurroundingText() const { - if( GetTextView() ) + if (GetTextView()) return GetTextView()->GetSurroundingText(); - else - return XubString::EmptyString(); + return rtl::OUString(); } Selection SidebarTxtControl::GetSurroundingTextSelection() const |