From 919e27746650f223699a97f8f3d4922101d6d739 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 3 Mar 2013 06:01:17 +0100 Subject: loplugin: unused variables and commented code Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf --- svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'svx/source/customshapes/EnhancedCustomShapeFontWork.cxx') diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index 8bbf160f0ca4..b22c7048dbd5 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -811,12 +811,6 @@ SdrObject* CreateSdrObjectFromParagraphOutlines( const FWData& rFWData, const Sd pRet = new SdrPathObj( OBJ_POLY, aPolyPoly ); - Point aP( pCustomShape->GetSnapRect().Center() ); - Size aS( pCustomShape->GetLogicRect().GetSize() ); - aP.X() -= aS.Width() / 2; - aP.Y() -= aS.Height() / 2; - Rectangle aLogicRect( aP, aS ); - SfxItemSet aSet( pCustomShape->GetMergedItemSet() ); aSet.ClearItem( SDRATTR_TEXTDIRECTION ); //SJ: vertical writing is not required, by removing this item no outliner is created aSet.Put(SdrShadowItem(sal_False)); // #i37011# NO shadow for FontWork geometry -- cgit