summaryrefslogtreecommitdiffstats
path: root/framework/source/fwi/uielement/itemcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwi/uielement/itemcontainer.cxx')
-rw-r--r--framework/source/fwi/uielement/itemcontainer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwi/uielement/itemcontainer.cxx b/framework/source/fwi/uielement/itemcontainer.cxx
index 92e96a493fd0..2abde0fd4e07 100644
--- a/framework/source/fwi/uielement/itemcontainer.cxx
+++ b/framework/source/fwi/uielement/itemcontainer.cxx
@@ -123,7 +123,7 @@ Reference< XIndexAccess > ItemContainer::deepCopyContainer( const Reference< XIn
pSubContainer = new ItemContainer( *pSource, rMutex );
else
pSubContainer = new ItemContainer( rSubContainer, rMutex );
- xReturn = Reference< XIndexAccess >( static_cast< OWeakObject* >( pSubContainer ), UNO_QUERY );
+ xReturn.set( static_cast< OWeakObject* >( pSubContainer ), UNO_QUERY );
}
return xReturn;