summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 10:24:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 09:17:34 +0000
commit48e83f7be240cd0af5b9f1ee5b87c4d9376c102e (patch)
tree15ccd05d11aca0461309670987ae71316a6232ca /chart2/source
parent3422dfc1b61c15d7d3a6b0e1ee16c50457946cc0 (diff)
makeAny->Any in cppuhelper..cui
Change-Id: Ia54e6e9b71df68bd04c304a0bb02da8ebac74420 Reviewed-on: https://gerrit.libreoffice.org/34603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/view/main/VButton.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx
index 3bbd90b43075..406de6abe96f 100644
--- a/chart2/source/view/main/VButton.cxx
+++ b/chart2/source/view/main/VButton.cxx
@@ -49,16 +49,16 @@ void VButton::createShapes(const awt::Point& rPosition,
PropertyMapper::getTextLabelMultiPropertyLists(xTextProp, *pPropNames, *pPropValues);
tPropertyNameValueMap aTextValueMap;
- aTextValueMap["CharHeight"] = uno::makeAny<float>(10.0f);
- aTextValueMap["FillColor"] = uno::makeAny<sal_Int32>(0xe6e6e6);
- aTextValueMap["FillStyle"] = uno::makeAny(drawing::FillStyle_SOLID);
- aTextValueMap["LineColor"] = uno::makeAny<sal_Int32>(0xcccccc);
- aTextValueMap["LineStyle"] = uno::makeAny(drawing::LineStyle_SOLID);
- aTextValueMap["ParaAdjust"] = uno::makeAny(style::ParagraphAdjust_CENTER);
- aTextValueMap["TextHorizontalAdjust"] = uno::makeAny(drawing::TextHorizontalAdjust_CENTER);
- aTextValueMap["TextVerticalAdjust"] = uno::makeAny(drawing::TextVerticalAdjust_CENTER);
-
- aTextValueMap["Name"] = uno::makeAny(OUString(m_sCID)); //CID OUString
+ aTextValueMap["CharHeight"] <<= (float)10.0f;
+ aTextValueMap["FillColor"] <<= (sal_Int32)0xe6e6e6;
+ aTextValueMap["FillStyle"] <<= drawing::FillStyle_SOLID;
+ aTextValueMap["LineColor"] <<= (sal_Int32)0xcccccc;
+ aTextValueMap["LineStyle"] <<= drawing::LineStyle_SOLID;
+ aTextValueMap["ParaAdjust"] <<= style::ParagraphAdjust_CENTER;
+ aTextValueMap["TextHorizontalAdjust"] <<= drawing::TextHorizontalAdjust_CENTER;
+ aTextValueMap["TextVerticalAdjust"] <<= drawing::TextVerticalAdjust_CENTER;
+
+ aTextValueMap["Name"] <<= m_sCID; //CID OUString
PropertyMapper::getMultiPropertyListsFromValueMap(*pPropNames, *pPropValues, aTextValueMap);