summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-11-07 18:37:10 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-11-07 18:37:16 +0100
commitd6a21d8761b2b8533e259bc0bf220bf27a58d4f0 (patch)
treea2af6df984ff14ab1a2803bd4657fee403c8dfa9 /basic
parenta166418b48ddcc24139a54f9a9b8a902fbb1e641 (diff)
BasicScriptListener_Impl::firing_impl: actually this is the default
Change-Id: I0fdb522a1119da4a75094db86217449e9d940d19
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/eventatt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index 24c84e6ff515..173a3cee2ac1 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;