r20849 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 07:50:58 UTC 2016


Author: jghali
Date: Mon Feb  1 07:50:58 2016
New Revision: 20849

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20849
Log:
coverity #1350480: array compared against 0

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20849&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp	(original)
+++ trunk/Scribus/scribus/pageitem.cpp	Mon Feb  1 07:50:58 2016
@@ -4802,7 +4802,7 @@
 			ss = new SimpleState(Um::UnLock, 0, Um::IUnLock);
 		else
 			ss = new SimpleState(Um::Lock, 0, Um::ILock);
-		ss->set("LOCK", "lock");
+		ss->set("LOCK");
 		undoManager->action(this, ss);
 	}
 	m_Locked = !m_Locked;




More information about the scribus-commit mailing list