summaryrefslogtreecommitdiff
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:21:22 +0100
commitc3813789af24ae53153e0014ce5e4fff880197a2 (patch)
tree2ee40e30eeabc26a31ff8f4b9abb48c7a7a54fcf
parent6bc967177668bdc2279bc03bf1f7688a1e2a4c47 (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 (cherry picked from commit 3ba58a22bdd51cd4221547e0a0e95b6d2b987358) Signed-off-by: Michael Stahl <mstahl@redhat.com>
-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 76d161955406..f10c00466ac5 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. */