summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 13:44:16 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 13:59:52 +0200
commitc2460312ffcc430f97bea6fb1101be2e736fe002 (patch)
tree9f06fdbcfe5ea6074a10c37540333bad91658b60 /svx
parent2b4fd256e9f8594c31e7e8045dccae5afdc62e16 (diff)
-Werror=unused-but-set-variable
Change-Id: I61a07db63cc8a6bad159ca455f92d604c5e78edc
Diffstat (limited to 'svx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 7fd344a57de8..de8b9d4461d2 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -536,12 +536,6 @@ bool EnhancedCustomShape2d::ConvertSequenceToEnhancedCustomShape2dHandle(
void EnhancedCustomShape2d::ApplyShapeAttributes( const SdrCustomShapeGeometryItem& rGeometryItem )
{
- const sal_Int32* pDefData = nullptr;
- const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType );
- if ( pDefCustomShape )
- pDefData = pDefCustomShape->pDefData;
-
-
// AdjustmentValues
const Any* pAny = ((SdrCustomShapeGeometryItem&)rGeometryItem).GetPropertyValueByName( "AdjustmentValues" );
if ( pAny )