r22452 by craig - Unfix fallthrough warning
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 26 22:30:34 UTC 2018
Author: craig
Date: Mon Mar 26 22:30:33 2018
New Revision: 22452
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22452
Log:
Unfix fallthrough warning
Modified:
trunk/Scribus/scribus/exif.cpp
Modified: trunk/Scribus/scribus/exif.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22452&path=/trunk/Scribus/scribus/exif.cpp
==============================================================================
--- trunk/Scribus/scribus/exif.cpp (original)
+++ trunk/Scribus/scribus/exif.cpp Mon Mar 26 22:30:33 2018
@@ -980,11 +980,11 @@
switch ( Orientation )
{ // notice intentional fallthroughs
case 2: M = flip; break;
- case 4: M = flip; Q_FALLTHROUGH();
+ case 4: M = flip; //Q_FALLTHROUGH();
case 3: M.rotate ( 180 ); break;
- case 5: M = flip; Q_FALLTHROUGH();
+ case 5: M = flip; //Q_FALLTHROUGH();
case 6: M.rotate ( 90 ); break;
- case 7: M = flip; Q_FALLTHROUGH();
+ case 7: M = flip; //Q_FALLTHROUGH();
case 8: M.rotate ( 270 ); break;
default: break; // should never happen
}
More information about the scribus-commit
mailing list