diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:29:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:32:01 +0100 |
commit | 51b45df6bba163dec7ba91c700de695ad517e5dd (patch) | |
tree | 566633496f4048112c75edbbe250b0f01d86a8dd /xmloff/source/text/XMLSectionImportContext.cxx | |
parent | 87bae0e188aa3ce3c31d1aa91707c0fad6b81b65 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I8690de2cb68dcfedc9f2239ce66cea06fd94bc16
Diffstat (limited to 'xmloff/source/text/XMLSectionImportContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLSectionImportContext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx index 7bc8c1c33eb5..fad99419775f 100644 --- a/xmloff/source/text/XMLSectionImportContext.cxx +++ b/xmloff/source/text/XMLSectionImportContext.cxx @@ -160,7 +160,7 @@ void XMLSectionImportContext::StartElement( XMLPropStyleContext* pStyle = rHelper-> FindSectionStyle(sStyleName); - if (pStyle != NULL) + if (pStyle != nullptr) { pStyle->FillPropertySet( xPropSet ); } @@ -356,7 +356,7 @@ SvXMLImportContext* XMLSectionImportContext::CreateChildContext( const OUString& rLocalName, const Reference<XAttributeList> & xAttrList ) { - SvXMLImportContext* pContext = NULL; + SvXMLImportContext* pContext = nullptr; // section-source (-dde) elements if ( (XML_NAMESPACE_TEXT == nPrefix) && @@ -381,7 +381,7 @@ SvXMLImportContext* XMLSectionImportContext::CreateChildContext( XML_TEXT_TYPE_SECTION ); // if that fails, default context - if (NULL == pContext) + if (nullptr == pContext) { pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); |