Question about use of officecfg:: (for XPropertyState or XNameAccess?)

julien2412 serval2412 at
Mon Mar 23 20:07:59 UTC 2020


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?


Sent from:

More information about the LibreOffice mailing list