Kaydet (Commit) 9059a17e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-analyzer-deadcode.DeadStores

ever since 68e756de "n#657896 - Gradient
Transparencies and Muticolor Gradient fills" moved the use of nDmlANgle (to set
aGradient.Angle) from after the if/else to inside the else branch.  According
to vmiklos: "i guess it's just an oversight that the
'nDmlAngle = nShapeRotation;' is not removed in the 'if' branch."

Change-Id: I63e449e01a83415d988d6616388d724449997f39
üst cd79d5ca
......@@ -377,7 +377,6 @@ void FillProperties::pushToPropMap( ShapePropertyMap& rPropMap,
aGradient.YOffset = getLimitedValue< sal_Int16, sal_Int32 >( nCenterY / PER_PERCENT, 30, 70 );
::std::swap( aGradient.StartColor, aGradient.EndColor );
::std::swap( nStartTrans, nEndTrans );
nDmlAngle = nShapeRotation;
}
else
{
......
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