summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/tpoption.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/tpoption.cxx')
-rw-r--r--sd/source/ui/dlg/tpoption.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index 8c72b571e39a..df67367bcfdd 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -96,7 +96,7 @@ void SdTpOptionsSnap::Reset( const SfxItemSet* rAttrs )
pMtrFldAngle->SetValue( aOptsItem.GetOptionsSnap().GetAngle() );
pMtrFldBezAngle->SetValue( aOptsItem.GetOptionsSnap().GetEliminatePolyPointLimitAngle() );
- pCbxRotate->GetClickHdl().Call(0);
+ pCbxRotate->GetClickHdl().Call(nullptr);
}
VclPtr<SfxTabPage> SdTpOptionsSnap::Create( vcl::Window* pWindow,
@@ -327,7 +327,7 @@ void SdTpOptionsMisc::ActivatePage( const SfxItemSet& rSet )
m_pLbMetric->SaveValue();
// change metric if necessary (since TabPage is in the Dialog where
// the metric is set)
- const SfxPoolItem* pAttr = NULL;
+ const SfxPoolItem* pAttr = nullptr;
if( SfxItemState::SET == rSet.GetItemState( SID_ATTR_METRIC , false,
&pAttr ))
{