summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-02 11:11:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-02 13:41:48 +0100
commitca638eedc65a7f9ae99094a728696905ca95766d (patch)
tree989388c3d5a75f96236960dbc9d5b5fa9db97c57 /sal/osl
parent6b8a3ab2108480a2d23ad91ef30418f8f831cf8c (diff)
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 <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/all/log.cxx2
1 files changed, 0 insertions, 2 deletions
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