Store the module name here. I need to use it in the recent files menu.
Change-Id: Ib074b6a4ac6c2fe89edf0a0e4b2faf2d8a8eae68
This commit is contained in:
parent
7c289cad0a
commit
e78b2fbc54
2 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,7 @@ namespace svt
|
|||
bool m_bInitialized;
|
||||
rtl::OUString m_aCommandURL;
|
||||
rtl::OUString m_aBaseURL;
|
||||
rtl::OUString m_aModuleName;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > m_xDispatch;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceManager;
|
||||
|
|
|
@ -373,6 +373,8 @@ void SAL_CALL PopupMenuControllerBase::initialize( const Sequence< Any >& aArgum
|
|||
aPropValue.Value >>= xFrame;
|
||||
else if ( aPropValue.Name == "CommandURL" )
|
||||
aPropValue.Value >>= aCommandURL;
|
||||
else if ( aPropValue.Name == "ModuleName" )
|
||||
aPropValue.Value >>= m_aModuleName;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue