r15482 by craig - Fix oops

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 20 22:51:32 CEST 2010


Author: craig
Date: Mon Sep 20 20:51:32 2010
New Revision: 15482

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15482
Log:
Fix oops

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15482&path=/trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp Mon Sep 20 20:51:32 2010
@@ -114,7 +114,7 @@
 		if (!ScGzFile::readFromFile(fileName, docBytes, 4096))
 		{
 			// FIXME: Needs better error return
-			return QString::null;
+			return false;
 		}
 	}
 	else
@@ -137,7 +137,7 @@
 		if (!ScGzFile::readFromFile(fileName, docBytes))
 		{
 			// FIXME: Needs better error return
-			return false;
+			return QString::null;
 		}
 	}
 	else




More information about the scribus-commit mailing list