summaryrefslogtreecommitdiff
path: root/sc/source/core/data/stlsheet.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:22:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:36 +0100
commitde29ac09535d814e4be7e1bf0f10beb9f0f847e3 (patch)
tree139f75d657cb825622e812254b8b7df4e509140b /sc/source/core/data/stlsheet.cxx
parent60c40af090e420a8619b5236bde1ff4ef79100c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/core/data/stlsheet.cxx')
-rw-r--r--sc/source/core/data/stlsheet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/stlsheet.cxx b/sc/source/core/data/stlsheet.cxx
index 58be8f528e93..b06ab871d5c1 100644
--- a/sc/source/core/data/stlsheet.cxx
+++ b/sc/source/core/data/stlsheet.cxx
@@ -123,7 +123,7 @@ bool ScStyleSheet::SetParent( const OUString& rParentName )
void ScStyleSheet::ResetParent()
{
- GetItemSet().SetParent(NULL);
+ GetItemSet().SetParent(nullptr);
}
SfxItemSet& ScStyleSheet::GetItemSet()
@@ -270,7 +270,7 @@ void ScStyleSheet::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint);
if ( pSimpleHint && pSimpleHint->GetId() == SFX_HINT_DYING )
- GetItemSet().SetParent( NULL );
+ GetItemSet().SetParent( nullptr );
}
// Dirty tricks, to always save the default template as "standard"