summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuexpand.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:23:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:38 +0100
commit92c697c0e3e4bde88424322875c993c161696b1e (patch)
treeea1be62a0cb8fd7f7e63dd03a52441cedd8e96eb /sd/source/ui/func/fuexpand.cxx
parent65464ed0985802edb96dbcbd1c3eed996f3778bd (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
Diffstat (limited to 'sd/source/ui/func/fuexpand.cxx')
-rw-r--r--sd/source/ui/func/fuexpand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx
index 0f54f3371037..96af35b7de46 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -72,7 +72,7 @@ void FuExpandPage::DoExecute( SfxRequest& )
mpView->SdrEndTextEdit();
// find selected page (only standard pages)
- SdPage* pActualPage = NULL;
+ SdPage* pActualPage = nullptr;
sal_uInt16 i = 0;
sal_uInt16 nCount = mpDoc->GetSdPageCount(PK_STANDARD);
@@ -209,7 +209,7 @@ void FuExpandPage::DoExecute( SfxRequest& )
SfxStyleSheet* pSheet = pPage->GetStyleSheetForPresObj(PRESOBJ_TITLE);
pTextObj->NbcSetStyleSheet(pSheet, false);
- SdrTextObj* pOutlineObj = NULL;
+ SdrTextObj* pOutlineObj = nullptr;
sal_Int32 nChildCount = pOutl->GetChildCount(pPara);
if (nChildCount > 0)
pOutlineObj = static_cast<SdrTextObj*>( pPage->GetPresObj(PRESOBJ_OUTLINE) );