summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/view.cxx
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-08-13 23:01:07 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-08-14 13:49:09 +0400
commitdcbad1b3bfe719f4eecdfafe8c78dd01f34b6605 (patch)
treeae7364a355c25d1537b5db19e229958503227441 /sw/source/ui/uiview/view.cxx
parentfb0238d276e5835dbb316a6f4ae383988ed62aee (diff)
convert GetSelectionText... methods to OUString and bool
Change-Id: I77726f009338ae49877c5f58fe6c14d386089bbe
Diffstat (limited to 'sw/source/ui/uiview/view.cxx')
-rw-r--r--sw/source/ui/uiview/view.cxx7
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() )