summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/PropertyMaps.cxx
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2001-06-05 13:09:28 +0000
committerBjörn Milcke <bm@openoffice.org>2001-06-05 13:09:28 +0000
commitac14e72d25a490c06657c0aff2839f0865da169b (patch)
tree7a129e36d41a184f4cfd6128f608243c3889cfa8 /xmloff/source/chart/PropertyMaps.cxx
parenta24565e1ba0c697055f218ac841d42bab89a241f (diff)
#87569# use enum property handler for solid type (constants handler uses sal_Int16 instead of sal_Int32)
Diffstat (limited to 'xmloff/source/chart/PropertyMaps.cxx')
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index 4e6329a80d84..be6793fb3a1f 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: PropertyMaps.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: bm $ $Date: 2001-06-01 12:35:30 $
+ * last change: $Author: bm $ $Date: 2001-06-05 14:09:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -178,7 +178,8 @@ const XMLPropertyHandler* XMLChartPropHdlFactory::GetPropertyHandler( sal_Int32
case XML_SCH_TYPE_SOLID_TYPE:
// here we have a constant rather than an enum
- pHdl = new XMLConstantsPropertyHandler( aXMLChartSolidTypeEnumMap, sXML_cuboid );
+ pHdl = new XMLEnumPropertyHdl( aXMLChartSolidTypeEnumMap,
+ ::getCppuType((const sal_Int32*)0) );
break;
case XML_SCH_TYPE_DATAROWSOURCE:
pHdl = new XMLEnumPropertyHdl( aXMLChartDataRowSourceTypeEnumMap,