r20726 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 26 23:37:33 UTC 2016


Author: jghali
Date: Tue Jan 26 23:37:33 2016
New Revision: 20726

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20726
Log:
fix useless calls <coverity>

Modified:
    trunk/Scribus/scribus/pageitem_noteframe.cpp

Modified: trunk/Scribus/scribus/pageitem_noteframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20726&path=/trunk/Scribus/scribus/pageitem_noteframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_noteframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_noteframe.cpp	Tue Jan 26 23:37:33 2016
@@ -59,7 +59,6 @@
 	else
 		m_SizeLocked = false;
 	deleteIt = false;
-	l_notes.empty();
 }
 
 PageItem_NoteFrame::PageItem_NoteFrame(ScribusDoc *doc, double x, double y, double w, double h, double w2, QString fill, QString outline)
@@ -69,7 +68,6 @@
 	m_masterFrame = NULL;
 	textFlowModeVal = TextFlowUsesFrameShape;
 	deleteIt = false;
-	l_notes.empty();
 }
 
 PageItem_NoteFrame::PageItem_NoteFrame(PageItem_TextFrame* inFrame, NotesStyle *nStyle) : PageItem_TextFrame(inFrame->doc(),inFrame->xPos(), inFrame->yPos(),inFrame->width(), inFrame->height(),inFrame->lineWidth(), inFrame->fillColor(), inFrame->lineColor())
@@ -132,7 +130,6 @@
 	else
 		m_SizeLocked = false;
 	deleteIt = false;
-	l_notes.empty();
 }
 
 void PageItem_NoteFrame::setNS(NotesStyle *nStyle, PageItem_TextFrame* master)




More information about the scribus-commit mailing list