diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:12:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:20 +0100 |
commit | c0bd59c15b4a6e8523693c8a354456b9fadb8832 (patch) | |
tree | 67a35c16019355b6eac3faff74ce63d44eddfa96 /connectivity/source/drivers/jdbc/Throwable.cxx | |
parent | 047239d5ca229bb8ad85a2d9fcd2ae7b6f35b976 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
Diffstat (limited to 'connectivity/source/drivers/jdbc/Throwable.cxx')
-rw-r--r-- | connectivity/source/drivers/jdbc/Throwable.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/jdbc/Throwable.cxx b/connectivity/source/drivers/jdbc/Throwable.cxx index d4172bd93300..f278224459c4 100644 --- a/connectivity/source/drivers/jdbc/Throwable.cxx +++ b/connectivity/source/drivers/jdbc/Throwable.cxx @@ -24,7 +24,7 @@ using namespace connectivity; //************ Class: java.lang.Throwable -jclass java_lang_Throwable::theClass = 0; +jclass java_lang_Throwable::theClass = nullptr; java_lang_Throwable::~java_lang_Throwable() {} @@ -44,21 +44,21 @@ jclass java_lang_Throwable::st_getMyClass() OUString java_lang_Throwable::getMessage() const { - static jmethodID mID(NULL); + static jmethodID mID(nullptr); return callStringMethod("getMessage",mID); } OUString java_lang_Throwable::getLocalizedMessage() const { - static jmethodID mID(NULL); + static jmethodID mID(nullptr); return callStringMethod("getLocalizedMessage",mID); } #if OSL_DEBUG_LEVEL > 0 void java_lang_Throwable::printStackTrace() const { - static jmethodID mID(NULL); + static jmethodID mID(nullptr); return callVoidMethod_ThrowSQL("printStackTrace",mID); } #endif |