summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-26 10:44:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-26 16:29:14 +0100
commitc8bdd09ad55349b84a30694f948bce34e06593ca (patch)
tree37325c0313517b4f971196e5ad8b0e3e7c2ccd3c /sfx2
parenta8b32cc97aac79729b6561e542ede298d4f96c5a (diff)
clang: Branch condition evaluates to a garbage value
Change-Id: I522f9e9178dbda466a355bc84d97f5458005e131
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/securitypage.cxx2
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 );