summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VButton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/VButton.cxx')
-rw-r--r--chart2/source/view/main/VButton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx
index 406de6abe96f..996ceff2c288 100644
--- a/chart2/source/view/main/VButton.cxx
+++ b/chart2/source/view/main/VButton.cxx
@@ -49,7 +49,7 @@ void VButton::createShapes(const awt::Point& rPosition,
PropertyMapper::getTextLabelMultiPropertyLists(xTextProp, *pPropNames, *pPropValues);
tPropertyNameValueMap aTextValueMap;
- aTextValueMap["CharHeight"] <<= (float)10.0f;
+ aTextValueMap["CharHeight"] <<= 10.0f;
aTextValueMap["FillColor"] <<= (sal_Int32)0xe6e6e6;
aTextValueMap["FillStyle"] <<= drawing::FillStyle_SOLID;
aTextValueMap["LineColor"] <<= (sal_Int32)0xcccccc;