r20938 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 9 07:15:22 UTC 2016


Author: jghali
Date: Tue Feb  9 07:15:22 2016
New Revision: 20938

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20938
Log:
coverity #1350337: missing break in switch

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20938&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp	(original)
+++ trunk/Scribus/scribus/pageitem.cpp	Tue Feb  9 07:15:22 2016
@@ -3100,6 +3100,7 @@
 				case LatexFrame:
 				case OSGFrame:
 					setGradientCol1(m_Doc->itemToolPrefs().imageFillColor);
+					break;
 				case TextFrame:
 				case PathText:
 					setGradientCol1(m_Doc->itemToolPrefs().textFillColor);
@@ -3139,6 +3140,7 @@
 				case LatexFrame:
 				case OSGFrame:
 					setGradientCol2(m_Doc->itemToolPrefs().imageFillColor);
+					break;
 				case TextFrame:
 				case PathText:
 					setGradientCol2(m_Doc->itemToolPrefs().textFillColor);
@@ -3178,6 +3180,7 @@
 				case LatexFrame:
 				case OSGFrame:
 					setGradientCol3(m_Doc->itemToolPrefs().imageFillColor);
+					break;
 				case TextFrame:
 				case PathText:
 					setGradientCol3(m_Doc->itemToolPrefs().textFillColor);




More information about the scribus-commit mailing list