Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


On 24/03/2020 11:37, julien2412 wrote:
Ok forget about the tdf part, it was just the starting point, I'd like to
know if for example "officecfg::Inet::Settings::ooInetHTTPProxyName::get()"
should be used in "SvxProxyTabPage::ReadConfigData_Impl " or in
"SvxProxyTabPage::ReadConfigDefaults_Impl"

The css::container::XNameAccess::getByName calls in SvxProxyTabPage::ReadConfigData_Impl (cui/source/options/optinet2.cxx) could be replaced with the simplified C++ configuration access as discussed in <https://bugs.documentfoundation.org/show_bug.cgi?id=46037> "Clean up uses of comphelper/configurationhelper.hxx".

The css::beans::XPropertyState::getPropertyDefault calls in SvxProxyTabPage::ReadConfigDefaults_Impl (cui/source/options/optinet2.cxx) cannot be replaced with the simplified C++ configuration access. This is a kind of access that is not modeled by that simplified API. (And as discussed in <https://bugs.documentfoundation.org/show_bug.cgi?id=33697> "Unable to choose proxy type 'system'", with the current configmgr implementation, the relevant objects fail to implement that css::beans::XPropertyState interface, so SvxProxyTabPage::ReadConfigDefaults_Impl will always go into the css::uno::RuntimeException catch block and effectively do nothing.)


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.