incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1372306 - /incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
Date Mon, 13 Aug 2012 08:13:54 GMT
Author: af
Date: Mon Aug 13 08:13:54 2012
New Revision: 1372306

URL: http://svn.apache.org/viewvc?rev=1372306&view=rev
Log:
Add default to switch statements to avoid compiler warnings.

    Patch by: Pavel Janik
    Review by: Andre Fischer

Modified:
    incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Modified: incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx?rev=1372306&r1=1372305&r2=1372306&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx Mon Aug 13 08:13:54 2012
@@ -7940,6 +7940,9 @@ void	SdrPowerPointImport::ApplyTextAncho
 		case mso_anchorBottomCentered:
 			eTHA = SDRTEXTHORZADJUST_LEFT;
 			break;
+
+        default:
+            break;
 		}
 		// if there is a 100% use of following attributes, the textbox can been aligned also in
vertical direction
 		switch ( eTextAnchor )
@@ -7989,6 +7992,9 @@ void	SdrPowerPointImport::ApplyTextAncho
 		case mso_anchorBottomCentered:
 			eTVA = SDRTEXTVERTADJUST_BOTTOM;
 			break;
+
+        default:
+            break;
 		}
 		// if there is a 100% usage of following attributes, the textbox can be aligned also in
horizontal direction
 		switch ( eTextAnchor )



Mime
View raw message