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

loplugin:simplifybool

Change-Id: I6bedf840c9fc0596b2dccbeb2f304738b74317b2
üst f3bf0319
...@@ -806,7 +806,7 @@ void ScInterpreter::ScCeil( bool bODFF ) ...@@ -806,7 +806,7 @@ void ScInterpreter::ScCeil( bool bODFF )
sal_uInt8 nParamCount = GetByte(); sal_uInt8 nParamCount = GetByte();
if ( MustHaveParamCount( nParamCount, 1, 3 ) ) if ( MustHaveParamCount( nParamCount, 1, 3 ) )
{ {
bool bAbs = ( nParamCount == 3 ? GetBool() : false ); bool bAbs = nParamCount == 3 && GetBool();
double fDec, fVal; double fDec, fVal;
if ( nParamCount == 1 ) if ( nParamCount == 1 )
{ {
......
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