diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-26 13:27:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 10:24:14 +0100 |
commit | 8be5a49f377e5451da953aee598fd22f9665fbd6 (patch) | |
tree | d8aad16822c91a6a3115824e3840530e4d59a012 /sc/source/ui/view/output.cxx | |
parent | 814e50e6622ea9701094f3ec309a395d175c494f (diff) |
drop old tools/gen.hxx methods in sc
Change-Id: I3652c0a35a6873e80ee22d908a8969d09410776b
Reviewed-on: https://gerrit.libreoffice.org/50361
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/output.cxx')
-rw-r--r-- | sc/source/ui/view/output.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index e01710039ad3..9bf0c94d3b88 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -833,7 +833,7 @@ void drawDataBars(vcl::RenderContext& rRenderContext, const ScDataBarInfo* pOldD tools::Rectangle aPaintRect = rRect; aPaintRect.AdjustTop(2 * nOneY ); aPaintRect.AdjustBottom( -(2 * nOneY) ); - aPaintRect.Left() += 2 * nOneX; + aPaintRect.AdjustLeft( 2 * nOneX ); aPaintRect.AdjustRight( -(2 * nOneX) ); if(pOldDataBarInfo->mnZero) { |