diff options
Diffstat (limited to 'sd/source/ui/func/fuprobjs.cxx')
-rw-r--r-- | sd/source/ui/func/fuprobjs.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx index e49c96762c4f..40e9df5a19ba 100644 --- a/sd/source/ui/func/fuprobjs.cxx +++ b/sd/source/ui/func/fuprobjs.cxx @@ -86,7 +86,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& ) pOutlinerView->CreateSelectionList(aSelList); std::vector<Paragraph*>::const_iterator iter = aSelList.begin(); - Paragraph* pPara = aSelList.empty() ? NULL : *iter; + Paragraph* pPara = aSelList.empty() ? nullptr : *iter; nDepth = pOutl->GetDepth(pOutl->GetAbsPos( pPara ) ); bool bPage = ::Outliner::HasParaFlag( pPara, ParaFlag::ISPAGE ); @@ -140,7 +140,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& ) SfxStyleSheetBase& rStyleSheet = *pStyleSheet; SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create(); - std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact ? pFact->CreateSdPresLayoutTemplateDlg( mpDocSh, NULL, SdResId( nDlgId ), rStyleSheet, ePO, pStyleSheetPool ) : 0); + std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact ? pFact->CreateSdPresLayoutTemplateDlg( mpDocSh, nullptr, SdResId( nDlgId ), rStyleSheet, ePO, pStyleSheetPool ) : nullptr); if( pDlg && (pDlg->Execute() == RET_OK) ) { const SfxItemSet* pOutSet = pDlg->GetOutputItemSet(); |