summaryrefslogtreecommitdiff
path: root/svx/source/styles
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 17:01:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:48:15 +0200
commit1d2b6b709e81eec8600118b3402d82707aa113bc (patch)
tree09dce9cc095e37c3c5a18d81ca3afebba546ae4c /svx/source/styles
parentca734f7cfa55814a85d5940e5f64d7c53638f6a7 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'svx/source/styles')
-rw-r--r--svx/source/styles/ColorSets.cxx4
1 files changed, 2 insertions, 2 deletions
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<beans::XPropertySet>& xPorti
}
xPortion->setPropertyValue(UNO_NAME_EDIT_CHAR_COLOR,
- uno::makeAny(static_cast<sal_Int32>(aColor)));
+ uno::Any(static_cast<sal_Int32>(aColor)));
}
void UpdateFillColorSet(const uno::Reference<beans::XPropertySet>& xShape, const svx::ColorSet& rColorSet)
@@ -87,7 +87,7 @@ void UpdateFillColorSet(const uno::Reference<beans::XPropertySet>& xShape, const
aColor.ApplyLumModOff(nFillColorLumMod, nFillColorLumOff);
}
- xShape->setPropertyValue(UNO_NAME_FILLCOLOR, uno::makeAny(static_cast<sal_Int32>(aColor)));
+ xShape->setPropertyValue(UNO_NAME_FILLCOLOR, uno::Any(static_cast<sal_Int32>(aColor)));
}
void UpdateSdrObject(svx::Theme* pTheme, SdrObject* pObject)