[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/karbon/pdf
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2009-08-11 19:54:23
Message-ID: 1250020463.125363.32593.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1010167 by jaham:

remove some old code



 M  +0 -15     PdfImport.cpp  


--- trunk/koffice/filters/karbon/pdf/PdfImport.cpp #1010166:1010167
@@ -35,7 +35,6 @@
 
 #include <poppler/PDFDoc.h>
 #include <poppler/GlobalParams.h>
-#include <poppler/ArthurOutputDev.h>
 
 typedef KGenericFactory<PdfImport> PdfImportFactory;
 K_EXPORT_COMPONENT_FACTORY( libkarbonpdfimport, PdfImportFactory( "kofficefilters" ) \
) @@ -87,20 +86,6 @@
 
     kDebug(30516) << "converting pages" << firstPage << "-" << lastPage;
 
-    /*
-    QSvgGenerator svg;
-    svg.setFileName( m_chain->outputFile() );
-    QPainter painter( &svg );
-    ArthurOutputDev * dev = new ArthurOutputDev( &painter );
-    if( dev )
-    {
-        int rotate = 0;
-        GBool useMediaBox = gTrue;
-        GBool crop = gFalse;
-        GBool printing = gFalse;
-        pdfDoc->displayPages( dev, firstPage, lastPage, hDPI, vDPI, rotate, \
                useMediaBox, crop, printing );
-    }
-    */
     SvgOutputDev * dev = new SvgOutputDev( m_chain->outputFile() );
     if( dev->isOk() )
     {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic