comphelper/source/misc/accessiblecomponenthelper.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 072ecc03c496dcf33a14f7f0ef6aab9b5766cdd0
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Jul 22 12:14:58 2023 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Jul 22 13:25:02 2023 +0200

    Simplify a bit construction of AccessibleEventObject object
    
    Change-Id: I0012de655d2ea24c822cf10828e7a31fa2e535ad
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154754
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Jenkins

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 );

Reply via email to