[Libreoffice] Simplified C++ configuration access

Stephan Bergmann sbergman at redhat.com
Tue Jan 31 06:54:57 PST 2012

On 01/31/2012 11:31 AM, Stephan Bergmann wrote:
> At the next level, the new unotools/configuration.hxx header provides
> type-safe C++ wrappers for the various configuration entities on top of
> the lower level UNO services. For example, the
> utl::ConfigurationProperty class template can be used to wrap a given
> configuration property of a specific type in a C++ class whose get and
> set member functions internally handle the conversion between the UNO
> API's generic Any and the concrete type of the given property. There is
> also a utl::ConfigurationChanges class that wraps an instance of
> ReadWriteAccess for (batch) modification.

Had to move the header from unotools/configuration.hxx to 
comphelper/configuration.hxx now, so that some other code in comphelper 
can use it, too.  Only noticeable change to client code should be that 
ConfigurationChanges is now in namespace comphelper.


More information about the LibreOffice mailing list