summaryrefslogtreecommitdiff
path: root/forms/source/component/Currency.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 10:11:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 12:11:29 +0200
commitefdf328a7147582d21da43966ed8afef2394d812 (patch)
tree89bc3f5051b9538340099db2bb29ffe7d2475eeb /forms/source/component/Currency.cxx
parent6b6df07d2fe6346bc5a6b32912abcb7694853e2a (diff)
Just use Any ctor instead of makeAny in forms
Change-Id: I25183cc06728c81e45b28fd41071c15abf05bbc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133809 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r--forms/source/component/Currency.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index e0eb2bddd19f..2e4839dd82d4 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -96,8 +96,8 @@ void OCurrencyModel::implConstruct()
}
if (!sCurrencySymbol.isEmpty())
{
- m_xAggregateSet->setPropertyValue(PROPERTY_CURRENCYSYMBOL, makeAny(sCurrencySymbol));
- m_xAggregateSet->setPropertyValue(PROPERTY_CURRSYM_POSITION, makeAny(bPrependCurrencySymbol));
+ m_xAggregateSet->setPropertyValue(PROPERTY_CURRENCYSYMBOL, Any(sCurrencySymbol));
+ m_xAggregateSet->setPropertyValue(PROPERTY_CURRSYM_POSITION, Any(bPrependCurrencySymbol));
}
}
catch(const Exception&)