Kaydet (Commit) dedff8f8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wtautological-constant-out-of-range-compare

Change-Id: I320c11d4b3d295c65dcd966f70a2de4f05926ebb
üst 841b975a
......@@ -1127,7 +1127,8 @@ sal_Bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm, sal_Bool bSwap )
rIStm >> *this;
bRet = ( rIStm.GetError() == 0UL );
}
else if( meType >= SYS_WINMETAFILE && meType <= SYS_MACMETAFILE )
else if( sal::static_int_cast<sal_uLong>(meType) >= SYS_WINMETAFILE
&& sal::static_int_cast<sal_uLong>(meType) <= SYS_MACMETAFILE )
{
Graphic aSysGraphic;
sal_uLong nCvtType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment