diff options
Diffstat (limited to 'framework/source/fwi/uielement/rootitemcontainer.cxx')
-rw-r--r-- | framework/source/fwi/uielement/rootitemcontainer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx index e8759b0c0e7b..7f44c8c947d5 100644 --- a/framework/source/fwi/uielement/rootitemcontainer.cxx +++ b/framework/source/fwi/uielement/rootitemcontainer.cxx @@ -440,22 +440,22 @@ throw (::com::sun::star::uno::RuntimeException) const com::sun::star::uno::Sequence< com::sun::star::beans::Property > RootItemContainer::impl_getStaticPropertyDescriptor() { - // Create a new static property array to initialize sequence! + // Create a property array to initialize sequence! // Table of all predefined properties of this class. Its used from OPropertySetHelper-class! // Don't forget to change the defines (see begin of this file), if you add, change or delete a property in this list!!! // It's necessary for methods of OPropertySetHelper. // ATTENTION: // YOU MUST SORT FOLLOW TABLE BY NAME ALPHABETICAL !!! - static const com::sun::star::beans::Property pProperties[] = + const com::sun::star::beans::Property pProperties[] = { com::sun::star::beans::Property( PROPNAME_UINAME, PROPHANDLE_UINAME , ::getCppuType((const rtl::OUString*)NULL), com::sun::star::beans::PropertyAttribute::TRANSIENT ) }; // Use it to initialize sequence! - static const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, PROPCOUNT ); - // Return static "PropertyDescriptor" + const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, PROPCOUNT ); + // Return "PropertyDescriptor" return lPropertyDescriptor; } |