summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 363a8bf7c52c..e463097bb5e6 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -1362,8 +1362,7 @@ void ImplementationRegistration::prepareRegister(
if (!implementationLoaderUrl.isEmpty())
{
- sal_Int32 nIndex = 0;
- activatorName = implementationLoaderUrl.getToken(0, ':', nIndex );
+ activatorName = implementationLoaderUrl.getToken(0, ':');
} else
{
// check locationUrl to find out what kind of loader is needed
@@ -1494,8 +1493,7 @@ Sequence< OUString > ImplementationRegistration::getImplementations(
if (!implementationLoaderUrl.isEmpty())
{
- sal_Int32 nIndex = 0;
- activatorName = implementationLoaderUrl.getToken(0, ':', nIndex );
+ activatorName = implementationLoaderUrl.getToken(0, ':');
} else
{
// check locationUrl to find out what kind of loader is needed