diff options
Diffstat (limited to 'sc/source/filter/oox/condformatbuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/condformatbuffer.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index 3deec936c4ba..34519f142d73 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -1111,7 +1111,10 @@ void ExtCfRule::finalizeImport() pDataBar->meAxisPosition = databar::MIDDLE; else pDataBar->meAxisPosition = databar::AUTOMATIC; + // TODO: the following line makes very little sense, figure out + // how it used to be (XML_negativeBarColorSameAsPositive) pDataBar->mbNeg = !maModel.mbGradient; + pDataBar->mbGradient = maModel.mbGradient; break; } case AXISCOLOR: |