summaryrefslogtreecommitdiff
path: root/sd/source/ui/table/tableobjectbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/table/tableobjectbar.cxx')
-rw-r--r--sd/source/ui/table/tableobjectbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx
index 3fe246a6ab63..8a5c70bef316 100644
--- a/sd/source/ui/table/tableobjectbar.cxx
+++ b/sd/source/ui/table/tableobjectbar.cxx
@@ -101,7 +101,7 @@ TableObjectBar::TableObjectBar( ViewShell* pSdViewShell, ::sd::View* pSdView )
TableObjectBar::~TableObjectBar()
{
- SetRepeatTarget( NULL );
+ SetRepeatTarget( nullptr );
}
void TableObjectBar::GetState( SfxItemSet& rSet )
@@ -140,7 +140,7 @@ void TableObjectBar::Execute( SfxRequest& rReq )
case SID_TABLE_INSERT_COL_DLG:
{
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
- std::unique_ptr<SvxAbstractInsRowColDlg> pDlg( pFact ? pFact->CreateSvxInsRowColDlg( mpView->GetViewShell()->GetParentWindow(), nSlotId == SID_TABLE_INSERT_COL_DLG, SD_MOD()->GetSlotPool()->GetSlot(nSlotId)->GetCommand()) : 0);
+ std::unique_ptr<SvxAbstractInsRowColDlg> pDlg( pFact ? pFact->CreateSvxInsRowColDlg( mpView->GetViewShell()->GetParentWindow(), nSlotId == SID_TABLE_INSERT_COL_DLG, SD_MOD()->GetSlotPool()->GetSlot(nSlotId)->GetCommand()) : nullptr);
if( pDlg.get() && (pDlg->Execute() == 1) )
{