From af9c3fa41ba16ae4dc5e7ccbf626c8701ae0aa19 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:18:46 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I87dbff06345f24064b87c375e5381cb27118e614 --- l10ntools/inc/xmlparse.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'l10ntools/inc') diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 70d83fd925ec..94a6188df8b2 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -91,7 +91,7 @@ private: protected: XMLChildNode( XMLParentNode *pPar ); - XMLChildNode(): m_pParent( NULL ){}; + XMLChildNode(): m_pParent( nullptr ){}; XMLChildNode( const XMLChildNode& rObj); XMLChildNode& operator=(const XMLChildNode& rObj); public: @@ -154,15 +154,15 @@ public: XMLFile( const XMLFile& rObj ) ; virtual ~XMLFile(); - void Print( XMLNode *pCur = NULL, sal_uInt16 nLevel = 0 ); + void Print( XMLNode *pCur = nullptr, sal_uInt16 nLevel = 0 ); void SearchL10NElements( XMLChildNode *pCur, int pos = 0 ); - void Extract( XMLFile *pCur = NULL ); + void Extract( XMLFile *pCur = nullptr ); XMLHashMap* GetStrings(){ return m_pXMLStrings.get(); } void Write( OString const &rFilename ); - bool Write( std::ofstream &rStream, XMLNode *pCur = NULL ); + bool Write( std::ofstream &rStream, XMLNode *pCur = nullptr ); - bool CheckExportStatus( XMLParentNode *pCur = NULL ); + bool CheckExportStatus( XMLParentNode *pCur = nullptr ); XMLFile& operator=(const XMLFile& rObj); -- cgit