summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-11-16 09:02:28 +0000
committerOliver Bolte <obo@openoffice.org>2005-11-16 09:02:28 +0000
commita46dd13fd1fd0bfa7c4381a48863e13b493ce9aa (patch)
tree2e899fce4f4507674b8f29bc852d669a4f7662c1
parent46cf386070b76f65b0dbf3ccbc6f51bf2a480f76 (diff)
INTEGRATION: CWS thaiissues (1.43.428); FILE MERGED
2005/09/29 17:48:19 os 1.43.428.2: RESYNC: (1.43-1.44); FILE MERGED 2005/08/25 13:39:20 os 1.43.428.1: #i42965# enable more than 8 numbering/outline types
-rw-r--r--svx/source/dialog/numpages.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/dialog/numpages.cxx b/svx/source/dialog/numpages.cxx
index ef77595d43b1..52dc79879150 100644
--- a/svx/source/dialog/numpages.cxx
+++ b/svx/source/dialog/numpages.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: numpages.cxx,v $
*
- * $Revision: 1.44 $
+ * $Revision: 1.45 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 21:36:48 $
+ * last change: $Author: obo $ $Date: 2005-11-16 10:02:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -330,7 +330,8 @@ SvxSingleNumPickTabPage::SvxSingleNumPickTabPage(Window* pParent,
aNumberings =
xDefNum->getDefaultContinuousNumberingLevels( aLocale );
- sal_Int32 nLength = aNumberings.getLength() > 8 ? 8 :aNumberings.getLength();
+
+ sal_Int32 nLength = aNumberings.getLength() > NUM_VALUSET_COUNT ? NUM_VALUSET_COUNT :aNumberings.getLength();
const Sequence<PropertyValue>* pValuesArr = aNumberings.getConstArray();
for(sal_Int32 i = 0; i < nLength; i++)