From 866364d7cb08b6a7d7f71f0d43e6765d8c32dd4c Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 18 Mar 2011 12:42:03 +0900 Subject: [PATCH] Removed dead code --- oox/source/export/drawingml.cxx | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 5263ccf9f186..99813bef2769 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1170,9 +1170,6 @@ void DrawingML::WriteParagraphProperties( Reference< XTextContent > rParagraph ) if( !rXPropSet.is() || !rXPropState.is() ) return; - //OSL_TRACE("write paragraph properties pset"); - //DBG(lcl_dump_pset(rXPropSet)); - sal_Int16 nLevel = -1; GET( nLevel, NumberingLevel ); @@ -1295,7 +1292,6 @@ void DrawingML::WriteText( Reference< XShape > rXShape ) if( GETA( TextWordWrap ) ) { mAny >>= bWrap; bHasWrap = TRUE; - //DBG(printf("wrap: %d\n", bWrap)); } mpFS->singleElementNS( XML_a, XML_bodyPr, @@ -1308,7 +1304,6 @@ void DrawingML::WriteText( Reference< XShape > rXShape ) XML_anchorCtr, bHorizontalCenter ? "1" : NULL, XML_vert, sWritingMode, FSEND ); - //mpFS->singleElement( FSNS( XML_a, XML_lstStyle ), FSEND ); Reference< XEnumerationAccess > access( xXText, UNO_QUERY ); if( !access.is() ) @@ -1437,21 +1432,6 @@ void DrawingML::WritePolyPolygon( const PolyPolygon& rPolyPolygon ) mpFS->endElementNS( XML_a, XML_cubicBezTo ); mpFS->startElementNS( XML_a, XML_cubicBezTo, FSEND ); } -// switch( rPoly.GetFlags(j) ) { -// case POLY_NORMAL: -// DBG(printf("normal\n")); -// break; -// case POLY_SMOOTH: -// DBG(printf("smooth\n")); -// break; -// case POLY_CONTROL: -// DBG(printf("control\n")); -// break; -// case POLY_SYMMTR: -// DBG(printf("symmtr\n")); -// break; -// } -// DBG(printf("point %ld %ld\n", rPoly[j].X() - aRect.Left(), rPoly[j].Y() - aRect.Top())); } mpFS->endElementNS( XML_a, XML_path ); @@ -1559,12 +1539,6 @@ void DrawingML::WriteFill( Reference< XPropertySet > xPropSet ) FillStyle aFillStyle( FillStyle_NONE ); xPropSet->getPropertyValue( S( "FillStyle" ) ) >>= aFillStyle; - if( aFillStyle == FillStyle_BITMAP ) - { - //DBG(printf ("FillStyle_BITMAP properties\n")); - //DBG(dump_pset(rXPropSet)); - } - if( aFillStyle == FillStyle_NONE || aFillStyle == FillStyle_HATCH ) return;