From 60c40af090e420a8619b5236bde1ff4ef79100c6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:22:34 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I54bf272b404d2302cafbde73ec5061ea2cd966ab --- include/sax/fastattribs.hxx | 2 +- include/sax/tools/documenthandleradapter.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index 46c1b88a4697..42f5f34941a5 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -75,7 +75,7 @@ class SAX_DLLPUBLIC FastAttributeList : public ::cppu::WeakImplHelper1< css::xml { public: FastAttributeList( const css::uno::Reference< css::xml::sax::XFastTokenHandler >& xTokenHandler, - FastTokenHandlerBase *pOptHandlerBase = NULL ); + FastTokenHandlerBase *pOptHandlerBase = nullptr ); virtual ~FastAttributeList(); void clear(); diff --git a/include/sax/tools/documenthandleradapter.hxx b/include/sax/tools/documenthandleradapter.hxx index 48edf604149a..10b945f83a8a 100644 --- a/include/sax/tools/documenthandleradapter.hxx +++ b/include/sax/tools/documenthandleradapter.hxx @@ -82,7 +82,7 @@ namespace sax } DocumentHandlerAdapter(const css::uno::Reference< css::xml::sax::XDocumentHandler >& delegate); DocumentHandlerAdapter() : - m_handler(css::uno::Reference< css::xml::sax::XDocumentHandler > (0, css::uno::UNO_QUERY)) + m_handler(css::uno::Reference< css::xml::sax::XDocumentHandler > (nullptr, css::uno::UNO_QUERY)) { } ; @@ -201,7 +201,7 @@ namespace sax } protected: ExtendedDocumentHandlerAdapter() : - m_handler(css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > (0, css::uno::UNO_QUERY)) + m_handler(css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > (nullptr, css::uno::UNO_QUERY)) { } ExtendedDocumentHandlerAdapter( -- cgit