summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index 3f2c333a07d7..d615d860619c 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -799,7 +799,7 @@ Xst::Print( FILE* fp )
indent_printf( fp, " %s", rtl::OUStringToOString( sString, RTL_TEXTENCODING_UTF8 ).getStr() );
}
-Tcg::Tcg() : nTcgVer( 255 )
+Tcg::Tcg() : nTcgVer( -1 )
{
}
@@ -808,7 +808,7 @@ bool Tcg::Read(SvStream &rS)
OSL_TRACE("Tcg::Read() stream pos 0x%x", rS.Tell() );
nOffSet = rS.Tell();
rS >> nTcgVer;
- if ( nTcgVer != (sal_Int8)255 )
+ if ( nTcgVer != -1 )
return false;
tcg.reset( new Tcg255() );
return tcg->Read( rS );