incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1404257 - in /incubator/ooo/trunk/main/filter: inc/filter/msfilter/escherex.hxx source/msfilter/escherex.cxx
Date Wed, 31 Oct 2012 17:17:35 GMT
Author: alg
Date: Wed Oct 31 17:17:35 2012
New Revision: 1404257

URL: http://svn.apache.org/viewvc?rev=1404257&view=rev
Log:
removed unused variable bSuppressRotation

Modified:
    incubator/ooo/trunk/main/filter/inc/filter/msfilter/escherex.hxx
    incubator/ooo/trunk/main/filter/source/msfilter/escherex.cxx

Modified: incubator/ooo/trunk/main/filter/inc/filter/msfilter/escherex.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/inc/filter/msfilter/escherex.hxx?rev=1404257&r1=1404256&r2=1404257&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/inc/filter/msfilter/escherex.hxx (original)
+++ incubator/ooo/trunk/main/filter/inc/filter/msfilter/escherex.hxx Wed Oct 31 17:17:35 2012
@@ -1163,8 +1163,6 @@ class MSFILTER_DLLPUBLIC EscherPropertyC
 		sal_uInt32				nCountSize;
 
 		sal_Bool				bHasComplexData;
-		sal_Bool				bSuppressRotation;
-
 
 		sal_uInt32	ImplGetColor( const sal_uInt32 rColor, sal_Bool bSwap = sal_True );
 		void		ImplCreateGraphicAttributes( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet
> & rXPropSet,

Modified: incubator/ooo/trunk/main/filter/source/msfilter/escherex.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/escherex.cxx?rev=1404257&r1=1404256&r2=1404257&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/escherex.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/escherex.cxx Wed Oct 31 17:17:35 2012
@@ -158,7 +158,6 @@ void EscherPropertyContainer::ImplInit()
 	nCountSize = 0;
 	nSortBufSize = 64;
 	bHasComplexData	= sal_False;
-	bSuppressRotation = sal_False;
 	pSortStruct = new EscherPropSortStruct[ nSortBufSize ];
 }
 
@@ -323,9 +322,6 @@ void EscherPropertyContainer::Commit( Sv
 			sal_uInt32 nPropValue = pSortStruct[ i ].nPropValue;
 			sal_uInt16 nPropId = pSortStruct[ i ].nPropId;
 
-			if ( bSuppressRotation && ( nPropId == ESCHER_Prop_Rotation ) )
-				nPropValue = 0;
-
 			rSt << nPropId
 				<< nPropValue;
 		}
@@ -2394,7 +2390,6 @@ sal_Bool EscherPropertyContainer::Create
 						}
 						CreateLineProperties( aXPropSet, sal_False );
 						bRetValue = sal_True;
-						bSuppressRotation = sal_False;
 					}
 				}
 			}



Mime
View raw message