diff options
-rw-r--r-- | ios/experimental/LibreOffice/LibreOffice/lo.mm | 2 | ||||
-rw-r--r-- | sal/osl/all/log.cxx | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/ios/experimental/LibreOffice/LibreOffice/lo.mm b/ios/experimental/LibreOffice/LibreOffice/lo.mm index 193a01fdb9ab..5c791f767ae1 100644 --- a/ios/experimental/LibreOffice/LibreOffice/lo.mm +++ b/ios/experimental/LibreOffice/LibreOffice/lo.mm @@ -133,8 +133,6 @@ extern "C" void lo_initialize(void) { - setenv("SAL_LOG", "+WARN+INFO.vcl.headless+INFO.vcl.coretext+INFO.vcl.ios", 1); - const char *argv[] = { "placeholder-exe", "-env:URE_INTERNAL_LIB_DIR=file:///", diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 6106ac34fe09..a79f131a504a 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -97,10 +97,10 @@ char const * toString(sal_detail_LogLevel level) { #endif -// getenv is not thread safe, so minimize use of result; except on Android and -// iOS, see 60628799633ffde502cb105b98d3f254f93115aa "Notice if SAL_LOG is +// getenv is not thread safe, so minimize use of result; except on Android, +// see 60628799633ffde502cb105b98d3f254f93115aa "Notice if SAL_LOG is // changed while the process is running": -#if defined ANDROID || defined IOS +#if defined ANDROID char const * getEnvironmentVariable() { return std::getenv("SAL_LOG"); |