[Libreoffice-commits] .: sw/source

David Tardon dtardon at kemper.freedesktop.org
Sun Dec 19 04:14:55 PST 2010


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

New commits:
commit 89b48917f831f7a5c63f7eedd9bb0fadbd7eb5f1
Author: David Tardon <dtardon at redhat.com>
Date:   Sun Dec 19 13:14:46 2010 +0100

    fix assertion

diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx
index 1e4cf6c..b8e4d1c 100644
--- a/sw/source/filter/xml/xmltble.cxx
+++ b/sw/source/filter/xml/xmltble.cxx
@@ -1022,7 +1022,7 @@ void SwXMLExport::ExportTableLines( const SwTableLines& rLines,
                                     SwXMLTableInfo_Impl& rTblInfo,
                                     USHORT nHeaderRows )
 {
-    OSL_ENSURE( pTableLines && pTableLines->Count(),
+    OSL_ENSURE( pTableLines && !pTableLines->empty(),
             "SwXMLExport::ExportTableLines: table columns infos missing" );
     if( !pTableLines || pTableLines->empty() )
         return;


More information about the Libreoffice-commits mailing list