diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:23:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:38 +0100 |
commit | 92c697c0e3e4bde88424322875c993c161696b1e (patch) | |
tree | ea1be62a0cb8fd7f7e63dd03a52441cedd8e96eb /sd/source/ui/view/drtxtob.cxx | |
parent | 65464ed0985802edb96dbcbd1c3eed996f3778bd (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
Diffstat (limited to 'sd/source/ui/view/drtxtob.cxx')
-rw-r--r-- | sd/source/ui/view/drtxtob.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx index 4472d54187d6..29c1ef3d21bd 100644 --- a/sd/source/ui/view/drtxtob.cxx +++ b/sd/source/ui/view/drtxtob.cxx @@ -121,7 +121,7 @@ TextObjectBar::TextObjectBar ( TextObjectBar::~TextObjectBar() { - SetRepeatTarget(NULL); + SetRepeatTarget(nullptr); } void TextObjectBar::GetCharState( SfxItemSet& rSet ) @@ -277,7 +277,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet ) std::vector<Paragraph*> aSelList; pOLV->CreateSelectionList(aSelList); - Paragraph* pPara = aSelList.empty() ? NULL : *(aSelList.begin()); + Paragraph* pPara = aSelList.empty() ? nullptr : *(aSelList.begin()); // find out if we are a OutlineView bool bIsOutlineView(OUTLINERMODE_OUTLINEVIEW == pOLV->GetOutliner()->GetMode()); @@ -331,7 +331,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet ) } // disable when first para and 2nd is not a title - pPara = aSelList.empty() ? NULL : *(aSelList.begin()); + pPara = aSelList.empty() ? nullptr : *(aSelList.begin()); if(!bDisableDown && bIsOutlineView && pPara |