[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - sfx2/source

Tarun Kumar tk7ua1678 at gmail.com
Mon Mar 10 03:50:31 PDT 2014


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

New commits:
commit 748a8e9c79760def8ab3d25312dc5118492b501a
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.
    
    (cherry picked from commit 3ba58a22bdd51cd4221547e0a0e95b6d2b987358)
    Signed-off-by: Michael Stahl <mstahl at redhat.com>
    
    Conflicts:
    	sfx2/source/doc/oleprops.hxx
    
    Change-Id: I7aafe0c0be02a98fa6e72d73e9e4348a015da61f

diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx
index f61ce8a..bd49417 100644
--- a/sfx2/source/doc/oleprops.hxx
+++ b/sfx2/source/doc/oleprops.hxx
@@ -305,7 +305,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 String& rValue, bool bSkipEmpty = true );
+    bool                SetStringValue( sal_Int32 nPropId, const String& 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