summaryrefslogtreecommitdiff
path: root/stoc/source/implementationregistration/implreg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/implementationregistration/implreg.cxx')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx23
1 files changed, 1 insertions, 22 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 6741ccfcb29b..d5868490f732 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -487,14 +487,9 @@ static void prepareUserLink(const Reference < XSimpleRegistry >& xDest,
const OUString& linkName,
const OUString& linkTarget,
const OUString& implName)
- // throw ( InvalidRegistryException, RuntimeException )
{
- sal_Bool ret = sal_False;
-
Reference < XRegistryKey > xRootKey;
-// try
-// {
xRootKey = xDest->getRootKey();
if (xRootKey->getKeyType(linkName) == RegistryKeyType_LINK)
@@ -507,23 +502,9 @@ static void prepareUserLink(const Reference < XSimpleRegistry >& xDest,
linkName + spool().colon_old ), oldImplName);
}
}
-// }
-// catch (InvalidRegistryException&)
-// {
-// }
-// try
-// {
if (xRootKey->isValid())
- {
- ret = xRootKey->createLink(linkName, linkTarget);
- }
-// }
-// catch(InvalidRegistryException&)
-// {
-// }
-
-// return ret;
+ xRootKey->createLink(linkName, linkTarget);
}
//*************************************************************************
@@ -666,7 +647,6 @@ static void prepareUserKeys(const Reference < XSimpleRegistry >& xDest,
const Reference < XRegistryKey >& xKey,
const OUString& implName,
sal_Bool bRegister)
- // throw ( InvalidRegistryException, RuntimeException )
{
sal_Bool hasSubKeys = sal_False;
@@ -734,7 +714,6 @@ static void prepareUserKeys(const Reference < XSimpleRegistry >& xDest,
}
}
}
- return;
}
//*************************************************************************