diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-06-17 13:02:24 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-06-17 13:02:24 +0200 |
commit | bd4594c3ed55af4e6e9d5e22b8af521b876ba203 (patch) | |
tree | 208aa67f8c5475aab8300f13ea933fef5d76c2ef /starmath | |
parent | 3bef5d0c62a84728c5628c593c986b106c8d4285 (diff) | |
parent | c70c03313ae0e4040c1c91eaf497dd1639571ed8 (diff) |
Merge remote-tracking branch 'origin/libreoffice-3-4'
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/toolbox.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx index e398e6313114..68e15f6079d0 100644 --- a/starmath/source/toolbox.cxx +++ b/starmath/source/toolbox.cxx @@ -238,7 +238,7 @@ void SmToolBoxWindow::StateChanged( StateChangedType nStateChange ) void SmToolBoxWindow::AdjustPosSize( 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*/ ) ); OSL_ENSURE( aCatSize.Width() == aCmdSize.Width(), "width mismatch" ); // catalog settings @@ -307,13 +307,13 @@ void SmToolBoxWindow::SetCategory(sal_uInt16 nCategoryRID) switch (nCategoryRID) { case RID_UNBINOPS_CAT : nLines = 4; break; - case RID_RELATIONS_CAT: nLines = 4; break; - case RID_SETOPERATIONS_CAT: nLines = 4; break; - case RID_FUNCTIONS_CAT: nLines = 4; break; + case RID_RELATIONS_CAT: nLines = 5; break; + case RID_SETOPERATIONS_CAT: nLines = 5; break; + case RID_FUNCTIONS_CAT: nLines = 5; break; case RID_OPERATORS_CAT: nLines = 3; break; - case RID_ATTRIBUTES_CAT: nLines = 4; break; + case RID_ATTRIBUTES_CAT: nLines = 5; break; case RID_MISC_CAT: nLines = 4; break; - case RID_BRACKETS_CAT: nLines = 4; break; + case RID_BRACKETS_CAT: nLines = 5; break; case RID_FORMAT_CAT: nLines = 3; break; default: // nothing to be done |