diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-03 23:13:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-03 23:38:13 +0300 |
commit | 4f879d0cd5396056994df6229f8162e122a69c51 (patch) | |
tree | 64ffe9fa1b721ad5e2fac116bc1c221182749571 /ios | |
parent | 126f29c4741ee0083487db7ca8e76e0ef6cbc50b (diff) |
Checking the device orientation at this stage doesn't seem to work
Change-Id: I0015f7d751cb0e45262774c19a120f428cb35af2
Diffstat (limited to 'ios')
-rw-r--r-- | ios/experimental/LibreOffice/LibreOffice/lo.mm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ios/experimental/LibreOffice/LibreOffice/lo.mm b/ios/experimental/LibreOffice/LibreOffice/lo.mm index 983839b4ce2c..193a01fdb9ab 100644 --- a/ios/experimental/LibreOffice/LibreOffice/lo.mm +++ b/ios/experimental/LibreOffice/LibreOffice/lo.mm @@ -133,10 +133,7 @@ extern "C" void lo_initialize(void) { - if (UIDeviceOrientationIsPortrait([[UIDevice currentDevice] orientation])) - setenv("SAL_LOG", "+WARN+INFO.vcl.headless+INFO.vcl.ios", 1); - else - setenv("SAL_LOG", "-WARN-INFO", 1); + setenv("SAL_LOG", "+WARN+INFO.vcl.headless+INFO.vcl.coretext+INFO.vcl.ios", 1); const char *argv[] = { "placeholder-exe", |