[Libreoffice-commits] core.git: desktop/test

Stephan Bergmann sbergman at redhat.com
Fri Nov 13 06:37:04 PST 2015


 desktop/test/deployment/active/active_native.cxx   |    6 +++---
 desktop/test/deployment/passive/passive_native.cxx |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 5a137c4a3da04d079c236984f72cff8701abdf8a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Nov 13 15:36:39 2015 +0100

    loplugin:nullptr
    
    Change-Id: I001d3cefea8083e0f0d1a965b26ce867f384aea0

diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx
index 06da72a..5baf91c 100644
--- a/desktop/test/deployment/active/active_native.cxx
+++ b/desktop/test/deployment/active/active_native.cxx
@@ -234,11 +234,11 @@ void Dispatch::dispatch(
 static cppu::ImplementationEntry const services[] = {
     { &Provider::static_create, &Provider::static_getImplementationName,
       &Provider::static_getSupportedServiceNames,
-      &cppu::createSingleComponentFactory, 0, 0 },
+      &cppu::createSingleComponentFactory, nullptr, 0 },
     { &Dispatch::static_create, &Dispatch::static_getImplementationName,
       &Dispatch::static_getSupportedServiceNames,
-      &cppu::createSingleComponentFactory, 0, 0 },
-    { 0, 0, 0, 0, 0, 0 }
+      &cppu::createSingleComponentFactory, nullptr, 0 },
+    { nullptr, nullptr, nullptr, nullptr, nullptr, 0 }
 };
 
 }
diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx
index 70b11cc..4197054 100644
--- a/desktop/test/deployment/passive/passive_native.cxx
+++ b/desktop/test/deployment/passive/passive_native.cxx
@@ -231,11 +231,11 @@ void Dispatch::dispatch(
 static cppu::ImplementationEntry const services[] = {
     { &Provider::static_create, &Provider::static_getImplementationName,
       &Provider::static_getSupportedServiceNames,
-      &cppu::createSingleComponentFactory, 0, 0 },
+      &cppu::createSingleComponentFactory, nullptr, 0 },
     { &Dispatch::static_create, &Dispatch::static_getImplementationName,
       &Dispatch::static_getSupportedServiceNames,
-      &cppu::createSingleComponentFactory, 0, 0 },
-    { 0, 0, 0, 0, 0, 0 }
+      &cppu::createSingleComponentFactory, nullptr, 0 },
+    { nullptr, nullptr, nullptr, nullptr, nullptr, 0 }
 };
 
 }


More information about the Libreoffice-commits mailing list