diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-30 00:03:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-30 05:45:26 +0200 |
commit | 902255645328efde34ddf62227c8278e8dd61ff0 (patch) | |
tree | 26dd9225bf70d54cd0687164283fd9d350536785 /chart2/source/view/main/PropertyMapper.cxx | |
parent | bead8d010987d53b313e30b65e56d04ee80469ef (diff) |
small fix to reduce UnknownPropertyException in chart2
accidently introduced with f1531cdaaebe706d909dc6ddde439ccb5f4ad36d
Change-Id: I292097c5f61ecb32a28a90e9f5be48fcfd6bcd7b
Diffstat (limited to 'chart2/source/view/main/PropertyMapper.cxx')
-rw-r--r-- | chart2/source/view/main/PropertyMapper.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index c373f38561ee..313c2370902a 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -435,11 +435,12 @@ void PropertyMapper::getTextLabelMultiPropertyLists( , tNameSequence& rPropNames, tAnySequence& rPropValues , bool bName , sal_Int32 nLimitedSpace - , bool bLimitedHeight ) + , bool bLimitedHeight + , bool bSupportsLabelBorder) { //fill character properties into the ValueMap tPropertyNameValueMap aValueMap; - tMakePropertyNameMap aNameMap = PropertyMapper::getPropertyNameMapForTextLabelProperties(); + tMakePropertyNameMap aNameMap = bSupportsLabelBorder ? PropertyMapper::getPropertyNameMapForTextLabelProperties() : getPropertyNameMapForCharacterProperties(); PropertyMapper::getValueMap(aValueMap, aNameMap, xSourceProp); |