diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-11-09 20:17:46 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-11-10 22:04:08 +0100 |
commit | 94f79b3bf11a16d3fd020ed98bd5d17147520a67 (patch) | |
tree | 327d11723f54358176e84dcb348328ffa1c051dd /basic | |
parent | 90f2d688ecfb6c7daf21bc202d2c87ba2531a7b8 (diff) |
Remove unneeded cast
Change-Id: I04279faaf11bd1249bcea0d07d60facefb5186d8
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/eventatt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx index 8524d0470674..313d4a9f9ae1 100644 --- a/basic/source/classes/eventatt.cxx +++ b/basic/source/classes/eventatt.cxx @@ -186,7 +186,7 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any if( comphelper::string::getTokenCount(aMacro, '.') == 3 ) { sal_Int32 nLast = 0; - OUString aFullLibName = aMacro.getToken( sal_Int32(0), '.', nLast ); + OUString aFullLibName = aMacro.getToken( 0, '.', nLast ); sal_Int32 nIndex = aFullLibName.indexOf( ':' ); if (nIndex >= 0) |