Simplify method FilePrinter::psPaperSize

Authored by sander on Jul 5 2017, 6:18 PM.

Description

Simplify method FilePrinter::psPaperSize

The method FilePrinter::psPaperSize used to contain a long
list of hard-coded paper sizes for the different paper formats.
This patch makes the method get the same information
from QPrinter directly, which is much simpler and more
robust, too.

Note that the method is not actually used anywhere in okular,
though, so this change is purely cosmetic.

REVIEW: 130043

Details

Committed
sanderJul 5 2017, 6:37 PM
Parents
R223:1a5e20e22bb6: Merge remote-tracking branch 'origin/Applications/17.04'
Branches
Unknown
Tags
Unknown