From d370b365daff7d3fa9927559ddfbb17a2d5f3e29 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 11 Aug 2012 00:03:24 +0200 Subject: QImage{Reader,Writer}: remove unused local typedef (GCC 4.8 warning) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC 4.8 warns: warning: typedef ‘PluginKeyMapConstIterator’ locally defined but not used [-Wunused-local-typedefs] Change-Id: I0225708b590ac3d72ab3cb8f61e686091c187053 Reviewed-by: Thiago Macieira --- src/gui/image/qimagereader.cpp | 1 - src/gui/image/qimagewriter.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'src/gui/image') diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index 67a23dfaff..5395b4e9c9 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -226,7 +226,6 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device, #ifndef QT_NO_LIBRARY typedef QMultiMap PluginKeyMap; - typedef PluginKeyMap::const_iterator PluginKeyMapConstIterator; // check if we have plugins that support the image format QFactoryLoader *l = loader(); diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp index ef946277f1..b9c3387d0c 100644 --- a/src/gui/image/qimagewriter.cpp +++ b/src/gui/image/qimagewriter.cpp @@ -138,7 +138,6 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device, #ifndef QT_NO_LIBRARY typedef QMultiMap PluginKeyMap; - typedef PluginKeyMap::const_iterator PluginKeyMapConstIterator; // check if any plugins can write the image QFactoryLoader *l = loader(); -- cgit v1.2.3