summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/macroass.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:13:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:22 +0100
commitb58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 (patch)
treebc7dcc71437367b193cb18dc5011c98ceb8c2c8b /cui/source/tabpages/macroass.cxx
parent5185569e502240a064ef78d06d9de7fbbd93f3b6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7257532b90e3e393d56d5349531c9ad397523bca
Diffstat (limited to 'cui/source/tabpages/macroass.cxx')
-rw-r--r--cui/source/tabpages/macroass.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 339d6418c5ef..5e599ae4788f 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -62,13 +62,13 @@ public:
};
_SfxMacroTabPage_Impl::_SfxMacroTabPage_Impl()
- : pAssignPB(NULL)
- , pDeletePB(NULL)
- , pEventLB(NULL)
- , pGroupFrame(NULL)
- , pGroupLB(NULL)
- , pMacroFrame(NULL)
- , pMacroLB(NULL)
+ : pAssignPB(nullptr)
+ , pDeletePB(nullptr)
+ , pEventLB(nullptr)
+ , pGroupFrame(nullptr)
+ , pGroupLB(nullptr)
+ , pMacroFrame(nullptr)
+ , pMacroLB(nullptr)
, bReadOnly(false)
, bGotEvents(false)
, m_bDummyActivated(false)
@@ -124,7 +124,7 @@ void _SfxMacroTabPage::EnableButtons()
{
// get bound macro
const SvxMacro* pM = aTbl.Get( (sal_uInt16)reinterpret_cast<sal_uLong>(pE->GetUserData()) );
- mpImpl->pDeletePB->Enable( 0 != pM && !mpImpl->bReadOnly );
+ mpImpl->pDeletePB->Enable( nullptr != pM && !mpImpl->bReadOnly );
OUString sEventMacro = static_cast<const SvLBoxString&>(pE->GetItem( LB_MACROS_ITEMPOS )).GetText();