diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-07 10:55:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-08 08:56:18 +0200 |
commit | ea91310384f2f677abc8e85ece54e71fba26ed0c (patch) | |
tree | 3803fe6b1712a391ee9b2eba0c7e7d1723532d2a /include/toolkit | |
parent | 623893427221bdab2f5c7339dd152e371132d83e (diff) |
use SimpleReferenceObject in accessibility
to replace hand-rolled version
Change-Id: I9dd8d02024702972722b43f2654db91eb3da3794
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/helper/accessiblefactory.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/toolkit/helper/accessiblefactory.hxx b/include/toolkit/helper/accessiblefactory.hxx index 6428a10fa15d..bcd3dce3b4a4 100644 --- a/include/toolkit/helper/accessiblefactory.hxx +++ b/include/toolkit/helper/accessiblefactory.hxx @@ -21,8 +21,8 @@ #define INCLUDED_TOOLKIT_HELPER_ACCESSIBLEFACTORY_HXX #include <com/sun/star/uno/Reference.hxx> - #include <rtl/ref.hxx> +#include <salhelper/simplereferenceobject.hxx> namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; @@ -58,7 +58,7 @@ namespace toolkit //= IAccessibleFactory - class IAccessibleFactory : public ::rtl::IReference + class IAccessibleFactory : public salhelper::SimpleReferenceObject { public: /** creates an accessible context for a button window @@ -122,7 +122,7 @@ namespace toolkit createAccessible( Menu* _pMenu, sal_Bool _bIsMenuBar ) = 0; protected: - ~IAccessibleFactory() {} + virtual ~IAccessibleFactory() {} }; |