r25001 by jghali - Code cleanup
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 7 22:07:00 UTC 2022
Author: jghali
Date: Mon Mar 7 22:07:00 2022
New Revision: 25001
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25001
Log:
Code cleanup
Modified:
trunk/Scribus/scribus/pdfwriter.cpp
trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
Modified: trunk/Scribus/scribus/pdfwriter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25001&path=/trunk/Scribus/scribus/pdfwriter.cpp
==============================================================================
--- trunk/Scribus/scribus/pdfwriter.cpp (original)
+++ trunk/Scribus/scribus/pdfwriter.cpp Mon Mar 7 22:07:00 2022
@@ -335,6 +335,7 @@
return QByteArray::number(v);
}
#endif
+
QByteArray toPdf(double v)
{
return QByteArray::number(v, 'f');
Modified: trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25001&path=/trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp Mon Mar 7 22:07:00 2022
@@ -141,7 +141,7 @@
m_importerFlags = flags;
m_cancel = false;
bool ret = false;
- QFileInfo fi = QFileInfo(fNameIn);
+ QFileInfo fi(fNameIn);
if ( !ScCore->usingGUI() )
{
m_interactive = false;
@@ -402,7 +402,7 @@
m_progressDialog->hide();
qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
PdfImportOptions optImp(ScCore->primaryMainWindow());
- QFileInfo fi = QFileInfo(fn);
+ QFileInfo fi(fn);
optImp.setUpOptions(fi.fileName(), firstPage, lastPage, m_interactive, boxesAreDifferent, this);
if (!optImp.exec())
{
More information about the scribus-commit
mailing list