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

-Werror,-Wformat

Change-Id: I8ac3c45b83961541c4b5d9b2d5dc7193013d806d
üst 3c63480d
......@@ -345,7 +345,7 @@ void SwImplProtocol::CheckLine( OString& rLine )
}
if( !aTok.isEmpty() )
{
sal_uLong nVal;
long nVal;
sscanf( aTok.getStr(), "%li", &nVal );
switch ( nInitFile )
{
......@@ -362,9 +362,9 @@ void SwImplProtocol::CheckLine( OString& rLine )
case 3: {
sal_uLong nOld = SwProtocol::Record();
if( bNo )
nOld &= ~nVal; // remove function
nOld &= ~sal_uLong(nVal); // remove function
else
nOld |= nVal; // remove function
nOld |= sal_uLong(nVal); // remove function
SwProtocol::SetRecord( nOld );
}
break;
......@@ -378,7 +378,7 @@ void SwImplProtocol::CheckLine( OString& rLine )
break;
case 5: nMaxLines = (sal_uInt16)nVal;
break;
case 6: aVars.push_back( (long)nVal );
case 6: aVars.push_back( nVal );
break;
}
}
......
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