Kaydet (Commit) c2460312 authored tarafından Noel Grandin's avatar Noel Grandin

-Werror=unused-but-set-variable

Change-Id: I61a07db63cc8a6bad159ca455f92d604c5e78edc
üst 2b4fd256
......@@ -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 )
......
......@@ -80,8 +80,6 @@ void XMLTransGradientStyleImport::importXML(
uno::Any& rValue,
OUString& rStrName )
{
bool bHasName = false;
bool bHasStyle = false;
OUString aDisplayName;
awt::Gradient aGradient;
......@@ -124,7 +122,6 @@ void XMLTransGradientStyleImport::importXML(
case XML_TOK_GRADIENT_NAME:
{
rStrName = rStrValue;
bHasName = true;
}
break;
case XML_TOK_GRADIENT_DISPLAY_NAME:
......@@ -138,7 +135,6 @@ void XMLTransGradientStyleImport::importXML(
if( SvXMLUnitConverter::convertEnum( eValue, rStrValue, pXML_GradientStyle_Enum ) )
{
aGradient.Style = (awt::GradientStyle) eValue;
bHasStyle = true;
}
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment