diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 2521962c12d6..7701873f32a5 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -862,7 +862,7 @@ void SwDoc::ReplaceDefaults(const SwDoc& rSource) while (aRangeOfDefaults[nRange] != 0) { for (sal_uInt16 nWhich = aRangeOfDefaults[nRange]; - nWhich < aRangeOfDefaults[nRange + 1]; ++nWhich) + nWhich <= aRangeOfDefaults[nRange + 1]; ++nWhich) { const SfxPoolItem& rSourceAttr = rSource.mpAttrPool->GetDefaultItem(nWhich); |