[Libreoffice-commits] .: basic/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 7 09:35:10 PST 2012


 basic/source/classes/eventatt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d6a21d8761b2b8533e259bc0bf220bf27a58d4f0
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Wed Nov 7 18:37:10 2012 +0100

    BasicScriptListener_Impl::firing_impl: actually this is the default
    
    Change-Id: I0fdb522a1119da4a75094db86217449e9d940d19

diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index 24c84e6..173a3ce 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -216,7 +216,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any
             }
 
             OUString aModul = aMacro.getToken( (sal_Int32)0, (sal_Unicode)'.', nLast );
-            aMacro = aMacro.copy( nLast , aMacro.getLength() - nLast);
+            aMacro = aMacro.copy( nLast );
         }
 
         SbxObject* p = maBasicRef;


More information about the Libreoffice-commits mailing list