summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
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 );