diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-15 13:41:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-16 05:47:52 +0000 |
commit | 4ca2cf1b7e57c823e911bcbae0c87102a7c9851e (patch) | |
tree | 28725536883828d5d7af2cb8a4e7733968888d9d /include/sfx2/event.hxx | |
parent | 80cbfb75026f4673b14237650302c3da1cc5ab13 (diff) |
loplugin:unusedmethods sfx2
Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62
Reviewed-on: https://gerrit.libreoffice.org/17069
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/event.hxx')
-rw-r--r-- | include/sfx2/event.hxx | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/sfx2/event.hxx b/include/sfx2/event.hxx index dbb0fa77c24d..e3a01c81192f 100644 --- a/include/sfx2/event.hxx +++ b/include/sfx2/event.hxx @@ -84,27 +84,18 @@ public: class SfxNamedHint : public SfxHint { OUString _aEventName; - SfxObjectShell* _pObjShell; OUString _aArgs; public: SfxNamedHint( const OUString& rName, - const OUString& rArgs, - SfxObjectShell *pObj = 0 ) + const OUString& rArgs ) : _aEventName( rName ), - _pObjShell( pObj), _aArgs( rArgs ) {} - SfxNamedHint( const OUString& rName, - SfxObjectShell *pObj = 0 ) - : _aEventName( rName ), - _pObjShell( pObj ) + SfxNamedHint( const OUString& rName ) + : _aEventName( rName ) {} - - const OUString& GetArgs() const { return _aArgs;} - const OUString& GetName() const { return _aEventName; } - SfxObjectShell* GetObjShell() const { return _pObjShell; } }; class Printer; |