[EPubGenerator] Fetch the application palette just once

Authored by bruns on May 1 2019, 12:39 PM.

Description

[EPubGenerator] Fetch the application palette just once

Summary:
There is no reason to fetch the palette once per loop,
just do it once

Reviewers: Okular, ngraham

Reviewed By: ngraham

Subscribers: okular-devel

Tags: Okular

Differential Revision: https://phabricator.kde.org/D20947

Details

Committed
brunsMay 2 2019, 6:29 PM
Reviewer
ngraham
Differential Revision
D20947: [EPubGenerator] Fetch the application palette just once
Parents
R223:f7fbbf769be3: [EPubGenerator] Reduce nesting level in loop
Branches
Unknown
Tags
Unknown