diff options
author | Jim Raykowski <raykowj@gmail.com> | 2017-09-16 00:18:56 -0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-09-26 13:56:19 +0200 |
commit | 0b4bf5840e15e56cf5ebcda06fe567cd8ca0034c (patch) | |
tree | 52f89ccc5147c6f05f6402d5136568e00081316c /svtools | |
parent | 54675b2a44c99d0956c899661bcad9813e6303f5 (diff) |
tdf#49634 Fix positioning of focus rectangle in Navigator content tree
https://bugs.documentfoundation.org/show_bug.cgi?id=49634
Change-Id: I3beb41142281b2cda337b457ed287a2cc1f665a6
Reviewed-on: https://gerrit.libreoffice.org/42364
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 4c2b8806e47c..1264a1a9f745 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -2953,6 +2953,8 @@ void SvTreeListBox::PreparePaint(vcl::RenderContext& /*rRenderContext*/, SvTreeL tools::Rectangle SvTreeListBox::GetFocusRect( SvTreeListEntry* pEntry, long nLine ) { + pImpl->UpdateContextBmpWidthMax( pEntry ); + Size aSize; tools::Rectangle aRect; aRect.Top() = nLine; |