From dcbad1b3bfe719f4eecdfafe8c78dd01f34b6605 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Tue, 13 Aug 2013 23:01:07 +0400 Subject: convert GetSelectionText... methods to OUString and bool Change-Id: I77726f009338ae49877c5f58fe6c14d386089bbe --- sw/source/ui/uiview/view.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sw/source/ui/uiview') 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() ) -- cgit