diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 10:44:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 16:29:14 +0100 |
commit | c8bdd09ad55349b84a30694f948bce34e06593ca (patch) | |
tree | 37325c0313517b4f971196e5ad8b0e3e7c2ccd3c /sfx2 | |
parent | a8b32cc97aac79729b6561e542ede298d4f96c5a (diff) |
clang: Branch condition evaluates to a garbage value
Change-Id: I522f9e9178dbda466a355bc84d97f5458005e131
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/securitypage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx index f37621e43341..90657d1230c3 100644 --- a/sfx2/source/dialog/securitypage.cxx +++ b/sfx2/source/dialog/securitypage.cxx @@ -287,7 +287,7 @@ void SfxSecurityPage_Impl::Reset_Impl( const SfxItemSet & ) if (m_eRedlingMode != RL_NONE) { - bool bProtection; + bool bProtection(false); QueryRecordChangesProtectionState( m_eRedlingMode, bProtection ); m_pProtectPB->Enable( !bIsReadonly ); |