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

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Dec 7 15:40:41 PST 2013


 xmloff/source/text/txtparae.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8248a32f499f4c4eaf6b7dbd7acead3370fdde54
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Dec 8 00:38:30 2013 +0100

    this assert is wrong
    
    In calc it seems that shapes can have no autostyle.
    e.g. exporting fdo60469-74405.xlsx to ods
    
    Change-Id: Ie0b2888094ba40a89748a070ca2d14f4078da619

diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 32ff3ad..8ee117d 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -794,7 +794,7 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink(
         }
         OUString sParent; // AutoStyles should not have parents!
         sName = GetAutoStylePool().Find( XML_STYLE_FAMILY_TEXT_TEXT, sParent, xPropStates );
-        assert(!sName.isEmpty()); // AutoStyle could not be found
+        // assert(!sName.isEmpty()); // AutoStyle could not be found
         rbHasAutoStyle = sal_True;
     }
 


More information about the Libreoffice-commits mailing list