[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Tue May 3 14:35:54 UTC 2016


 connectivity/source/drivers/ado/Aolevariant.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6e717957b25f3d4a38d9256c0088828d6c709371
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 3 16:35:30 2016 +0200

    NULL -> nullptr
    
    Change-Id: I7e4e36fbff89cb45c01a11dc70c4e6f17fe3bc38

diff --git a/connectivity/source/drivers/ado/Aolevariant.cxx b/connectivity/source/drivers/ado/Aolevariant.cxx
index e3728bc..44c71af 100644
--- a/connectivity/source/drivers/ado/Aolevariant.cxx
+++ b/connectivity/source/drivers/ado/Aolevariant.cxx
@@ -673,7 +673,7 @@ SAFEARRAY* OLEVariant::getUI1SAFEARRAYPtr() const
     {
         case VT_EMPTY:
         case VT_NULL:
-            aValue.setValue(NULL, Type());
+            aValue.setValue(nullptr, Type());
             break;
         case VT_I2:
             aValue.setValue( & iVal, cppu::UnoType<sal_Int16>::get());
@@ -729,7 +729,7 @@ SAFEARRAY* OLEVariant::getUI1SAFEARRAYPtr() const
             aValue.setValue( & uintVal, cppu::UnoType<sal_uInt32>::get());
             break;
         case VT_VOID:
-            aValue.setValue( NULL, Type());
+            aValue.setValue( nullptr, Type());
             break;
          case VT_DECIMAL:
          {


More information about the Libreoffice-commits mailing list