From a4b60b78ea36d55a2abf0e5efccd8530568d2209 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 30 Oct 2018 09:20:58 +0200 Subject: loplugin:returnconstant Change-Id: I5b859de6ccd908eee4356acbe1f12b441ab36df3 Reviewed-on: https://gerrit.libreoffice.org/62539 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/editsh.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sw/inc/editsh.hxx') diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 36c33afa838b..3da4e3617ca0 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -621,10 +621,8 @@ public: /// Apply ViewOptions with Start-/EndAction. virtual void ApplyViewOptions( const SwViewOption &rOpt ) override; - /** Query text within selection. - @returns FALSE, if selected range is too large to be copied - into string buffer or if other errors occur. */ - bool GetSelectedText( OUString &rBuf, + /** Query text within selection. */ + void GetSelectedText( OUString &rBuf, ParaBreakType nHndlParaBreak = ParaBreakType::ToBlank ); /** @return graphic, if CurrentCursor->Point() points to a SwGrfNode -- cgit