sc/source/filter/oox/condformatbuffer.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit d0e4d1f397e9302aeb32aa7590292d9b86fe954b Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Fri May 11 01:22:12 2012 +0200 map percentile and percent into the same element This is most likely wrong but I have not yet an idea what should be the difference between these two. Change-Id: I3ee87de8d3b3f9a495ee653576a533690d66a3d0 diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index 89ba949..bce9ed4 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -172,8 +172,14 @@ void ColorScaleRule::importCfvo( const AttributeList& rAttribs ) { maColorScaleRuleEntries[mnCfvo].mbMax = true; } + else if( aType == "percent" ) + { + maColorScaleRuleEntries[mnCfvo].mbPercent = true; + } else if( aType == "percentile" ) { + // this is most likely wrong but I have no idea what the difference + // between percent and percentile should be when calculating colors maColorScaleRuleEntries[mnCfvo].mbPercent = true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits