[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sfx2/source
Tarun Kumar
tk7ua1678 at gmail.com
Mon Mar 10 03:24:58 PDT 2014
sfx2/source/doc/oleprops.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c3813789af24ae53153e0014ce5e4fff880197a2
Author: Tarun Kumar <tk7ua1678 at gmail.com>
Date: Fri Mar 7 13:50:40 2014 +0530
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 at redhat.com>
diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx
index 76d1619..f10c004 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. */
More information about the Libreoffice-commits
mailing list