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 /sd/source/ui/view/sdwindow.cxx | |
parent | a22a7923c05df85a1f9c9435754c5feda66ce576 (diff) |
convert GetSurroundingText family to OUString
Change-Id: Ifbb21fc26eedfde4afe2e3faf637346554f63d94
Diffstat (limited to 'sd/source/ui/view/sdwindow.cxx')
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index 0590702f158d..f070b10cfa6d 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -1179,21 +1179,16 @@ void Window::DropScroll(const Point& rMousePos) } } -XubString Window::GetSurroundingText() const +rtl::OUString Window::GetSurroundingText() const { if ( mpViewShell->GetShellType() == ViewShell::ST_OUTLINE ) - { - return XubString(); - } + return rtl::OUString(); else if ( mpViewShell->GetView()->IsTextEdit() ) { OutlinerView *pOLV = mpViewShell->GetView()->GetTextEditOutlinerView(); return pOLV->GetEditView().GetSurroundingText(); } - else - { - return XubString(); - } + return rtl::OUString(); } Selection Window::GetSurroundingTextSelection() const |