diff options
Diffstat (limited to 'forms/source/component/Time.cxx')
-rw-r--r-- | forms/source/component/Time.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx index 6fc7b934d1b7..920aa145c17d 100644 --- a/forms/source/component/Time.cxx +++ b/forms/source/component/Time.cxx @@ -150,7 +150,8 @@ void OTimeModel::describeFixedProperties( Sequence< Property >& _rProps ) const DECL_PROP_IMPL(DEFAULT_TIME, util::Time) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT | css::beans::PropertyAttribute::MAYBEVOID); DECL_PROP1(TABINDEX, sal_Int16, BOUND); DECL_PROP1(FORMATKEY, sal_Int32, TRANSIENT); - DECL_IFACE_PROP_IMPL(FORMATSSUPPLIER, XNumberFormatsSupplier) css::beans::PropertyAttribute::READONLY | css::beans::PropertyAttribute::TRANSIENT); + *pProperties++ = css::beans::Property(PROPERTY_FORMATSSUPPLIER, PROPERTY_ID_FORMATSSUPPLIER, cppu::UnoType<XNumberFormatsSupplier>::get(), + css::beans::PropertyAttribute::READONLY | css::beans::PropertyAttribute::TRANSIENT); END_DESCRIBE_PROPERTIES(); } |