diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index ed53d9693ce6..29061001dc61 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -1153,6 +1153,10 @@ VclPtr<SfxPopupWindow> SfxRecentFilesToolBoxControl::CreatePopupWindow() aPropValue.Value <<= m_xFrame; aArgs[1] <<= aPropValue; + aPropValue.Name = "ShowRemote"; + aPropValue.Value <<= true; + aArgs[2] <<= aPropValue; + uno::Reference< frame::XPopupMenuController > xPopupController( m_xContext->getServiceManager()->createInstanceWithArgumentsAndContext( "com.sun.star.comp.framework.RecentFilesMenuController", aArgs, m_xContext ), UNO_QUERY ); @@ -1191,7 +1195,7 @@ VclPtr<SfxPopupWindow> SfxSaveAsToolBoxControl::CreatePopupWindow() sal_uInt16 nItemId = GetId(); ::Rectangle aRect( rBox.GetItemRect( nItemId ) ); - Sequence< Any > aArgs( 2 ); + Sequence< Any > aArgs( 3 ); PropertyValue aPropValue; aPropValue.Name = "CommandURL"; |