diff options
Diffstat (limited to 'vbahelper/source/vbahelper/vbaeventshelperbase.cxx')
-rw-r--r-- | vbahelper/source/vbahelper/vbaeventshelperbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx index 4fb57ff85f56..302799dc015f 100644 --- a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx +++ b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx @@ -61,7 +61,7 @@ sal_Bool SAL_CALL VbaEventsHelperBase::processVbaEvent( sal_Int32 nEventId, cons processing the original event. All unprocessed events are collected in a queue. First element in the queue is the next event to be processed. */ EventQueue aEventQueue; - aEventQueue.push_back( EventQueueEntry( nEventId, rArgs ) ); + aEventQueue.emplace_back( nEventId, rArgs ); /* bCancel will contain the current Cancel value. It is possible that multiple events will try to modify the Cancel value. Every event |