summaryrefslogtreecommitdiff
path: root/unoidl/source/unoidl-check.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/unoidl-check.cxx
parent9690dcc42e996dd993fe8cacca5694ddc0d84feb (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I7c8f90ae3cb496def3bee9a8a84974dd63478af3
Diffstat (limited to 'unoidl/source/unoidl-check.cxx')
-rw-r--r--unoidl/source/unoidl-check.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx
index e52d3f8828d0..e0993bae60fd 100644
--- a/unoidl/source/unoidl-check.cxx
+++ b/unoidl/source/unoidl-check.cxx
@@ -91,7 +91,7 @@ OUString getArgumentUri(sal_uInt32 argument, bool * delimiter) {
OUString arg;
rtl_getAppCommandArg(argument, &arg.pData);
if (arg == "--") {
- if (delimiter == 0) {
+ if (delimiter == nullptr) {
badUsage();
}
*delimiter = true;
@@ -1172,7 +1172,7 @@ SAL_IMPLEMENT_MAIN() {
int side = 0;
for (sal_uInt32 i = 0; i != args; ++i) {
bool delimiter = false;
- OUString uri(getArgumentUri(i, side == 0 ? &delimiter : 0));
+ OUString uri(getArgumentUri(i, side == 0 ? &delimiter : nullptr));
if (delimiter) {
side = 1;
} else {