sw/source/filter/ww8/ww8atr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 00acf44e54d600a2051d7011dfaa408c2cd5060c
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Feb 9 10:28:34 2016 +0000

    crashtesting: assert on exporting tdf94913-1.docx to doc
    
    starts with "CITATION ", and not " CITATION ", but I think
    that's ok given the similar test at RES_AUTHORITY
    
    Change-Id: I3c429209e70bac905e87b6919af074e7143e45b0

diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index eb30f1d..d693074 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -1680,7 +1680,7 @@ void WW8Export::OutputField( const SwField* pField, 
ww::eField eFieldType,
             break;
         case ww::eCITATION:
             eFieldType = ww::eQUOTE;
-            assert(rFieldCmd.startsWith(FieldString(ww::eCITATION)));
+            assert(rFieldCmd.trim().startsWith("CITATION"));
             sFieldCmd = rFieldCmd.replaceFirst(FieldString(ww::eCITATION),
                                                FieldString(ww::eQUOTE));
             break;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to