[Libreoffice-commits] core.git: sfx2/source

Tarun Kumar tk7ua1678 at gmail.com
Mon Mar 10 03:22:49 PDT 2014


 sfx2/source/doc/oleprops.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3ba58a22bdd51cd4221547e0a0e95b6d2b987358
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

diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx
index 8e09a5b..de15a66 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