summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/OOXMLPropertySet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLPropertySet.cxx')
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySet.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.cxx b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
index 4947eef47475..bd80f8dc5112 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
@@ -382,9 +382,15 @@ void OOXMLPropertySet::add(const OOXMLProperty::Pointer_t& pProperty)
}
}
+void OOXMLPropertySet::add(Id id, const OOXMLValue::Pointer_t& pValue, OOXMLProperty::Type_t eType)
+{
+ OOXMLProperty::Pointer_t pProperty(new OOXMLProperty(id, pValue, eType));
+ add(pProperty);
+}
+
void OOXMLPropertySet::add(const OOXMLPropertySet::Pointer_t& pPropertySet)
{
- OOXMLPropertySet * pSet = pPropertySet.get();
+ const OOXMLPropertySet * pSet = pPropertySet.get();
if (pSet != nullptr)
{