r18002 by craig - Remove unnecessary call to isNull to clean up PV TODO from 1.3.4

scribus-commit scribus-commit at lists.scribus.net
Fri Dec 28 17:42:24 UTC 2012


Author: craig
Date: Fri Dec 28 17:42:24 2012
New Revision: 18002

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18002
Log:
Remove unnecessary call to isNull to clean up PV TODO from 1.3.4

Modified:
    trunk/Scribus/scribus/guidemanagercore.cpp

Modified: trunk/Scribus/scribus/guidemanagercore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18002&path=/trunk/Scribus/scribus/guidemanagercore.cpp
==============================================================================
--- trunk/Scribus/scribus/guidemanagercore.cpp (original)
+++ trunk/Scribus/scribus/guidemanagercore.cpp Fri Dec 28 17:42:24 2012
@@ -743,8 +743,7 @@
 
 void GuideManagerIO::readSelection(const QString guideString, ScPage *page)
 {
-	// TODO: examine this check in 134vs.134qt4 - PV
-	if (guideString.isNull() || guideString.isEmpty())
+	if (guideString.isEmpty())
 		return;
 	QStringList gVal(guideString.split(' ', QString::SkipEmptyParts));
 	page->guides.gx = ScCLocale::toDoubleC(gVal[0]);




More information about the scribus-commit mailing list