diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-15 17:28:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-16 08:54:20 +0000 |
commit | 81182f2d66a13b8aaa6756dd41ff7ba799a24a7f (patch) | |
tree | e49b7fcab5e2cd7376bed9983b6b6cf24717c036 /include/vcl/accel.hxx | |
parent | 9d8c206ee4a5c130e11a4e786b4286f3362f9ca1 (diff) |
Accelerator doesn't need to inherit from Resource anymore
Change-Id: I936c78c2e2906d6a24ac6a5af3c867075b67e6d5
Diffstat (limited to 'include/vcl/accel.hxx')
-rw-r--r-- | include/vcl/accel.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/vcl/accel.hxx b/include/vcl/accel.hxx index ce846c0c98cf..573fa8920afc 100644 --- a/include/vcl/accel.hxx +++ b/include/vcl/accel.hxx @@ -21,8 +21,6 @@ #define INCLUDED_VCL_ACCEL_HXX #include <tools/link.hxx> -#include <tools/resid.hxx> -#include <tools/rc.hxx> #include <vcl/keycod.hxx> #include <vcl/dllapi.h> @@ -30,7 +28,7 @@ class ImplAccelData; class ImplAccelEntry; class CommandEvent; -class VCL_DLLPUBLIC Accelerator : public Resource +class VCL_DLLPUBLIC Accelerator { friend class ImplAccelManager; @@ -60,7 +58,7 @@ private: public: Accelerator(); Accelerator( const Accelerator& rAccel ); - virtual ~Accelerator(); + ~Accelerator(); void Activate(); void Select(); |