r21456 by craig - Fix warning about non virtual ScFace destructor, changed code

scribus-commit scribus-commit at lists.scribus.net
Wed Sep 21 19:35:05 UTC 2016


Author: craig
Date: Wed Sep 21 19:35:05 2016
New Revision: 21456

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21456
Log:
Fix warning about non virtual ScFace destructor, changed code

Modified:
    trunk/Scribus/scribus/fonts/scface.h

Modified: trunk/Scribus/scribus/fonts/scface.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21456&path=/trunk/Scribus/scribus/fonts/scface.h
==============================================================================
--- trunk/Scribus/scribus/fonts/scface.h	(original)
+++ trunk/Scribus/scribus/fonts/scface.h	Wed Sep 21 19:35:05 2016
@@ -202,7 +202,7 @@
 
 	ScFace();
 	ScFace(const ScFace& other);
-	virtual ~ScFace();
+	~ScFace();
 
 	/// used as a null object
 	static const ScFace& none();
@@ -303,7 +303,7 @@
 	bool hasNames()    const { return m_m->hasNames(); }
 
 	/// tells if the font is a CID font
-	virtual bool isCIDKeyed() const { return m_m->isCIDFont; }
+	bool isCIDKeyed() const { return m_m->isCIDFont; }
 
 	/// tells if this font is an outline font
 	bool isStroked()   const { return m_m->isStroked; }




More information about the scribus-commit mailing list