tdf#148806 docm: fix vba macro events without ScriptCodes

Prior to this, none of the DOCM ActiveX macros were called.
Now, just like magic, it all works.

Already broken at commit c5fc57de562850a7d2f708e3936296d24677012d
Author: npower Developer on Tue Mar 2 15:04:15 2010 +0000
    npower14miscfixes: #i109706# move back msvbahelper to the filter module

Change-Id: I25b25850b12609e5e00dd4bd5189a734abcbddd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140750
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index f43b121..95144ad 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -243,7 +243,7 @@ static void parseMacro( const OUString& sMacro, OUString& sContainer, OUString& 
    {
        sProcedure = sMacro.copy( nMacroDot + 1 );

        sal_Int32 nContainerDot = sMacro.lastIndexOf( '.',  nMacroDot - 1 );
        const sal_Int32 nContainerDot = sMacro.lastIndexOf('.',  nMacroDot);
        if ( nContainerDot != -1 )
        {
            sModule = sMacro.copy( nContainerDot + 1, nMacroDot - nContainerDot - 1 );