diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-10-24 15:24:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-24 16:05:48 +0200 |
commit | 9a8662c5ccb7c2f650ff27af62eb569fc37c448f (patch) | |
tree | 1e800206fed6cd3c035fb1ba5844069fa761954d /svl | |
parent | 49a92ab374280eb340d8566d0ccc211a7fb52768 (diff) |
PasswordContainer::allowPersistentStoring: fix warning C4805
Change-Id: I8e2208bd054272ef6b461eadf1244e84968e8737
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 7280a047f1f4..ed9435308dda 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -1256,7 +1256,7 @@ void SAL_CALL PasswordContainer::removeMasterPassword() if ( !bAllow ) removeMasterPassword(); - if ( m_pStorageFile->useStorage() == bAllow ) + if (m_pStorageFile->useStorage() == static_cast<bool>(bAllow)) return bAllow; m_pStorageFile->setUseStorage( bAllow ); |