diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 06:01:17 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 11:48:02 +0100 |
commit | 919e27746650f223699a97f8f3d4922101d6d739 (patch) | |
tree | 33909252ee42540d05ce94998354fd221c247a57 /svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | |
parent | 9657161c2a55cc9456e37f7220c5fdecae1829bb (diff) |
loplugin: unused variables and commented code
Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShapeFontWork.cxx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
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 |