summaryrefslogtreecommitdiffstats
path: root/framework/source/uielement/recentfilesmenucontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/recentfilesmenucontroller.cxx')
-rw-r--r--framework/source/uielement/recentfilesmenucontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx
index 7bdd262de1a4..6311bff9e17c 100644
--- a/framework/source/uielement/recentfilesmenucontroller.cxx
+++ b/framework/source/uielement/recentfilesmenucontroller.cxx
@@ -276,7 +276,7 @@ void RecentFilesMenuController::executeEntry( sal_Int32 nIndex )
Sequence< PropertyValue > aArgsList;
osl::ClearableMutexGuard aLock( m_aMutex );
- xDispatchProvider = Reference< XDispatchProvider >( m_xFrame, UNO_QUERY );
+ xDispatchProvider.set( m_xFrame, UNO_QUERY );
aLock.clear();
if (( nIndex >= 0 ) &&