summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/sfxhtml.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:23:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:38 +0100
commit28034eaf925aa50d379dd5cffccc20d7edc95aec (patch)
tree5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /sfx2/source/bastyp/sfxhtml.cxx
parentd930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'sfx2/source/bastyp/sfxhtml.cxx')
-rw-r--r--sfx2/source/bastyp/sfxhtml.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index 266a23d0b8a9..6d3c57479e25 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -59,14 +59,14 @@ static HTMLOptionEnum const aAreaShapeOptEnums[] =
{ OOO_STRING_SVTOOLS_HTML_SH_circle, IMAP_OBJ_CIRCLE },
{ OOO_STRING_SVTOOLS_HTML_SH_poly, IMAP_OBJ_POLYGON },
{ OOO_STRING_SVTOOLS_HTML_SH_polygon, IMAP_OBJ_POLYGON },
- { 0, 0 }
+ { nullptr, 0 }
};
SfxHTMLParser::SfxHTMLParser( SvStream& rStream, bool bIsNewDoc,
SfxMedium *pMed )
: HTMLParser(rStream, bIsNewDoc)
, pMedium(pMed)
- , pDLMedium(0)
+ , pDLMedium(nullptr)
, eScriptType(STARBASIC)
{
DBG_ASSERT( RTL_TEXTENCODING_UTF8 == GetSrcEncoding( ),
@@ -258,7 +258,7 @@ bool SfxHTMLParser::FinishFileDownload( OUString& rStr )
}
delete pDLMedium;
- pDLMedium = 0;
+ pDLMedium = nullptr;
return bOK;
}