vcl/source/window/toolbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 93a5933060f61a5fb585148e4125a8ab22305259 Author: Noel Power <[email protected]> Date: Fri Nov 25 14:25:46 2011 +0000 really limit special layout to single line non-floating toolbars diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 1016301..3531ea1 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2721,7 +2721,7 @@ void ToolBox::ImplFormat( sal_Bool bResize ) if ( mbHorz ) { it->maCalcRect.Left() = nX; - if ( meLayoutMode == TBX_LAYOUT_TOP && mnLines ) + if ( meLayoutMode == TBX_LAYOUT_TOP && mnLines == 1 ) it->maCalcRect.Top() = nY/2; else it->maCalcRect.Top() = nY+(nLineSize-aCurrentItemSize.Height())/2; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
