diff options
Diffstat (limited to 'sw/source/ui/uiview/view.cxx')
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index 93e643a0c606..10d7fa98c22c 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -1582,7 +1582,7 @@ String SwView::GetSelectionTextParam( sal_Bool bCompleteWrds, GetWrtShell().GetSelectedText( sReturn ); if( bEraseTrail ) - sReturn.EraseTrailingChars(); + sReturn = comphelper::string::stripEnd(sReturn, ' '); return sReturn; } |