summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/defaultproperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/properties/defaultproperties.cxx')
-rw-r--r--svx/source/sdr/properties/defaultproperties.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx
index 40675946848d..0e459d87f9ad 100644
--- a/svx/source/sdr/properties/defaultproperties.cxx
+++ b/svx/source/sdr/properties/defaultproperties.cxx
@@ -246,7 +246,10 @@ namespace sdr::properties
{
(void)xmlTextWriterStartElement(pWriter, BAD_CAST("DefaultProperties"));
BaseProperties::dumpAsXml(pWriter);
- mpItemSet->dumpAsXml(pWriter);
+ if (mpItemSet)
+ {
+ mpItemSet->dumpAsXml(pWriter);
+ }
(void)xmlTextWriterEndElement(pWriter);
}
} // end of namespace