[Libreoffice-commits] core.git: sal/osl
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 1 11:37:10 UTC 2019
sal/osl/all/log.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit de77f1d4a06148f94312df3917999e7285775bb3
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Thu Aug 1 13:34:45 2019 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Thu Aug 1 13:36:31 2019 +0200
Silence -Wunused-function on Android
after commit bf6bde2da134dad60ecbf8f3e97674abadb7349e
Change-Id: Iaf6f1457f95e5b821879b735c16a692cca7515db
Reviewed-on: https://gerrit.libreoffice.org/76791
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index c2404ff6dd22..ae89b0802e92 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -149,6 +149,8 @@ char const * getLogLevel() {
return pLevel;
}
+#if !defined ANDROID
+
std::ofstream * getLogFile() {
static std::ofstream* const pFile = [] {
std::ofstream* pResult = nullptr;
@@ -243,6 +245,8 @@ void maybeOutputTimestamp(std::ostringstream &s) {
}
}
+#endif
+
}
void sal_detail_log(
More information about the Libreoffice-commits
mailing list