Most of the import filter services in writerperfect are derived from a base class called ImportFilterBase, that implements boilerplate code common for all the filters. However, there are separate implementations of ImportFilterBase in every submodule, i.e., writerperfect/source/draw, writerperfect/source/writer (there used to be one in writerperfect/source/calc too). To avoid duplication, this class has been generalized to a template writerperfect::ImportFilter (writerperfect/inc/writerperfect/ImportFilter.hxx). The goal is to replace use of writerperfect::*::ImportFilterBase by writerperfect::ImportFilter.
Commit https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=a23a51af899b31bcf93781637371ffd8ef813bf5 shows a sample conversion of the filters in writerperfect/source/calc.
writerperfect/source/impress should be adapted too
Kishor Bhat committed a patch related to this issue.
It has been pushed to "master":
tdf#84168 convert wpftimpress to use ImportFilter base class
It will be available in 4.5.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:
Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillCpp TopicCleanup)