summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2017-09-16 00:18:56 -0800
committerAndras Timar <andras.timar@collabora.com>2017-09-26 10:36:14 +0200
commitc9c1cdb332796c6601ef713553101ea5c7b086e7 (patch)
tree9a315507de6358dd15c9fd63ec0178794c4e05e8 /svtools
parentc3eefbd9e45598ba06f5741e8ac913ba3c469d09 (diff)
tdf#49634 Fix positioning of focus rectangle in Navigator content tree
https://bugs.documentfoundation.org/show_bug.cgi?id=49634 Change-Id: I3beb41142281b2cda337b457ed287a2cc1f665a6
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 14baee04e1ec..0ee0c866b67c 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3001,6 +3001,8 @@ void SvTreeListBox::PreparePaint(vcl::RenderContext& /*rRenderContext*/, SvTreeL
Rectangle SvTreeListBox::GetFocusRect( SvTreeListEntry* pEntry, long nLine )
{
+ pImpl->UpdateContextBmpWidthMax( pEntry );
+
Size aSize;
Rectangle aRect;
aRect.Top() = nLine;