diff options
Diffstat (limited to 'sw/source/filter/ww8/writerwordglue.cxx')
-rw-r--r-- | sw/source/filter/ww8/writerwordglue.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx index a515b2c44503..2e08a761ba68 100644 --- a/sw/source/filter/ww8/writerwordglue.cxx +++ b/sw/source/filter/ww8/writerwordglue.cxx @@ -734,7 +734,7 @@ namespace sw sal_uInt16 nDocLang) { // tell the Formatter about the new entry - sal_uInt16 nCheckPos = 0; + sal_Int32 nCheckPos = 0; short nType = NUMBERFORMAT_DEFINED; sal_uInt32 nKey = 0; @@ -949,7 +949,9 @@ namespace sw if (bHijri) rParams.Insert(rtl::OUString("[~hijri]"), 0); - pFormatter->PutEntry(rParams, nCheckPos, nType, nKey, rLang); + OUString sTemp(rParams); + pFormatter->PutEntry(sTemp, nCheckPos, nType, nKey, rLang); + rParams = sTemp; return nKey; } |