diff options
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index 0323f6d87b73..94fd75e401de 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -1572,13 +1572,12 @@ sal_Bool SwView::HasSelection( sal_Bool bText ) const : GetWrtShell().HasSelection(); } -String SwView::GetSelectionText( sal_Bool bCompleteWrds ) +OUString SwView::GetSelectionText( bool bCompleteWrds ) { - return GetSelectionTextParam( bCompleteWrds, sal_True ); + return GetSelectionTextParam( bCompleteWrds, true ); } -String SwView::GetSelectionTextParam( sal_Bool bCompleteWrds, - sal_Bool bEraseTrail ) +OUString SwView::GetSelectionTextParam( bool bCompleteWrds, bool bEraseTrail ) { String sReturn; if( bCompleteWrds && !GetWrtShell().HasSelection() ) |