r17771 by jghali - fix some gcc 4.7.x warnings

scribus-commit scribus-commit at lists.scribus.net
Tue Sep 4 10:54:22 UTC 2012


Author: jghali
Date: Tue Sep  4 10:54:22 2012
New Revision: 17771

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17771
Log:
fix some gcc 4.7.x warnings

Modified:
    branches/Version14x/Scribus/scribus/colormgmt/sccolorprofiledata.h
    branches/Version14x/Scribus/scribus/colormgmt/sccolortransformdata.h

Modified: branches/Version14x/Scribus/scribus/colormgmt/sccolorprofiledata.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17771&path=/branches/Version14x/Scribus/scribus/colormgmt/sccolorprofiledata.h
==============================================================================
--- branches/Version14x/Scribus/scribus/colormgmt/sccolorprofiledata.h (original)
+++ branches/Version14x/Scribus/scribus/colormgmt/sccolorprofiledata.h Tue Sep  4 10:54:22 2012
@@ -23,6 +23,8 @@
 	QByteArray m_profileData;
 
 public:
+	virtual ~ScColorProfileData() {};
+	
 	QString dataHash() const;
 
 	QString path() const { return m_profilePath; }

Modified: branches/Version14x/Scribus/scribus/colormgmt/sccolortransformdata.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17771&path=/branches/Version14x/Scribus/scribus/colormgmt/sccolortransformdata.h
==============================================================================
--- branches/Version14x/Scribus/scribus/colormgmt/sccolortransformdata.h (original)
+++ branches/Version14x/Scribus/scribus/colormgmt/sccolortransformdata.h Tue Sep  4 10:54:22 2012
@@ -19,6 +19,8 @@
 	ScColorTransformInfo m_transformInfo;
 
 public:
+	virtual ~ScColorTransformData() {};
+	
 	inline const ScColorTransformInfo& transformInfo() const { return m_transformInfo; }
 	inline void  setTransformInfo(const ScColorTransformInfo& info) { m_transformInfo = info; }
 	




More information about the scribus-commit mailing list