summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-28 14:40:06 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-28 14:40:57 +0200
commit3a45897d301c2eb356ef57df0542726afeb8a4ae (patch)
tree3e363c8afbbb874a503fc5149fbb027ebaf7db3f /starmath
parentb521c754cba4ef96cf02e0d8913ffcf14fe168d4 (diff)
starmath: remove hard-coded value
Change-Id: I58dad585c5de24ebd06ce9bcc64e49e8973850bb
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index aa872d753c67..97c66e58da2a 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -622,7 +622,7 @@ SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings* pInputBindings, Sf
{
maElementsControl.SetBorderStyle( WINDOW_BORDER_MONO );
- maElementListBox.SetDropDownLineCount( 10 );
+ maElementListBox.SetDropDownLineCount( SAL_N_ELEMENTS(aCategories) );
for (sal_uInt16 i = 0; i < SAL_N_ELEMENTS(aCategories) ; i++)
{