diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-10 08:43:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-11 06:22:28 +0000 |
commit | 0f8ec3036f44b02aa03795ede3052a790134a90d (patch) | |
tree | a7cbba9eb70fcee3f793c07f8d8db6c092d0e594 /extensions | |
parent | a6f876d45bd4e41a7143594a6cb11b6893a0f620 (diff) |
[API CHANGE] add operator==/!= to UNO structs
this is useful now that we are storing UNO structs in std::vector
Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369
Reviewed-on: https://gerrit.libreoffice.org/22257
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/eventhandler.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 7eac6defe14a..d2ac643643b5 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -308,16 +308,6 @@ namespace pcr ::std::copy( aListeners.begin(), aListeners.end(), ::std::insert_iterator< TypeBag >( _out_rTypes, _out_rTypes.begin() ) ); } - - bool operator ==( const ScriptEventDescriptor& _lhs, const ScriptEventDescriptor& _rhs ) - { - return ( ( _lhs.ListenerType == _rhs.ListenerType ) - && ( _lhs.EventMethod == _rhs.EventMethod ) - && ( _lhs.AddListenerParam == _rhs.AddListenerParam ) - && ( _lhs.ScriptType == _rhs.ScriptType ) - && ( _lhs.ScriptCode == _rhs.ScriptCode ) - ); - } } typedef ::cppu::WeakImplHelper < css::container::XNameReplace |