diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:11:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:18 +0100 |
commit | 87a9abf351d1547638ec25c72d7fcb27d1b61440 (patch) | |
tree | d021a9bc8fadf7b32d7fe09c8bcf1e960679b30e /codemaker/source/cppumaker/includes.cxx | |
parent | 40c4a086521703e64f7f182d8e07490855cfeb0a (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Ic33cbe3feed8aec9f7578aea2cbd809169d9b8c8
Diffstat (limited to 'codemaker/source/cppumaker/includes.cxx')
-rw-r--r-- | codemaker/source/cppumaker/includes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx index 4c47c7e5be86..22c783085558 100644 --- a/codemaker/source/cppumaker/includes.cxx +++ b/codemaker/source/cppumaker/includes.cxx @@ -125,7 +125,7 @@ void Includes::add(OString const & entityName) { namespace { void dumpEmptyLineBeforeFirst(FileStream & out, bool * first) { - OSL_ASSERT(first != 0); + OSL_ASSERT(first != nullptr); if (*first) { out << "\n"; *first = false; @@ -135,7 +135,7 @@ void dumpEmptyLineBeforeFirst(FileStream & out, bool * first) { } void Includes::dump(FileStream & out, OUString const * companionHdl) { - OSL_ASSERT(companionHdl == 0 || m_hpp); + OSL_ASSERT(companionHdl == nullptr || m_hpp); if (!m_includeReference) { for (Dependencies::Map::iterator i(m_map.begin()); i != m_map.end(); ++i) |