r18726 by jghali - #11958: "applied master page" warning of pdfchecker doesnt link to page
scribus-commit
scribus-commit at lists.scribus.net
Mon Jan 13 23:17:36 UTC 2014
Author: jghali
Date: Mon Jan 13 23:17:36 2014
New Revision: 18726
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18726
Log:
#11958: "applied master page" warning of pdfchecker doesnt link to page
Modified:
trunk/Scribus/scribus/collect4output.cpp
Modified: trunk/Scribus/scribus/collect4output.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18726&path=/trunk/Scribus/scribus/collect4output.cpp
==============================================================================
--- trunk/Scribus/scribus/collect4output.cpp (original)
+++ trunk/Scribus/scribus/collect4output.cpp Mon Jan 13 23:17:36 2014
@@ -362,6 +362,7 @@
bool success = copyFileAtomic(oldFileITF, outFileITF);
if (!success)
qDebug()<<"CollectForOutput::collectFile copyFileAtomic failed for"<<oldFileITF<<"to"<<outFileITF;
+#ifndef Q_OS_WIN32
else
{
QFile of(outFileITF);
@@ -374,6 +375,7 @@
else
qDebug()<<"Unable to set permissions successfully while collecting for output on"<<outFileITF<<"as the file does not exist";
}
+#endif
if (prefsManager->appPrefs.fontPrefs.AvailFonts[it3.key()].type() == ScFace::TYPE1)
{
QStringList metrics;
@@ -400,6 +402,7 @@
bool success = copyFileAtomic(origAFM, outFileAFM);
if (!success)
qDebug()<<"CollectForOutput::collectFile copyFileAtomic failed for"<<origAFM<<"to"<<outFileAFM;
+#ifndef Q_OS_WIN32
else
{
QFile of(outFileAFM);
@@ -412,6 +415,7 @@
else
qDebug()<<"Unable to set permissions successfully while collecting for output on"<<outFileAFM<<"as the file does not exist";
}
+#endif
}
}
if (uiCollect)
@@ -474,6 +478,7 @@
bool success = copyFileAtomic(oldFile, outFile);
if (!success)
qDebug()<<"CollectForOutput::collectFile copyFileAtomic failed for"<<oldFile<<"to"<<outFile;
+#ifndef Q_OS_WIN32
else
{
QFile of(outFile);
@@ -486,6 +491,7 @@
else
qDebug()<<"Unable to set permissions successfully while collecting for output on"<<outFile<<"as the file does not exist";
}
+#endif
if (uiCollect)
emit profilesCollected(c++);
}
More information about the scribus-commit
mailing list