summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/excel/xistring.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xistring.cxx b/sc/source/filter/excel/xistring.cxx
index 4b06f3447978..096507ba8351 100644
--- a/sc/source/filter/excel/xistring.cxx
+++ b/sc/source/filter/excel/xistring.cxx
@@ -80,7 +80,7 @@ void XclImpString::Read( XclImpStream& rStrm, XclStrFlags nFlags )
maString = rStrm.ReadRawUniString( nChars, b16Bit );
// --- formatting ---
- if( nRunCount > 0 )
+ if (nRunCount)
ReadFormats( rStrm, maFormats, nRunCount );
// --- extended (FarEast) information ---