summaryrefslogtreecommitdiff
path: root/comphelper/source/processfactory/processfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/processfactory/processfactory.cxx')
-rw-r--r--comphelper/source/processfactory/processfactory.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/processfactory/processfactory.cxx b/comphelper/source/processfactory/processfactory.cxx
index 1f51fe619016..720ec6e0fb67 100644
--- a/comphelper/source/processfactory/processfactory.cxx
+++ b/comphelper/source/processfactory/processfactory.cxx
@@ -58,8 +58,7 @@ void setProcessServiceFactory(const Reference< XMultiServiceFactory >& xSMgr)
Reference< XMultiServiceFactory > getProcessServiceFactory()
{
- Reference< XMultiServiceFactory> xReturn;
- xReturn = localProcessFactory( xReturn, false );
+ Reference< XMultiServiceFactory> xReturn = localProcessFactory( xReturn, false );
if ( !xReturn.is() )
{
throw DeploymentException( "null process service factory" );