summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/odbcconfig.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:57:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-16 14:19:22 +0000
commit8b7198f68f956106827161d7b9abe07c47026f00 (patch)
tree7e58c15d4b0825a844951cc74eaeaa4a003312ac /dbaccess/source/ui/dlg/odbcconfig.cxx
parent08abfef116d893d6a062d432ff89e7af8b7b679d (diff)
clang-cl loplugin: dbaccess
Change-Id: I96982e5298783384c2978056af7955d012289f25 Reviewed-on: https://gerrit.libreoffice.org/29872 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/dlg/odbcconfig.cxx')
-rw-r--r--dbaccess/source/ui/dlg/odbcconfig.cxx6
1 files changed, 3 insertions, 3 deletions
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;