[Libreoffice-commits] core.git: sal/osl
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Mar 1 10:22:29 UTC 2019
sal/osl/all/log.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b4f9ce195f57a826a56983130ef1920a717797fa
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Thu Feb 28 11:41:47 2019 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Fri Mar 1 11:22:04 2019 +0100
make SAL_DEBUG add newline in Windows debug console too
Change-Id: I7485ab11e4bb60420153ac53784057e5cc905c39
Reviewed-on: https://gerrit.libreoffice.org/68499
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 1a0d0ada6f1c..92352f48316c 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -336,11 +336,11 @@ void sal_detail_log(
*logFile << s.str() << std::endl;
}
else {
+ s << '\n';
#ifdef _WIN32
// write to Windows debugger console, too
OutputDebugStringA(s.str().c_str());
#endif
- s << '\n';
std::fputs(s.str().c_str(), stderr);
std::fflush(stderr);
}
More information about the Libreoffice-commits
mailing list