svtools/source/contnr/svimpbox.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
New commits: commit 03569dc7d38e4edf3f3e50f7dff3252116c28ab1 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Aug 15 11:12:55 2013 +0100 I hate the positioning of the expander checkitem in hierarchical view this code is nigh unreadable, so hard to know if there are side-effects but it definitely to my mind looks better in styles and formatting and the case with an additional bitmap e.g. macros->organize remains visually unchanged, so seems ok Change-Id: I52ef7768ef30f9eb253ac9e7c56cac62549d4905 diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index 7203117..275706f 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -1602,12 +1602,8 @@ void SvImpLBox::SetNodeBmpYOffset( const Image& rBmp ) void SvImpLBox::SetNodeBmpTabDistance() { nNodeBmpTabDistance = -pView->GetIndent(); - if( pView->nContextBmpWidthMax ) - { - // only if the first dynamic tab is centered (we currently assume that) - Size aSize = GetExpandedNodeBmp().GetSizePixel(); - nNodeBmpTabDistance -= aSize.Width() / 2; - } + Size aSize = GetExpandedNodeBmp().GetSizePixel(); + nNodeBmpTabDistance -= aSize.Width() / 2; } //
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits