r14636 by subik - compiler warning removal

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 3 14:00:20 CET 2010


Revision: 14636
Author: subik
Date: 2010-02-03T12:59:04.031007Z
Commit message: compiler warning removal

Changeset: 
M  /branches/Version135/Scribus/scribus/sctextstruct.h
M  /branches/Version135/Scribus/scribus/canvasmode_edit.cpp

Diffs:
Index: scribus/canvasmode_edit.cpp
===================================================================
--- scribus/canvasmode_edit.cpp	(revision 14635)
+++ scribus/canvasmode_edit.cpp	(revision 14636)
@@ -359,7 +359,7 @@
 	m_lastPosWasOverGuide = false;
 	double newX, newY;
 	PageItem *currItem;
-	bool erf = false;
+	//bool erf = false;
 	m->accept();
 	if (commonMouseMove(m))
 		return;
Index: scribus/sctextstruct.h
===================================================================
--- scribus/sctextstruct.h	(revision 14635)
+++ scribus/sctextstruct.h	(revision 14636)
@@ -60,6 +60,8 @@
 	GlyphLayout() : xadvance(0.0f), yadvance(0.0f), xoffset(0.0f), yoffset(0.0f),
 		scaleV(1.0), scaleH(1.0), glyph(0), more(NULL) 
 	{ }
+	virtual ~GlyphLayout()
+	{ }
 	double wide() const 
 	{ 
 		double ret = 0; 




More information about the scribus-commit mailing list