diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 11:38:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:44 +0100 |
commit | f276c0057c81daaa71f4b5e380f045d6b576db42 (patch) | |
tree | de1696452bce05333c6af8788eeb369f03fe0b65 /rsc/inc | |
parent | cedba3ffd897139a79d90d0e7192e5dd91aa7f14 (diff) |
Be explicit when using bool as integral value
Change-Id: I0712b56dbcf8508876ed6eca5e0f02d85b35af67
Diffstat (limited to 'rsc/inc')
-rw-r--r-- | rsc/inc/rscflag.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/inc/rscflag.hxx b/rsc/inc/rscflag.hxx index aefbf0de135a..12a1afb287ec 100644 --- a/rsc/inc/rscflag.hxx +++ b/rsc/inc/rscflag.hxx @@ -86,7 +86,7 @@ public: ERRTYPE SetBool( const RSCINST & rInst, bool bValue ) { if( bValue ) - return( pRefClass->SetConst( rInst, nConstId, bValue ) ); + return( pRefClass->SetConst( rInst, nConstId, sal_Int32(bValue) ) ); else return( pRefClass-> SetNotConst( rInst, nConstId ) ); |