From 1d2b6b709e81eec8600118b3402d82707aa113bc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 3 May 2022 17:01:57 +0200 Subject: Just use Any ctor instead of makeAny in svx Change-Id: I59b1b3f817a9028f132456ea5094f38f88674d00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133768 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- svx/source/styles/ColorSets.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/styles') diff --git a/svx/source/styles/ColorSets.cxx b/svx/source/styles/ColorSets.cxx index 9edfdc2f3d2a..6b2db4831a22 100644 --- a/svx/source/styles/ColorSets.cxx +++ b/svx/source/styles/ColorSets.cxx @@ -60,7 +60,7 @@ void UpdateTextPortionColorSet(const uno::Reference& xPorti } xPortion->setPropertyValue(UNO_NAME_EDIT_CHAR_COLOR, - uno::makeAny(static_cast(aColor))); + uno::Any(static_cast(aColor))); } void UpdateFillColorSet(const uno::Reference& xShape, const svx::ColorSet& rColorSet) @@ -87,7 +87,7 @@ void UpdateFillColorSet(const uno::Reference& xShape, const aColor.ApplyLumModOff(nFillColorLumMod, nFillColorLumOff); } - xShape->setPropertyValue(UNO_NAME_FILLCOLOR, uno::makeAny(static_cast(aColor))); + xShape->setPropertyValue(UNO_NAME_FILLCOLOR, uno::Any(static_cast(aColor))); } void UpdateSdrObject(svx::Theme* pTheme, SdrObject* pObject) -- cgit