summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outlvw.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:14:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:24 +0100
commit217f7f236fd0ef0535cf11de35807bc5f1de9bb6 (patch)
treef49d8a62e6500bd025853388b5dd9d33de357b9a /editeng/source/outliner/outlvw.cxx
parent6bab3811c374e3185ea07e7cb0d08f8b90ef81aa (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I9fe00eef7ddcd4a3c87e497a8d62f98e71a0d6d8
Diffstat (limited to 'editeng/source/outliner/outlvw.cxx')
-rw-r--r--editeng/source/outliner/outlvw.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 4da7ccf8eb33..782d0e2d9c14 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -678,7 +678,7 @@ void OutlinerView::Cut()
if ( !ImpCalcSelectedPages( false ) || pOwner->ImpCanDeleteSelectedPages( this ) ) {
pEditView->Cut();
// Chaining handling
- aEndCutPasteLink.Call(NULL);
+ aEndCutPasteLink.Call(nullptr);
}
}
@@ -711,7 +711,7 @@ void OutlinerView::PasteSpecial()
// Chaining handling
// NOTE: We need to do this last because it pEditView may be deleted if a switch of box occurs
- aEndCutPasteLink.Call(NULL);
+ aEndCutPasteLink.Call(nullptr);
}
}
@@ -824,7 +824,7 @@ sal_Int32 OutlinerView::ImpCalcSelectedPages( bool bIncludeFirstSelected )
if( nPages )
{
pOwner->nDepthChangedHdlPrevDepth = nPages;
- pOwner->pHdlParagraph = 0;
+ pOwner->pHdlParagraph = nullptr;
pOwner->mnFirstSelPage = nFirstPage;
}
@@ -843,7 +843,7 @@ void OutlinerView::ToggleBullets()
pOwner->pEditEngine->SetUpdateMode( false );
sal_Int16 nNewDepth = -2;
- const SvxNumRule* pDefaultBulletNumRule = 0;
+ const SvxNumRule* pDefaultBulletNumRule = nullptr;
for ( sal_Int32 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ )
{
@@ -862,7 +862,7 @@ void OutlinerView::ToggleBullets()
const SfxItemSet aTmpSet(pOwner->pEditEngine->GetAttribs(aSelection));
const SfxPoolItem& rPoolItem = aTmpSet.GetPool()->GetDefaultItem( EE_PARA_NUMBULLET );
const SvxNumBulletItem* pNumBulletItem = dynamic_cast< const SvxNumBulletItem* >(&rPoolItem);
- pDefaultBulletNumRule = pNumBulletItem ? pNumBulletItem->GetNumRule() : 0;
+ pDefaultBulletNumRule = pNumBulletItem ? pNumBulletItem->GetNumRule() : nullptr;
}
}
@@ -1067,7 +1067,7 @@ void OutlinerView::ApplyBulletsNumbering(
// Get old bullet space.
{
- const SfxPoolItem* pPoolItem=NULL;
+ const SfxPoolItem* pPoolItem=nullptr;
SfxItemState eState = rAttrs.GetItemState(EE_PARA_NUMBULLET, false, &pPoolItem);
if (eState != SfxItemState::SET)
{