diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-13 11:35:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-13 13:15:04 +0200 |
commit | 9059a17e3a8cfe536f66dfe17bd213d81f09c625 (patch) | |
tree | a00694c31a58cb0b1189b1fafbd7fed4990385b5 /oox/source/drawingml/fillproperties.cxx | |
parent | cd79d5caf67d1769cd1bdea6f4ae26810d27ebc0 (diff) |
clang-analyzer-deadcode.DeadStores
ever since 68e756de2ec7f9aeb1b6a6a28468745eca114715 "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
Diffstat (limited to 'oox/source/drawingml/fillproperties.cxx')
-rw-r--r-- | oox/source/drawingml/fillproperties.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx index 6879896b6e1e..883f9a459e8b 100644 --- a/oox/source/drawingml/fillproperties.cxx +++ b/oox/source/drawingml/fillproperties.cxx @@ -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 { |