diff options
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 6feed05e6dda..dd68e99cf1b5 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -411,7 +411,7 @@ ScriptEventHelper::createEvents( const OUString& sCodeName ) ++nEvts; if ( nEvts > aDest.getLength() ) aDest.realloc( nEvts );// should never happen - aDest.getArray()[ dIndex ] = evtDesc; + aDest.getArray()[ dIndex ] = std::move(evtDesc); } } aDest.realloc( nEvts ); |