summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuline.cxx')
-rw-r--r--sd/source/ui/func/fuline.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuline.cxx b/sd/source/ui/func/fuline.cxx
index 6b97442ffd52..6d24224576fc 100644
--- a/sd/source/ui/func/fuline.cxx
+++ b/sd/source/ui/func/fuline.cxx
@@ -67,7 +67,7 @@ void FuLine::DoExecute( SfxRequest& rReq )
if( !pArgs )
{
- const SdrObject* pObj = NULL;
+ const SdrObject* pObj = nullptr;
const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
if( rMarkList.GetMarkCount() == 1 )
pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
@@ -76,7 +76,7 @@ void FuLine::DoExecute( SfxRequest& rReq )
mpView->GetAttributes( *pNewAttr );
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
- std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact ? pFact->CreateSvxLineTabDialog(NULL,pNewAttr.get(),mpDoc,pObj,bHasMarked) : 0);
+ std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact ? pFact->CreateSvxLineTabDialog(nullptr,pNewAttr.get(),mpDoc,pObj,bHasMarked) : nullptr);
if( pDlg && (pDlg->Execute() == RET_OK) )
{
mpView->SetAttributes (*(pDlg->GetOutputItemSet ()));