diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 11:11:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 15:27:33 +0200 |
commit | 3b395bc73fb8709c738adebd94de8319e27ba878 (patch) | |
tree | 13aabe6ac9f022a6fc77c7fc073fdfbaca118504 /include | |
parent | ce0f9962d1d1d5a4f6301be18c23b2d14efd9d6b (diff) |
manage SvxPropertySetInfoPool.mpInfos with rtl::Reference
instead of with manual acquire()
Change-Id: I9fac619730df6a070c5f0d887ecf9249bd7d65a6
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/unoprov.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/unoprov.hxx b/include/svx/unoprov.hxx index f8795e6298ae..9ac270cf7823 100644 --- a/include/svx/unoprov.hxx +++ b/include/svx/unoprov.hxx @@ -25,6 +25,7 @@ #include <svl/itemprop.hxx> #include <svx/svxdllapi.h> #include <editeng/unoipset.hxx> +#include <rtl/ref.hxx> class SvxItemPropertySet; @@ -116,7 +117,7 @@ public: SVX_DLLPUBLIC static comphelper::PropertySetInfo* getOrCreate( sal_Int32 nServiceId ) throw(); private: - static comphelper::PropertySetInfo* mpInfos[SVXUNO_SERVICEID_LASTID+1]; + static rtl::Reference<comphelper::PropertySetInfo> mxInfos[SVXUNO_SERVICEID_LASTID+1]; }; #endif |