diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2023-07-22 12:14:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2023-07-22 13:25:02 +0200 |
commit | 072ecc03c496dcf33a14f7f0ef6aab9b5766cdd0 (patch) | |
tree | 5958e6af3564889f50b597bf3ca25e8f89feaa72 /comphelper | |
parent | 42115cdc1d51158c49bc9fe20cce015db440710f (diff) |
Simplify a bit construction of AccessibleEventObject object
Change-Id: I0012de655d2ea24c822cf10828e7a31fa2e535ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154754
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accessiblecomponenthelper.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/comphelper/source/misc/accessiblecomponenthelper.cxx b/comphelper/source/misc/accessiblecomponenthelper.cxx index 07d05d31a31d..3922812b92af 100644 --- a/comphelper/source/misc/accessiblecomponenthelper.cxx +++ b/comphelper/source/misc/accessiblecomponenthelper.cxx @@ -121,12 +121,7 @@ namespace comphelper return; // build an event object - AccessibleEventObject aEvent; - aEvent.Source = *this; - aEvent.EventId = _nEventId; - aEvent.OldValue = _rOldValue; - aEvent.NewValue = _rNewValue; - aEvent.IndexHint = nIndexHint; + AccessibleEventObject aEvent(*this, _nEventId, _rNewValue, _rOldValue, nIndexHint); // let the notifier handle this event AccessibleEventNotifier::addEvent( m_nClientId, aEvent ); |