summaryrefslogtreecommitdiff
path: root/binaryurp/source/writer.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:10:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:17 +0100
commite68121b3c1d973d149adad4d8e1bcbe042107506 (patch)
treebeade9fd10b68520b6a782d536e4bbb1526dba96 /binaryurp/source/writer.cxx
parent08e49fa3377d8c4e7e5df7a32233fcd9763ee936 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ic3516d9069cbe935f5b82aec0afac3facdc814a5
Diffstat (limited to 'binaryurp/source/writer.cxx')
-rw-r--r--binaryurp/source/writer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 3813dbc7187d..7558f8296024 100644
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -204,7 +204,7 @@ void Writer::sendRequest(
typelib_InterfaceAttributeTypeDescription * atd =
reinterpret_cast< typelib_InterfaceAttributeTypeDescription * >(
member.get());
- OSL_ASSERT(atd->pInterface != 0);
+ OSL_ASSERT(atd->pInterface != nullptr);
if (!t.is()) {
t = css::uno::TypeDescription(&atd->pInterface->aBase);
}
@@ -221,7 +221,7 @@ void Writer::sendRequest(
typelib_InterfaceMethodTypeDescription * mtd =
reinterpret_cast< typelib_InterfaceMethodTypeDescription * >(
member.get());
- assert(mtd->pInterface != 0);
+ assert(mtd->pInterface != nullptr);
if (!t.is()) {
t = css::uno::TypeDescription(&mtd->pInterface->aBase);
}