[ooo-build-commit] patches/dev300

Tor Lillqvist tml at kemper.freedesktop.org
Tue Sep 8 07:31:19 PDT 2009


 patches/dev300/chart-axis-multi-chart-types-sc.diff |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b1af3b450228135b1674c694bf139e51e1afbcf2
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Tue Sep 8 17:29:07 2009 +0300

    Fix build error
    
    * patches/dev300/chart-axis-multi-chart-types-sc.diff: Use PERCENT
      from the correct enum in sc/source/filter/excel/xichart.cxx.

diff --git a/patches/dev300/chart-axis-multi-chart-types-sc.diff b/patches/dev300/chart-axis-multi-chart-types-sc.diff
index 6db7a7a..d4c2349 100644
--- a/patches/dev300/chart-axis-multi-chart-types-sc.diff
+++ b/patches/dev300/chart-axis-multi-chart-types-sc.diff
@@ -196,7 +196,7 @@
              case cssc2::AxisType::REALNUMBER:
              case cssc2::AxisType::PERCENT:
 +            {
-+                bool bPercent = aScaleData.AxisType == ApiAxisType::PERCENT;
++                bool bPercent = (aScaleData.AxisType == cssc2::AxisType::PERCENT);
                  // #i85167# pie/donut charts have reversed rotation direction (at Y axis!)
 -                mxValueRange->Convert( aScaleData, rTypeInfo.meTypeCateg == EXC_CHTYPECATEG_PIE );
 +                mxValueRange->Convert( aScaleData, rTypeInfo.meTypeCateg == EXC_CHTYPECATEG_PIE, bPercent );


More information about the ooo-build-commit mailing list