From ca638eedc65a7f9ae99094a728696905ca95766d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 2 Mar 2018 11:11:37 +0100 Subject: Make SAL_LOG_FILE work on Windows also without logging.ini ...as used by solenv/gbuild/UITest.mk Change-Id: Iefc1c1dc2f775c6872a5075a16e049f00d60273a Reviewed-on: https://gerrit.libreoffice.org/50618 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sal/osl/all/log.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sal/osl/all') diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 1eae31ab7c3f..bebc8e5647ca 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -163,8 +163,6 @@ std::ofstream * getLogFile() { static char logFilePath[INI_STRINGBUF_SIZE]; if (getValueFromLoggingIniFile("LogFilePath", logFilePath)) logFile = logFilePath; - else - return nullptr; #endif // stays until process exits -- cgit