sal/osl/all/log.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit de77f1d4a06148f94312df3917999e7285775bb3
Author: Mike Kaganski <[email protected]>
AuthorDate: Thu Aug 1 13:34:45 2019 +0200
Commit: Mike Kaganski <[email protected]>
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 <[email protected]>
Tested-by: Mike Kaganski <[email protected]>
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(
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits