summaryrefslogtreecommitdiffstats
path: root/forms/source/component/Currency.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r--forms/source/component/Currency.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index 4ef9f5a379ff..4703d57e3220 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -156,7 +156,10 @@ css::uno::Sequence<OUString> SAL_CALL OCurrencyModel::getSupportedServiceNames()
void OCurrencyModel::describeFixedProperties( Sequence< Property >& _rProps ) const
{
- BEGIN_DESCRIBE_PROPERTIES( 2, OEditBaseModel )
+ OEditBaseModel::describeFixedProperties( _rProps );
+ sal_Int32 nOldCount = _rProps.getLength();
+ _rProps.realloc( nOldCount + 2);
+ css::beans::Property* pProperties = _rProps.getArray() + nOldCount;
// Set Value to transient
// ModifyPropertyAttributes(_rAggregateProps, PROPERTY_VALUE, PropertyAttribute::TRANSIENT, 0);