summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-30 09:20:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-30 10:57:04 +0100
commita4b60b78ea36d55a2abf0e5efccd8530568d2209 (patch)
tree9468dc489d37b11e14e190502816f3ed55edd0c9 /sw/inc/editsh.hxx
parent034a462475c2878e1eba13f10b2fcaf8c1755c4a (diff)
loplugin:returnconstant
Change-Id: I5b859de6ccd908eee4356acbe1f12b441ab36df3 Reviewed-on: https://gerrit.libreoffice.org/62539 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx6
1 files changed, 2 insertions, 4 deletions
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