diff options
Diffstat (limited to 'stoc/source/implementationregistration/mergekeys.cxx')
-rw-r--r-- | stoc/source/implementationregistration/mergekeys.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/stoc/source/implementationregistration/mergekeys.cxx b/stoc/source/implementationregistration/mergekeys.cxx index b2101b36e527..c44a44d9e8df 100644 --- a/stoc/source/implementationregistration/mergekeys.cxx +++ b/stoc/source/implementationregistration/mergekeys.cxx @@ -54,13 +54,11 @@ static void mergeKeys( { if (!xSource.is() || !xSource->isValid()) { throw registry::InvalidRegistryException( - "source key is null or invalid!", - Reference<XInterface>() ); + "source key is null or invalid!" ); } if (!xDest.is() || !xDest->isValid()) { throw registry::InvalidRegistryException( - "destination key is null or invalid!", - Reference<XInterface>() ); + "destination key is null or invalid!" ); } // write value @@ -149,15 +147,12 @@ void mergeKeys( { if (!xDest.is() || !xDest->isValid()) { throw registry::InvalidRegistryException( - "destination key is null or invalid!", - Reference<XInterface>() ); + "destination key is null or invalid!" ); } if (xDest->isReadOnly()) { throw registry::InvalidRegistryException( - OUString( - "destination registry is read-only! cannot merge!"), - Reference< XInterface >() ); + "destination registry is read-only! cannot merge!" ); } t_links links; |