summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/osl/all/log.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}