vcl/source/window/decoview.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit d833d695fda3726447a9295cfc679229e554b1ce Author: László Németh <laszlo.nem...@collabora.com> Date: Thu Feb 4 13:07:23 2016 +0100 tdf#97573 Calc tabbar: plus sign with narrower, but min. 2px lines The "New sheet" icon was a thick cross in some environments instead of a plus sign. Change-Id: If5e3ff189b4aca1ef6a61172998675489796934a Reviewed-on: https://gerrit.libreoffice.org/22113 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: László Németh <nem...@numbertext.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx index 538c6b1..d7d6b23 100644 --- a/vcl/source/window/decoview.cxx +++ b/vcl/source/window/decoview.cxx @@ -412,10 +412,10 @@ void ImplDrawSymbol( OutputDevice* pDev, Rectangle nRect, const SymbolType eType break; case SymbolType::PLUS: - pDev->DrawRect( Rectangle( nRect.Left(), aCenter.Y()-n8, - nRect.Right(), aCenter.Y()+n8 ) ); - pDev->DrawRect( Rectangle( aCenter.X()-n8, nRect.Top(), - aCenter.X()+n8, nRect.Bottom() ) ); + pDev->DrawRect( Rectangle( nRect.Left(), aCenter.Y()-n8/2, + nRect.Right()+1, aCenter.Y()+n8/2+1 ) ); + pDev->DrawRect( Rectangle( aCenter.X()-n8/2, nRect.Top(), + aCenter.X()+n8/2+1, nRect.Bottom()+1 ) ); break; case SymbolType::DONTKNOW: case SymbolType::IMAGE:
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits