sal/rtl/bootstrap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit eecb4405daac3267b83d441c2edeb58c186cde3f Author: Tor Lillqvist <t...@collabora.com> Date: Mon Oct 3 22:45:09 2016 +0300 -Werror,-Wdeprecated-declaration 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0. Change-Id: I3a95cbd4ff6ff4924bb7fe1a4c1bac4fad405856 diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index e8e4aa0..7977f32 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -470,7 +470,7 @@ bool Bootstrap_Impl::getValue( #endif #ifdef IOS if (key == "APP_DATA_DIR") { - const char *app_data_dir = [[[[NSBundle mainBundle] bundlePath] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding] UTF8String]; + const char *app_data_dir = [[[[NSBundle mainBundle] bundlePath] stringByAddingPercentEncodingWithAllowedCharacters: [NSCharacterSet URLPathAllowedCharacterSet]] UTF8String]; rtl_uString_assign( value, rtl::OUString(app_data_dir, strlen(app_data_dir), RTL_TEXTENCODING_UTF8).pData); return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits