[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann sbergman at redhat.com
Fri Mar 2 12:42:12 UTC 2018


 sal/osl/all/log.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit ca638eedc65a7f9ae99094a728696905ca95766d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 2 11:11:37 2018 +0100

    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 at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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


More information about the Libreoffice-commits mailing list