[KUnitConversion] UnitCategory convert: Call UnitCategoryPrivate instead of duplicating it

Review Request #122181 - Created Jan. 21, 2015 and submitted

Information
Vishesh Handa
kunitconversion
Reviewers
kdeframeworks

This is probably a mistake when implementing the private class. Both
UnitCategoryPrivate::convert and UnitCategory::convert essentially
the same thing. However, all sub categories modify the
UnitCategoryPrivate virtual method, so we should be calling that one.

This was caught while trying to debug the currency converter. It has its
own custom convert function.

Fixes a test in another patch.

David Edmundson
Vishesh Handa
Review request changed

Status: Closed (submitted)

Loading...