diff options
Diffstat (limited to 'unotools/source/config/searchopt.cxx')
-rw-r--r-- | unotools/source/config/searchopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx index d57713095ef3..3c442ab4ad53 100644 --- a/unotools/source/config/searchopt.cxx +++ b/unotools/source/config/searchopt.cxx @@ -91,7 +91,7 @@ void SvtSearchOptions_Impl::Notify( const Sequence< OUString >& ) bool SvtSearchOptions_Impl::GetFlag( sal_uInt16 nOffset ) const { DBG_ASSERT( nOffset <= MAX_FLAGS_OFFSET, "offset out of range"); - return ((nFlags >> nOffset) & 0x01) ? true : false; + return ((nFlags >> nOffset) & 0x01) != 0; } void SvtSearchOptions_Impl::SetFlag( sal_uInt16 nOffset, bool bVal ) |