diff options
Diffstat (limited to 'comphelper/source/processfactory/processfactory.cxx')
-rw-r--r-- | comphelper/source/processfactory/processfactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/processfactory/processfactory.cxx b/comphelper/source/processfactory/processfactory.cxx index 65c08ebad790..82b30e36b808 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, - factory ); + Reference<XInterface>(factory, UNO_QUERY) ); } } if ( !xRet.is() ) { throw DeploymentException( "no service factory DefaultContext", - factory ); + Reference<XInterface>(factory, UNO_QUERY) ); } return xRet; } |