diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-29 07:54:23 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 15:39:42 +0000 |
commit | a10a621b48a30904b970ce01cc0bf2aa15cea9cb (patch) | |
tree | e8f2bc3890a3ae9e0cc6bc06ff8dd6346217fc66 /include | |
parent | 016e1f888946b829563efd1e771d88b23c1730bf (diff) |
simplify SfxListener::EndListening and StartListening
No-one is using the return values, so we can simplify the methods
Change-Id: Icc2dbfb797bcd82afcbf42ed3bdc20b0426ccba1
Reviewed-on: https://gerrit.libreoffice.org/9542
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/lstner.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/lstner.hxx b/include/svl/lstner.hxx index 9cc753307695..8bf93b93a7b8 100644 --- a/include/svl/lstner.hxx +++ b/include/svl/lstner.hxx @@ -47,8 +47,8 @@ public: SfxListener( const SfxListener &rCopy ); virtual ~SfxListener(); - bool StartListening( SfxBroadcaster& rBroadcaster, bool bPreventDups = false ); - bool EndListening( SfxBroadcaster& rBroadcaster, bool bAllDups = false ); + void StartListening( SfxBroadcaster& rBroadcaster, bool bPreventDups = false ); + void EndListening( SfxBroadcaster& rBroadcaster, bool bAllDups = false ); void EndListeningAll(); bool IsListening( SfxBroadcaster& rBroadcaster ) const; |