diff options
Diffstat (limited to 'forms/source/component/navigationbar.cxx')
-rw-r--r-- | forms/source/component/navigationbar.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/component/navigationbar.cxx b/forms/source/component/navigationbar.cxx index fbbe8ffe4d17..c79c4b0a58eb 100644 --- a/forms/source/component/navigationbar.cxx +++ b/forms/source/component/navigationbar.cxx @@ -447,7 +447,10 @@ namespace frm void ONavigationBarModel::describeFixedProperties( Sequence< Property >& _rProps ) const { - BEGIN_DESCRIBE_PROPERTIES( 1, OControlModel ) + OControlModel::describeFixedProperties( _rProps ); + sal_Int32 nOldCount = _rProps.getLength(); + _rProps.realloc( nOldCount + 1); + css::beans::Property* pProperties = _rProps.getArray() + nOldCount; DECL_PROP_IMPL(TABINDEX, sal_Int16) css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::MAYBEDEFAULT); DBG_ASSERT( pProperties == _rProps.getArray() + _rProps.getLength(), "<...>::describeFixedProperties/getInfoHelper: forgot to adjust the count ?"); |