diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 09:20:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 10:57:04 +0100 |
commit | a4b60b78ea36d55a2abf0e5efccd8530568d2209 (patch) | |
tree | 9468dc489d37b11e14e190502816f3ed55edd0c9 /canvas/source/vcl/textlayout.cxx | |
parent | 034a462475c2878e1eba13f10b2fcaf8c1755c4a (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 'canvas/source/vcl/textlayout.cxx')
-rw-r--r-- | canvas/source/vcl/textlayout.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx index 1a659f463ab7..18307fce9c0a 100644 --- a/canvas/source/vcl/textlayout.cxx +++ b/canvas/source/vcl/textlayout.cxx @@ -321,7 +321,7 @@ namespace vclcanvas return maText; } - bool TextLayout::draw( OutputDevice& rOutDev, + void TextLayout::draw( OutputDevice& rOutDev, const Point& rOutpos, const rendering::ViewState& viewState, const rendering::RenderState& renderState ) const @@ -352,8 +352,6 @@ namespace vclcanvas ::canvas::tools::numeric_cast<sal_uInt16>(maText.StartPosition), ::canvas::tools::numeric_cast<sal_uInt16>(maText.Length) ); } - - return true; } namespace |