Question about use of officecfg:: (for XPropertyState or XNameAccess?)
sbergman at redhat.com
Tue Mar 24 08:41:15 UTC 2020
On 23/03/2020 21:07, julien2412 wrote:
> I'm giving a try to tdf#46014 (LibreOffice cannot connect to the internet
> via a proxy that requires authentification).
> First I thought about reducing the use of m_xConfigurationUpdateAccess.
> For this, I'd like to use "officecfg::...".
> The problem is, I'm not sure if I should use it to replace in
> which uses:
> Reference< container::XNameAccess >
> xNameAccess(m_xConfigurationUpdateAccess, UNO_QUERY_THROW);
> or SvxProxyTabPage::ReadConfigDefaults_Impl
> which uses:
> Reference< beans::XPropertyState >
> xPropertyState(m_xConfigurationUpdateAccess, UNO_QUERY_THROW);
> I think only one is concerned.
> If I remember well officecfg::... uses ./user/registrymodifications.xcu
> I must recognize that reading:
> didn't help me to find the one which would correspond.
> Any thoughts here?
I fail to understand your questions, and how different ways of accessing
the configuration should be related to the core issue of
cannot connect to the internet via a proxy that requires
authentification". (Do note
> (In reply to Hans Deragon from comment #7)
>> Oddly, I cannot try "system" setting. When I select "system" and click
>> "ok", as soon as I return to the proxy dialog bug, the "manual" setting
>> shows up. LO refuses to go back to "system" setting. No message shows up.
> that is bug 33697
"Unable to choose proxy type 'system'".)
More information about the LibreOffice