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

Tor Lillqvist tml at collabora.com
Fri Dec 19 04:02:48 PST 2014


 sc/source/filter/excel/xiescher.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 28ff5d52c33e240f5afb2ab1547abe88f4ba7a4d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Dec 19 13:55:10 2014 +0200

    WaE: variable 'nBofType' set but not used
    
    Change-Id: I4f0db469beb7ed3ca4b32f3d44f22f34a4d7a54b

diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 594f28c..f45a8b5 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -1624,7 +1624,7 @@ void XclImpChartObj::ReadChartSubStream( XclImpStream& rStrm )
             sal_uInt16 nBofType;
             rStrm.Seek( 2 );
             nBofType = rStrm.ReaduInt16();
-            DBG_ASSERT( nBofType == EXC_BOF_CHART, "XclImpChartObj::ReadChartSubStream - no chart BOF record" );
+            SAL_WARN_IF( nBofType != EXC_BOF_CHART, "sc.filter", "XclImpChartObj::ReadChartSubStream - no chart BOF record" );
         }
         else
         {


More information about the Libreoffice-commits mailing list