summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2011-02-28 16:55:36 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2011-02-28 16:55:36 +0100
commit195eec7512bd8ef30b0232fb474a8998f5dab197 (patch)
tree67311c4ccad62f2afefee239a7c31eaf22efb1d2 /editeng
parent4fba42e5f98fcc0fa9addf41a793c1d7f11602c8 (diff)
parent7d62959d73c2dcc2b453b27f7545d5d1eb402025 (diff)
CWS-TOOLING: integrate CWS sw34bf03
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 8c0e533a40f4..5f2dc3a2d803 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -406,6 +406,8 @@ SvStream& SvxNumberFormat::Store(SvStream &rStream, FontToSubsFontConverter pC
---------------------------------------------------------------------------*/
SvxNumberFormat& SvxNumberFormat::operator=( const SvxNumberFormat& rFormat )
{
+ if (& rFormat == this) { return *this; }
+
SetNumberingType(rFormat.GetNumberingType());
eNumAdjust = rFormat.eNumAdjust ;
nInclUpperLevels = rFormat.nInclUpperLevels ;