basic/source/classes/eventatt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d6a21d8761b2b8533e259bc0bf220bf27a58d4f0 Author: Miklos Vajna <vmik...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits