summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-08-01 13:34:45 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-08-01 13:36:31 +0200
commitde77f1d4a06148f94312df3917999e7285775bb3 (patch)
treeb68d36b67d99d827ce945527104300da8ff56ea0 /sal/osl
parente137449a420a02bdeffd26447bc029df5c823916 (diff)
Silence -Wunused-function on Android
after commit bf6bde2da134dad60ecbf8f3e97674abadb7349e Change-Id: Iaf6f1457f95e5b821879b735c16a692cca7515db Reviewed-on: https://gerrit.libreoffice.org/76791 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/all/log.cxx4
1 files changed, 4 insertions, 0 deletions
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(