summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/CommonTools.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:12:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:20 +0100
commitc0bd59c15b4a6e8523693c8a354456b9fadb8832 (patch)
tree67a35c16019355b6eac3faff74ce63d44eddfa96 /connectivity/source/commontools/CommonTools.cxx
parent047239d5ca229bb8ad85a2d9fcd2ae7b6f35b976 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
Diffstat (limited to 'connectivity/source/commontools/CommonTools.cxx')
-rw-r--r--connectivity/source/commontools/CommonTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index d97bc0758564..8a0f25b2d316 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -135,7 +135,7 @@ namespace connectivity
else
{
sal_Int32 nValue = 0;
- jvmaccess::VirtualMachine* pJVM = NULL;
+ jvmaccess::VirtualMachine* pJVM = nullptr;
if ( uaJVM >>= nValue )
pJVM = reinterpret_cast< jvmaccess::VirtualMachine* > (nValue);
else
@@ -166,7 +166,7 @@ namespace connectivity
OString sClassName = OUStringToOString(_sClassName, RTL_TEXTENCODING_ASCII_US);
sClassName = sClassName.replace('.','/');
jobject out = pEnv->FindClass(sClassName.getStr());
- bRet = out != NULL;
+ bRet = out != nullptr;
pEnv->DeleteLocalRef( out );
}
}