summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/SidebarTxtControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/docvw/SidebarTxtControl.cxx')
-rw-r--r--sw/source/ui/docvw/SidebarTxtControl.cxx7
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