r20107 by avox - try to resolve build errors on some systems

scribus-commit scribus-commit at lists.scribus.net
Wed May 20 06:59:16 UTC 2015


Author: avox
Date: Wed May 20 06:59:16 2015
New Revision: 20107

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20107
Log:
try to resolve build errors on some systems

Modified:
    trunk/Scribus/scribus/pdfwriter.cpp
    trunk/Scribus/scribus/pdfwriter.h

Modified: trunk/Scribus/scribus/pdfwriter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20107&path=/trunk/Scribus/scribus/pdfwriter.cpp
==============================================================================
--- trunk/Scribus/scribus/pdfwriter.cpp (original)
+++ trunk/Scribus/scribus/pdfwriter.cpp Wed May 20 06:59:16 2015
@@ -270,6 +270,16 @@
     }
     
     QByteArray toPdf(uint v)
+    {
+        return QByteArray::number(v);
+    }
+    
+    QByteArray toPdf(qlonglong v)
+    {
+        return QByteArray::number(v);
+    }
+    
+    QByteArray toPdf(qulonglong v)
     {
         return QByteArray::number(v);
     }

Modified: trunk/Scribus/scribus/pdfwriter.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20107&path=/trunk/Scribus/scribus/pdfwriter.h
==============================================================================
--- trunk/Scribus/scribus/pdfwriter.h (original)
+++ trunk/Scribus/scribus/pdfwriter.h Wed May 20 06:59:16 2015
@@ -58,6 +58,16 @@
      Cf. PDF32000-2008, 7.3.3
      */
     QByteArray toPdf(uint v);
+    
+    /**
+     Cf. PDF32000-2008, 7.3.3
+     */
+    QByteArray toPdf(qlonglong v);
+    
+    /**
+     Cf. PDF32000-2008, 7.3.3
+     */
+    QByteArray toPdf(qulonglong v);
     
     /**
      Cf. PDF32000-2008, 7.3.3




More information about the scribus-commit mailing list