https://bugs.freedesktop.org/show_bug.cgi?id=46037

             Bug #: 46037
           Summary: Clean up uses of comphelper/configurationhelper.hxx
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The functionality provided by comphelper/configurationhelper.hxx has been 
superseded by the new simplified C++ configuration access, see
<http://lists.freedesktop.org/archives/libreoffice/2012-January/024933.html>.

See 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=161c3f179f71eda2a32dabaf68ff6fb3ba487062>
 for examples of replacing the former with the latter:

* desktop/source/app/app.cxx features the common case of replacing reads of 
individual configuration items, giving substantive code shrinkage

* cui/source/options/optpath.cxx features the case of writing a single 
configuration item

* cui/source/options/treeopt.cxx features access to larger configuration 
entities than single leaf items (sets, in this case); the diff is only that 
large due
to indentation changes (if configuration data for which there is a schema were 
actually missing at runtime, the simplified access would throw an exception, so
no need to explicitly check for that)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to