summaryrefslogtreecommitdiff
path: root/svx/source/dialog/numpages.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-05-18 13:06:14 +0000
committerOliver Specht <os@openoffice.org>2001-05-18 13:06:14 +0000
commit885e16801a26cd66cbf598476b9195a6da733ae7 (patch)
treec9437d4ceb7d7f98c05fe5ef0de9b5c4cd79e6db /svx/source/dialog/numpages.cxx
parentd5715eb99a1000375db43db792dedcabb4295988 (diff)
#86455# suffix/prefix corrected
Diffstat (limited to 'svx/source/dialog/numpages.cxx')
-rw-r--r--svx/source/dialog/numpages.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/numpages.cxx b/svx/source/dialog/numpages.cxx
index 87fe3f02323a..da21f61b46f3 100644
--- a/svx/source/dialog/numpages.cxx
+++ b/svx/source/dialog/numpages.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: numpages.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: os $ $Date: 2001-05-11 07:41:52 $
+ * last change: $Author: os $ $Date: 2001-05-18 14:06:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -493,7 +493,7 @@ IMPL_LINK(SvxSingleNumPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG)
SvxNumSettings_ImplPtr pSet = aNumSettingsArr.GetObject(nIdx);
SvxExtNumType eNewType = (SvxExtNumType)pSet->nNumberType;
const sal_Unicode cPrefix = pSet->sPrefix.getLength() ? pSet->sPrefix.getStr()[0] : 0;
- const sal_Unicode cSuffix = pSet->sPrefix.getLength() ? pSet->sSuffix.getStr()[0] : 0;
+ const sal_Unicode cSuffix = pSet->sSuffix.getLength() ? pSet->sSuffix.getStr()[0] : 0;
USHORT nMask = 1;
for(USHORT i = 0; i < pActNum->GetLevelCount(); i++)
@@ -506,11 +506,11 @@ IMPL_LINK(SvxSingleNumPickTabPage, NumSelectHdl_Impl, ValueSet*, EMPTYARG)
if(cPrefix == ' ')
aFmt.SetPrefix( aEmptyStr );
else
- aFmt.SetPrefix( String( cPrefix ) );
+ aFmt.SetPrefix(pSet->sPrefix);
if(cSuffix == ' ')
aFmt.SetSuffix( aEmptyStr );
else
- aFmt.SetSuffix( String( cSuffix ) );
+ aFmt.SetSuffix(pSet->sSuffix);
aFmt.SetCharFmtName(sNumCharFmtName);
pActNum->SetLevel(i, aFmt);
}