summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/processfactory/processfactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/processfactory/processfactory.cxx b/comphelper/source/processfactory/processfactory.cxx
index fe6c96b2af4a..5690cc005477 100644
--- a/comphelper/source/processfactory/processfactory.cxx
+++ b/comphelper/source/processfactory/processfactory.cxx
@@ -80,14 +80,14 @@ Reference< XComponentContext > getComponentContext(
catch (beans::UnknownPropertyException & e) {
throw DeploymentException(
"unknown service factory DefaultContext property: " + e.Message,
- Reference< XInterface >( factory, UNO_QUERY ) );
+ factory );
}
}
if ( !xRet.is() )
{
throw DeploymentException(
"no service factory DefaultContext",
- Reference< XInterface >( factory, UNO_QUERY ) );
+ factory );
}
return xRet;
}