diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-13 01:04:26 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-16 21:22:43 -0400 |
commit | 80b1e662777100a7dfd80176a2b528880a838167 (patch) | |
tree | fe39ee8773de6282e6e2b468b815eadf4fc7ddca /sc/source/filter/inc/fapihelper.hxx | |
parent | d2e538a63507aa3310a854d5c1414565efa3a361 (diff) |
Added XPropertySet2 to allow disabling of change event notifications.
Sometimes broadcasting changes to the property set on every new
value insertion makes no sense especially during import. Turning
that off also improves performance especially when inserting millions
of property values.
Diffstat (limited to 'sc/source/filter/inc/fapihelper.hxx')
-rw-r--r-- | sc/source/filter/inc/fapihelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx index a33d411e19bb..f8a338f959b3 100644 --- a/sc/source/filter/inc/fapihelper.hxx +++ b/sc/source/filter/inc/fapihelper.hxx @@ -152,6 +152,8 @@ public: template< typename InterfaceType > inline explicit ScfPropertySet( ::com::sun::star::uno::Reference< InterfaceType > xInterface ) { Set( xInterface ); } + ~ScfPropertySet(); + /** Sets the passed UNO property set and releases the old UNO property set. */ void Set( XPropertySetRef xPropSet ); /** Queries the passed interface for an XPropertySet and releases the old UNO property set. */ |