checkprinting: avoid incorrect replacement of split values
ClosedPublic

Authored by habacker on Dec 20 2019, 8:11 PM.

Details

Summary

Template parameters for split values are now replaced in descending order.
If we replace the template parameter 'SPLITVALUE1' before 'SPLITVALUE10',
the latter is erroneously overwritten with the value from the former,
followed by '0'.

CCBUG:415411
(cherry picked from commit 9ae5d7c17654dc57b396571ddd630305674ff3a2)

Diff Detail

Repository
R261 KMyMoney
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
habacker requested review of this revision.Dec 20 2019, 8:11 PM
habacker created this revision.
tbaumgart accepted this revision.Dec 21 2019, 8:38 AM

Please cherry pick onto master branch also.

This revision is now accepted and ready to land.Dec 21 2019, 8:38 AM
This revision was automatically updated to reflect the committed changes.