[Libreoffice-commits] core.git: o3tl/qa

Noel Grandin noel at peralex.com
Tue Oct 14 05:38:03 PDT 2014


 o3tl/qa/test-typed_flags.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9a5e03b8c9d422de43e899e3f880a03dc5c50d84
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Oct 14 14:36:44 2014 +0200

    need explicit bool conversions here
    
    to make some tinderboxes happy
    
    Change-Id: I136895674cec8eda874acda0bf5c7a96b3a22778

diff --git a/o3tl/qa/test-typed_flags.cxx b/o3tl/qa/test-typed_flags.cxx
index de6e080..d5b5ff7 100644
--- a/o3tl/qa/test-typed_flags.cxx
+++ b/o3tl/qa/test-typed_flags.cxx
@@ -42,10 +42,10 @@ public:
         CPPUNIT_ASSERT( ~ConfigurationChangedHint::ONE );
 
         nHint |= ConfigurationChangedHint::ONE;
-        CPPUNIT_ASSERT( nHint |= ConfigurationChangedHint::ONE );
+        CPPUNIT_ASSERT( bool(nHint |= ConfigurationChangedHint::ONE) );
 
         nHint &= ConfigurationChangedHint::ONE;
-        CPPUNIT_ASSERT( nHint &= ConfigurationChangedHint::ONE );
+        CPPUNIT_ASSERT( bool(nHint &= ConfigurationChangedHint::ONE) );
     }
 
     // Change the following lines only, if you add, remove or rename


More information about the Libreoffice-commits mailing list