diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-12 09:14:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-12 12:06:10 +0200 |
commit | 76c4ed30437125a922936c036a3dc57441938c61 (patch) | |
tree | 89730a7d100f2a2e3f0873fcecb624ccf06034be /vcl/source/treelist | |
parent | 953db3ca96d0055a83f718794416a9e39b0b20ce (diff) |
Revert "improve empty tools::Rectangle (width)"
This reverts commit a46a257794f1f53b294735fc876c394be23a3811.
Too many issues, I'm going to try landing this in smaller pieces to make it easier to fix regressions
Change-Id: Ie5e8979838017af86c119c887b580385ba068d54
Reviewed-on: https://gerrit.libreoffice.org/73859
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/treelist')
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 0038bef7c169..35ef312d9687 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -2769,7 +2769,7 @@ void SvTreeListBox::PaintEntry1(SvTreeListEntry& rEntry, long nLine, vcl::Render { rRenderContext.SetFillColor(aBackgroundColor); // this case may occur for smaller horizontal resizes - if (!aRect.IsEmpty() && (aRect.Left() < aRect.Right())) + if (aRect.Left() < aRect.Right()) rRenderContext.DrawRect(aRect); } } |