summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTarun Kumar <tk7ua1678@gmail.com>2014-03-07 13:50:40 +0530
committerMichael Stahl <mstahl@redhat.com>2014-03-10 11:18:45 +0100
commit3ba58a22bdd51cd4221547e0a0e95b6d2b987358 (patch)
tree96482ea7e865e8812a60633774e12cc07164f95f /sfx2
parentbbd7d3a2629a9352374c5d3a1377f9a2bfef8933 (diff)
fdo#75243: MSO export: save custom properties with empty value
LO removes empty properties while saving the doc. This is required in some business scenarios. bSkipEmpty is set to false by default to enable LibreOffice to save even empty properties. Change-Id: I7aafe0c0be02a98fa6e72d73e9e4348a015da61f
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/oleprops.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx
index 8e09a5be2164..de15a66c079a 100644
--- a/sfx2/source/doc/oleprops.hxx
+++ b/sfx2/source/doc/oleprops.hxx
@@ -310,7 +310,7 @@ public:
void SetBoolValue( sal_Int32 nPropId, bool bValue );
/** Inserts a string property with the passed value.
@return true = Property inserted; false = String was empty, property not inserted. */
- bool SetStringValue( sal_Int32 nPropId, const OUString& rValue, bool bSkipEmpty = true );
+ bool SetStringValue( sal_Int32 nPropId, const OUString& rValue, bool bSkipEmpty = false );
/** Inserts a time stamp property with the passed value. */
void SetFileTimeValue( sal_Int32 nPropId, const ::com::sun::star::util::DateTime& rValue );
/** Inserts a date property with the passed value. */