summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/scenariocontext.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/filter/oox/scenariocontext.cxx
parent60c40af090e420a8619b5236bde1ff4ef79100c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/filter/oox/scenariocontext.cxx')
-rw-r--r--sc/source/filter/oox/scenariocontext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/oox/scenariocontext.cxx b/sc/source/filter/oox/scenariocontext.cxx
index 8535b89a67b0..b58663c1f867 100644
--- a/sc/source/filter/oox/scenariocontext.cxx
+++ b/sc/source/filter/oox/scenariocontext.cxx
@@ -40,7 +40,7 @@ ContextHandlerRef ScenarioContext::onCreateContext( sal_Int32 nElement, const At
if( nElement == XLS_TOKEN( inputCells ) ) mrScenario.importInputCells( rAttribs );
break;
}
- return 0;
+ return nullptr;
}
void ScenarioContext::onStartElement( const AttributeList& rAttribs )
@@ -57,7 +57,7 @@ ContextHandlerRef ScenarioContext::onCreateRecordContext( sal_Int32 nRecId, Sequ
if( nRecId == BIFF12_ID_INPUTCELLS ) mrScenario.importInputCells( rStrm );
break;
}
- return 0;
+ return nullptr;
}
void ScenarioContext::onStartRecord( SequenceInputStream& rStrm )
@@ -80,7 +80,7 @@ ContextHandlerRef ScenariosContext::onCreateContext( sal_Int32 nElement, const A
if( nElement == XLS_TOKEN( scenario ) ) return new ScenarioContext( *this, mrSheetScenarios );
break;
}
- return 0;
+ return nullptr;
}
void ScenariosContext::onStartElement( const AttributeList& rAttribs )
@@ -97,7 +97,7 @@ ContextHandlerRef ScenariosContext::onCreateRecordContext( sal_Int32 nRecId, Seq
if( nRecId == BIFF12_ID_SCENARIO ) return new ScenarioContext( *this, mrSheetScenarios );
break;
}
- return 0;
+ return nullptr;
}
void ScenariosContext::onStartRecord( SequenceInputStream& rStrm )