diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-02-19 00:36:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-19 09:32:39 +0000 |
commit | 8e1a8b25df15257ae0199671ecfc39285f93fec7 (patch) | |
tree | b10f726cc841d9ef7ccf0f375def03d9356abc37 | |
parent | b31fbe0dc48be70b3efbc7a7a3aecbffd1c73273 (diff) |
this should be [-90, 90] and not (-90, 90), tdf#89454
Change-Id: I943be2cf660d2dc77eebd776208af96c0b5f67a4
Reviewed-on: https://gerrit.libreoffice.org/14546
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | oox/source/drawingml/chart/objectformatter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx index abe671c6e9ee..3b49a639369a 100644 --- a/oox/source/drawingml/chart/objectformatter.cxx +++ b/oox/source/drawingml/chart/objectformatter.cxx @@ -1080,7 +1080,7 @@ void ObjectFormatter::convertTextRotation( PropertySet& rPropSet, const ModelRef OOXML counts clockwise, Chart2 counts counterclockwise. */ double fAngle = static_cast< double >( bStacked ? 0 : rxTextProp->getTextProperties().moRotation.get( 0 ) ); // MS Office UI allows values only in range of [-90,90]. - if ( fAngle <= -5400000.0 || fAngle >= 5400000.0 ) + if ( fAngle < -5400000.0 || fAngle > 5400000.0 ) { fAngle = 0.0; } |