[Libreoffice-bugs] [Bug 46037] New: Clean up uses of comphelper/configurationhelper.hxx
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 14 05:39:26 PST 2012
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: libreoffice-bugs at lists.freedesktop.org
ReportedBy: sbergman at redhat.com
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.
More information about the Libreoffice-bugs
mailing list