r19970 by craig - #12976: Use original files base name instead of clean for conversion pdf file

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 6 08:28:02 UTC 2015


Author: craig
Date: Mon Apr  6 08:28:02 2015
New Revision: 19970

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19970
Log:
#12976: Use original files base name instead of clean for conversion pdf file

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/importpdfplugin.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/importpdfplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19970&path=/trunk/Scribus/scribus/plugins/import/pdf/importpdfplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/importpdfplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/importpdfplugin.cpp Mon Apr  6 08:28:02 2015
@@ -193,7 +193,7 @@
 			// Destill the eps/ps with ghostscript to get a clean pdf file
 			bool cancel = false;
 			QString errFile = getShortPathName(ScPaths::getTempFileDir())+ "/ps.err";
-			cleanFile = getShortPathName(ScPaths::getTempFileDir())+ "/clean.pdf";
+			cleanFile = getShortPathName(ScPaths::getTempFileDir()) + "/" + fi.baseName() + ".pdf";
 			QStringList args;
 			args.append( "-q" );
 			args.append( "-dNOPAUSE" );




More information about the scribus-commit mailing list