diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:27:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:56 +0100 |
commit | 7cb9fce062c1c753708282098c2021ce342c675f (patch) | |
tree | 8e2ffc08f73972a9d97c86958e92197e6d98d169 /unoidl/source/sourcefileprovider.cxx | |
parent | 9690dcc42e996dd993fe8cacca5694ddc0d84feb (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7c8f90ae3cb496def3bee9a8a84974dd63478af3
Diffstat (limited to 'unoidl/source/sourcefileprovider.cxx')
-rw-r--r-- | unoidl/source/sourcefileprovider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/sourcefileprovider.cxx b/unoidl/source/sourcefileprovider.cxx index 7e687b7231a8..18a6d666cf02 100644 --- a/unoidl/source/sourcefileprovider.cxx +++ b/unoidl/source/sourcefileprovider.cxx @@ -36,7 +36,7 @@ private: }; rtl::Reference< Entity > Cursor::getNext(OUString * name) { - assert(name != 0); + assert(name != nullptr); rtl::Reference< Entity > ent; if (iterator_ != map_.end()) { *name = iterator_->first; @@ -129,7 +129,7 @@ rtl::Reference<Entity> SourceFileProvider::findEntity(OUString const & name) return rtl::Reference<Entity>(); } Module * mod = dynamic_cast< Module * >(j->second.get()); - assert(mod != 0); + assert(mod != nullptr); map = &mod->map; } } |