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)
IIUC one easy task would be to kill DtransX11ConfigItem used just to get VCL/Settings/Transfer/VCL/Settings/Transfer config property.
(In reply to comment #1) > IIUC one easy task would be to kill DtransX11ConfigItem used just to get > VCL/Settings/Transfer/VCL/Settings/Transfer config property. Sorry, I mean VCL/Settings/Transfer/SelectionTimeout from officecfg/registry/data/org/openoffice/VCL.xcu
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b32a9e9ccb685b663941a1f4aa945a70ef784446 fdo#46037: no more comphelper/configurationhelper.hxx in formula module The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a4148011836a8be7d23f3f798ee276488f54d31e fdo#46037: no more comphelper/configurationhelper.hxx in reportdesign The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2b45d55d87ec1414e3a39a759d014d1e256f7975 fdo#46037: no more comphelper/configurationhelper.hxx in sd The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7cbf9c9e0a34937783dfa7f78d460dcf70504841 fdo#46037: no more comphelper/configurationhelper.hxx in fpicker The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4231190ad3a4ee7e459f7e1a5e9fd85ca3dca124 fdo#46037: no more comphelper/configurationhelper.hxx in writerfilter The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fridrich Å trba committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=57ebb84c1fdfc868cc01bd4b12e95ca043cda718 Revert "fdo#46037: no more comphelper/configurationhelper.hxx in fpicker" The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=75ef95ebc48517d228d369167f89424a72b320bf fdo#46037: no more comphelper/configurationhelper.hxx in fpicker The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b525ef35b14ffd2f162c539cc8c62cb0934ab214 fdo#46037: no more comphelper/configurationhelper.hxx in vcl The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c9d037c3e814eafb6db1fbafa2d3f9d097886873 fdo#46037: no more comphelper/configurationhelper.hxx in filter The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=20430c74f391ceffd8a063c0b6b8a8fd615abac0 fdo#46037: no more comphelper/configurationhelper.hxx in uui The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=513212eb71ffca09e47025ac82e0203d3df22d4a fdo#46037: no more comphelper/configurationhelper.hxx in svx The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b14688f07f2d2e1e53cf0b99bd2f7a055e2ddb3d fdo#46037: oups forgot about pch part in svx The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=04646443b3ee3baef0c3bdbaefad0eb66b71d33a fdo#46037: no more comphelper/configurationhelper.hxx in framework/classes The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=39b1fb894fb3cd5ae2db65ddf9a2db761604f5e5 fdo#46037: comphelper/configurationhelper partly not used in fmwk/accelerators The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e8be58a10bce944525b4186db64629f526cf20ce fdo#46037: 1 less occurrence comphelper/configurationhelper in fmwk/helper The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c02b3f8517e159c462a288d82e3b62cc4b2ab682 fdo#46037: less occurrences of comphelper/configurationhelper in sfx2/doc The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a8c403a1f8298cede274f315e367f799d4fb0f32 fdo#46037: less occurrences of comphelper/configurationhelper in sfx2/appl The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=78c5a2ce8c2d4967d954fceaf9b7707ec56a3d7b fdo#46037: no more comphelper/configurationhelper in sfx2/view The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=be2761ce013c349d6f6e825b89c76e1c60a63343 fdo#46037: remove 1 comphelper/configurationhelper in sfx2 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c76434ae061ecb07c61543cafcc9c9a14c6a2229 fdo#46037: remove another 1 comphelper/configurationhelper in sfx2 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=cb021fcafba06ccf973f2abe229a4761c0a002de fdo#46037: remove 1 comphelper/configurationhelper in framework The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=203951880a4a61b7569eb5878efc8aa5d7ff8652 fdo#46037: 1 less occurrence comphelper/configurationhelper in unotools The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5c892638821b9e63a768047bee24fd52494de0c3 fdo#46037: 1 less comphelper/configurationhelper in sfx2 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I dealt with the low hanging fruits, I'll let the remaining since these cases are more complicate (at least for me:-)) since: - there are dynamic paths - some elements (eg xcfg) are used in listeners
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility. see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details
Alexandre Vicenzi committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ae7ca8b957c9d609f8f8a2e6c01b747aee6e0a77 fdo#46037: remove unused comphelper/configurationhelper.hxx The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I sent following for this patch; https://gerrit.libreoffice.org/#/c/19376/
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyInteresting SkillCpp TopicCleanup) [NinjaEdit]
Andras Timar committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=76d34bbc2696fdcfe9719f6fa70c4ef81af0c2be tdf#46037 clean up Options - LibreOffice - Accessibility page It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
The number of patches suggest this is solved
(In reply to jan iversen from comment #33) > The number of patches suggest this is solved git grep configurationhelper.hxx still gives 18 hits in current master. I suppose if this bug would have been solved, then I could not see any hits. :) Back to NEW.
Ivan Safonov committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ba7492ebe6f943976fc41274672ec41c035b4fbb tdf#46037: Replace ConfigurationHelper with new configuration API It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/276a90c6b3fb046df13ae85dcdec5f28f23ee527 tdf#46037: remove configurationhelper in oox/vbaproject It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f3e0595fcba689b07f6419c2fb540731a3aadecf tdf#46037: use officecfg/Setup It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a503b7af8314bad4d8a1cc1288e809f642782170 tdf#46037: remove configurationhelper in framework/helponstartup It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/1241ae1327242dca4af2e38e571f872aa882e156 tdf#46037: simplify is/get methods in svtools/printoptions It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0f01ea20251c397b0acc1690baa2dc543d1fd91a Revert "tdf#46037: remove configurationhelper in oox/vbaproject" It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d34f54776f51747658556c148eab0d0fc96ea3e0 Related tdf#46037: use a bit of simplified config access (cui/optinet2) It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Dhiraj Holden committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cf0b49af5464507a269b03900b29e3cba155ce2b tdf#46037 remove configurationhelper from WinUserInfoBe It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Dhiraj Holden committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/22c9ba31c6d455e5f1ddbf3f91e37fcb76140607 tdf#46037 remove confighelper from uiwriter tests It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Are any of these still do-able? looking for openConfig's - it seems that most of the remaining paths to folders are constructed by string concatenation which doesn't lend itself to compile time wrapper use, particularly since there are no generated wrappers for XNameAccess we can ::get() for directories (that I could see with a quick poke) - did I miss something =)
Indeed, looks like at least all the easy-hackable parts have been done. Thanks again to all who worked on this over the years!