r23836 by jghali - Fix some gcc warnings
scribus-commit
scribus-commit at lists.scribus.net
Tue May 26 01:21:12 UTC 2020
Author: jghali
Date: Tue May 26 01:21:12 2020
New Revision: 23836
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23836
Log:
Fix some gcc warnings
Modified:
trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
Modified: trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23836&path=/trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outputpreview_pdf.cpp (original)
+++ trunk/Scribus/scribus/ui/outputpreview_pdf.cpp Tue May 26 01:21:12 2020
@@ -495,7 +495,6 @@
}
}
- const ScPage* page = m_doc->Pages->at(pageIndex);
if (m_optionsUi->showTransparency->isChecked())
{
pixmap = QPixmap(image.width(), image.height());
@@ -528,7 +527,6 @@
m_pdfOptions.Encrypt = false; // Disable PDF encryption for preview
m_pdfOptions.Thumbnails = false; //Disable thumbnails too
- int components = 3;
QString profileDescription;
if ((m_pdfOptions.Version == PDFVersion::PDF_X3) || (m_pdfOptions.Version == PDFVersion::PDF_X1a) || (m_pdfOptions.Version == PDFVersion::PDF_X4))
{
@@ -554,7 +552,6 @@
m_pdfOptions.bleeds.set(0, 0, 0, 0);
// Generate PDF
- ScribusMainWindow* mainWindow = ScCore->primaryMainWindow();
QString errorString;
QString pdfFileName = ScPaths::tempFileDir() + "/" + m_tempBaseName + ".pdf";
More information about the scribus-commit
mailing list