summaryrefslogtreecommitdiff
path: root/unoidl/source/sourcefileprovider.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:27:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:56 +0100
commit7cb9fce062c1c753708282098c2021ce342c675f (patch)
tree8e2ffc08f73972a9d97c86958e92197e6d98d169 /unoidl/source/sourcefileprovider.cxx
parent9690dcc42e996dd993fe8cacca5694ddc0d84feb (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7c8f90ae3cb496def3bee9a8a84974dd63478af3
Diffstat (limited to 'unoidl/source/sourcefileprovider.cxx')
-rw-r--r--unoidl/source/sourcefileprovider.cxx4
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;
}
}