summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorHenning Brinkmann <hbrinkm@openoffice.org>2002-11-06 15:26:02 +0000
committerHenning Brinkmann <hbrinkm@openoffice.org>2002-11-06 15:26:02 +0000
commit2b87c41e49b7e3531f652798053faad21d4e6f94 (patch)
tree917d027dcbe77b07434971d292d22d19aa9832a8 /xmloff/source/style
parentf498d6df836c8a0da11197fbb162862a448ab4fc (diff)
#96461# CreateAndInsert: set parent to none
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/prstylei.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index 375c4f6255cb..b066fd5afe1d 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prstylei.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: dvo $ $Date: 2002-01-11 19:08:18 $
+ * last change: $Author: hbrinkm $ $Date: 2002-11-06 16:26:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -306,6 +306,9 @@ void XMLPropStyleContext::CreateAndInsert( sal_Bool bOverwrite )
}
}
+ if (xStyle.is())
+ xStyle->setParentStyle(OUString());
+
FillPropertySet( xPropSet );
}
else