[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Mon Dec 22 01:37:05 PST 2014
sc/source/filter/xcl97/XclImpChangeTrack.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 471a33d9d62d20bae80da8f65843dfbb71eb9152
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Dec 22 11:36:06 2014 +0200
WaE: variable ´nOldSize´ set but not used
Change-Id: Ibb687fcd986e71c796caa9ad7fbdd7ec0df908ba
diff --git a/sc/source/filter/xcl97/XclImpChangeTrack.cxx b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
index 3d3a349..9fcd029 100644
--- a/sc/source/filter/xcl97/XclImpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclImpChangeTrack.cxx
@@ -357,7 +357,8 @@ void XclImpChangeTrack::ReadChTrCellContent()
Read2DAddress( aPosition );
sal_uInt16 nOldSize;
nOldSize = pStrm->ReaduInt16();
- OSL_ENSURE( (nOldSize == 0) == (nOldValueType == EXC_CHTR_TYPE_EMPTY),
+ SAL_WARN_IF( (nOldSize == 0) != (nOldValueType == EXC_CHTR_TYPE_EMPTY),
+ "sc.xcl97",
"XclImpChangeTrack::ReadChTrCellContent - old value mismatch" );
pStrm->Ignore( 4 );
switch( nValueType & EXC_CHTR_TYPE_FORMATMASK )
More information about the Libreoffice-commits
mailing list