summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 09:19:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 09:49:01 +0200
commit1cb0b37ad09400138d7c4a5874c02f921e742d37 (patch)
tree952eabf4c88a16971a14723b83ae5da1557e1d85 /package
parent61b44da9fbf35100ac96896f04dee5b779305d68 (diff)
Rephrase comparisons between bool and sal_Bool
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I88c0c4681137022005c3a4c418e91cb17bc17148
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/xstorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index c499e019fe6b..63158f6bd7f5 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -4124,7 +4124,7 @@ void SAL_CALL OStorage::setModified( sal_Bool bModified )
if ( m_pData->m_bReadOnlyWrap )
throw beans::PropertyVetoException( THROW_WHERE ); // TODO: access denied
- if ( (m_pImpl->m_bIsModified ? 1 : 0) != bModified )
+ if ( m_pImpl->m_bIsModified != bool(bModified) )
m_pImpl->m_bIsModified = bModified;
aGuard.clear();