sc/source/core/tool/interpr2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f365cd8754839d6608ba4750e46fb277b5f3df26 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Apr 30 09:26:40 2015 +0200 loplugin:simplifybool Change-Id: I6bedf840c9fc0596b2dccbeb2f304738b74317b2 diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index e331281..4b2420d 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -806,7 +806,7 @@ void ScInterpreter::ScCeil( bool bODFF ) sal_uInt8 nParamCount = GetByte(); if ( MustHaveParamCount( nParamCount, 1, 3 ) ) { - bool bAbs = ( nParamCount == 3 ? GetBool() : false ); + bool bAbs = nParamCount == 3 && GetBool(); double fDec, fVal; if ( nParamCount == 1 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits