Set initial size to 5 lines for math toolbox
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1858700 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/main/starmath/source/toolbox.cxx b/main/starmath/source/toolbox.cxx
index 7732287..dde2a52 100644
--- a/main/starmath/source/toolbox.cxx
+++ b/main/starmath/source/toolbox.cxx
@@ -256,7 +256,7 @@
void SmToolBoxWindow::AdjustPosSize( sal_Bool bSetPos )
{
Size aCatSize( aToolBoxCat.CalcWindowSizePixel( 2 ) );
- Size aCmdSize( pToolBoxCmd->CalcWindowSizePixel( 4 /* see nLines in SetCategory */ ) );
+ Size aCmdSize( pToolBoxCmd->CalcWindowSizePixel( 5 /* see nLines in SetCategory */ ) );
DBG_ASSERT( aCatSize.Width() == aCmdSize.Width(), "width mismatch" );
// catalog settings
@@ -324,7 +324,7 @@
// check for valid resource id
switch (nCategoryRID)
{
- case RID_UNBINOPS_CAT : nLines = 4; break;
+ case RID_UNBINOPS_CAT : nLines = 5; break;
case RID_RELATIONS_CAT: nLines = 5; break;
case RID_SETOPERATIONS_CAT: nLines = 5; break;
case RID_FUNCTIONS_CAT: nLines = 5; break;