summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textsh1.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-03 13:18:26 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-03 13:18:26 +0000
commit9a0e896b0f1bba2c72d6ef6a19d992e58d855791 (patch)
treebfee19fb22ca91cfe6c2102b3b641ca3b06c59f8 /sw/source/ui/shells/textsh1.cxx
parent5af9a6f2409723045e34c70b42b43fe4d19bdf22 (diff)
INTEGRATION: CWS c07v013_SRC680 (1.53.48.1.66); FILE MERGED
2007/06/11 10:14:49 od 1.53.48.1.66.1: #b6560525# method <SwTextShell::Execute(..)>, slot SID_PARA_DLG - default value for numbering restart value has to be USHRT_MAX
Diffstat (limited to 'sw/source/ui/shells/textsh1.cxx')
-rw-r--r--sw/source/ui/shells/textsh1.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index b9804b7f91..3d57697b41 100644
--- a/sw/source/ui/shells/textsh1.cxx
+++ b/sw/source/ui/shells/textsh1.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: textsh1.cxx,v $
*
- * $Revision: 1.57 $
+ * $Revision: 1.58 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 13:26:08 $
+ * last change: $Author: rt $ $Date: 2007-07-03 14:18:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -982,7 +982,12 @@ void SwTextShell::Execute(SfxRequest &rReq)
//if it's set to something different than USHRT_MAX
BOOL bStart = ((SfxBoolItem&)pSet->Get(FN_NUMBER_NEWSTART)).GetValue();
- USHORT nNumStart = 1;
+ // --> OD 2007-06-11 #b6560525#
+ // Default value for restart value has to be USHRT_MAX
+ // in order to indicate that the restart value of the list
+ // style has to be used on restart.
+ USHORT nNumStart = USHRT_MAX;
+ // <--
if( SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART_AT) )
{
nNumStart = ((SfxUInt16Item&)pSet->Get(FN_NUMBER_NEWSTART_AT)).GetValue();