From 8b7198f68f956106827161d7b9abe07c47026f00 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Oct 2016 16:57:29 +0200 Subject: clang-cl loplugin: dbaccess Change-Id: I96982e5298783384c2978056af7955d012289f25 Reviewed-on: https://gerrit.libreoffice.org/29872 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- dbaccess/source/ui/dlg/odbcconfig.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/dlg/odbcconfig.cxx') diff --git a/dbaccess/source/ui/dlg/odbcconfig.cxx b/dbaccess/source/ui/dlg/odbcconfig.cxx index cd90b3a1b24c..cd1b583e1840 100644 --- a/dbaccess/source/ui/dlg/odbcconfig.cxx +++ b/dbaccess/source/ui/dlg/odbcconfig.cxx @@ -238,7 +238,7 @@ public: } protected: - virtual void SAL_CALL run() + virtual void SAL_CALL run() override { osl_setThreadName("dbaui::ProcessTerminationWait"); @@ -271,8 +271,8 @@ bool OOdbcManagement::manageDataSources_async() // (and note this whole functionality is supported on Windows only, ATM) OUString sExecutableName( "$BRAND_BASE_DIR/" LIBO_LIBEXEC_FOLDER "/odbcconfig.exe" ); ::rtl::Bootstrap::expandMacros( sExecutableName ); //TODO: detect failure - oslProcess hProcessHandle(0); - oslProcessError eError = osl_executeProcess( sExecutableName.pData, NULL, 0, 0, NULL, NULL, NULL, 0, &hProcessHandle ); + oslProcess hProcessHandle(nullptr); + oslProcessError eError = osl_executeProcess( sExecutableName.pData, nullptr, 0, 0, nullptr, nullptr, nullptr, 0, &hProcessHandle ); if ( eError != osl_Process_E_None ) return false; -- cgit