summaryrefslogtreecommitdiff
path: root/unoidl/source/legacyprovider.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/legacyprovider.cxx
parent9690dcc42e996dd993fe8cacca5694ddc0d84feb (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7c8f90ae3cb496def3bee9a8a84974dd63478af3
Diffstat (limited to 'unoidl/source/legacyprovider.cxx')
-rw-r--r--unoidl/source/legacyprovider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index eb3dde4cfef5..46058c7be032 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -113,7 +113,7 @@ Cursor::Cursor(
}
rtl::Reference< Entity > Cursor::getNext(OUString * name) {
- assert(name != 0);
+ assert(name != nullptr);
rtl::Reference< Entity > ent;
if (index_ != names_.getLength()) {
OUString path(names_.getElement(index_));
@@ -164,7 +164,7 @@ std::vector< OUString > Module::getMemberNames() const {
}
typereg::Reader getReader(RegistryKey & key, std::vector< char > * buffer) {
- assert(buffer != 0);
+ assert(buffer != nullptr);
RegValueType type;
sal_uInt32 size;
RegError e = key.getValueInfo("", &type, &size);