| 123 | #ifdef QT_PRINTSUPPORT_LIB |
| 124 | |
| 125 | MapPrinterPageFormat::MapPrinterPageFormat(const QPrinter& printer, qreal overlap) |
| 126 | : page_size(printer.pageLayout().pageSize().id()) |
| 127 | , orientation((printer.orientation() == QPrinter::Portrait) ? MapPrinterPageFormat::Portrait : MapPrinterPageFormat::Landscape) |
| 128 | , page_rect(printer.pageRect(QPrinter::Millimeter)) |
| 129 | , paper_dimensions(printer.paperSize(QPrinter::Millimeter)) |
| 130 | , h_overlap(overlap) |
| 131 | , v_overlap(overlap) |
| 132 | { |
| 133 | // nothing |
| 134 | } |
| 135 | |
| 136 | #endif |
| 137 |
nothing calls this directly
no test coverage detected