diff options
Diffstat (limited to 'xmlsecurity/source/dialogs/macrosecurity.cxx')
-rw-r--r-- | xmlsecurity/source/dialogs/macrosecurity.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index cc12147ad0ee..10b911559f34 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -131,8 +131,8 @@ MacroSecurityLevelTP::MacroSecurityLevelTP(vcl::Window* _pParent, MacroSecurity* mnCurLevel = (sal_uInt16) mpDlg->maSecOptions.GetMacroSecurityLevel(); bool bReadonly = mpDlg->maSecOptions.IsReadOnly( SvtSecurityOptions::E_MACRO_SECLEVEL ); - RadioButton* pCheck = 0; - FixedImage* pImage = 0; + RadioButton* pCheck = nullptr; + FixedImage* pImage = nullptr; switch (mnCurLevel) { case 3: @@ -206,7 +206,7 @@ void MacroSecurityLevelTP::ClosePage() void MacroSecurityTrustedSourcesTP::ImplCheckButtons() { - bool bCertSelected = m_pTrustCertLB->FirstSelected() != NULL; + bool bCertSelected = m_pTrustCertLB->FirstSelected() != nullptr; m_pViewCertPB->Enable( bCertSelected ); m_pRemoveCertPB->Enable( bCertSelected && !mbAuthorsReadonly); |