Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
extern QSizeF qt_paperSizeToQSizeF(QPrinter::PaperSize size);
/* also adds a space at the end of the number */
-const char *qt_real_to_string(qreal val, char *buf) {
+static const char *qt_real_to_string(qreal val, char *buf)
+{
const char *ret = buf;
if (qIsNaN(val)) {
return ret;
}
-const char *qt_int_to_string(int val, char *buf) {
+static const char *qt_int_to_string(int val, char *buf)
+{
const char *ret = buf;
if (val < 0) {
*(buf++) = '-';
#define PPK_CupsPaperRect QPrintEngine::PrintEnginePropertyKey(0xfe02)
#define PPK_CupsStringPageSize QPrintEngine::PrintEnginePropertyKey(0xfe03)
-const char *qt_real_to_string(qreal val, char *buf);
-const char *qt_int_to_string(int val, char *buf);
-
namespace QPdf {
class ByteStream