diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-10-01 16:28:55 +0200 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-10-01 16:28:55 +0200 |
commit | 2e338e7a849f6302dcb427499772613c88822b6f (patch) | |
tree | 4b0da9828571711ddaac3a304dbc643245b4096a /chart2/source/view/main/ChartItemPool.cxx | |
parent | 1ef9d6bf9b1a536ee474b609263c8d271fc796a5 (diff) |
chart49: remove assertion while opening chart series properties dialog: SFxItemPool: wrong item type in Put
Diffstat (limited to 'chart2/source/view/main/ChartItemPool.cxx')
-rw-r--r-- | chart2/source/view/main/ChartItemPool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/ChartItemPool.cxx b/chart2/source/view/main/ChartItemPool.cxx index d8f997d36da9..a4c1c984e535 100644 --- a/chart2/source/view/main/ChartItemPool.cxx +++ b/chart2/source/view/main/ChartItemPool.cxx @@ -108,7 +108,7 @@ ChartItemPool::ChartItemPool(): ppPoolDefaults[SCHATTR_Z_AXIS_ORIGIN - SCHATTR_START] = new SvxDoubleItem(0.0, SCHATTR_Z_AXIS_ORIGIN); ppPoolDefaults[SCHATTR_AXISTYPE - SCHATTR_START] = new SfxInt32Item(SCHATTR_AXISTYPE, CHART_AXIS_X); - ppPoolDefaults[SCHATTR_PERCENT_NUMBERFORMAT_VALUE - SCHATTR_START] = new SfxInt32Item(SCHATTR_PERCENT_NUMBERFORMAT_VALUE, 0); + ppPoolDefaults[SCHATTR_PERCENT_NUMBERFORMAT_VALUE - SCHATTR_START] = new SfxUInt32Item(SCHATTR_PERCENT_NUMBERFORMAT_VALUE, 0); ppPoolDefaults[SCHATTR_PERCENT_NUMBERFORMAT_SOURCE - SCHATTR_START] = new SfxBoolItem(SCHATTR_PERCENT_NUMBERFORMAT_SOURCE); ppPoolDefaults[SCHATTR_STAT_AVERAGE - SCHATTR_START] = new SfxBoolItem (SCHATTR_STAT_AVERAGE); |