diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/popupmenucontrollerbase.hxx | 1 | ||||
-rw-r--r-- | svtools/source/uno/popupmenucontrollerbase.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/svtools/inc/svtools/popupmenucontrollerbase.hxx b/svtools/inc/svtools/popupmenucontrollerbase.hxx index 5bd15cf68d25..3252b3abe31d 100644 --- a/svtools/inc/svtools/popupmenucontrollerbase.hxx +++ b/svtools/inc/svtools/popupmenucontrollerbase.hxx @@ -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; diff --git a/svtools/source/uno/popupmenucontrollerbase.cxx b/svtools/source/uno/popupmenucontrollerbase.cxx index 69e942e65360..cdc12be41a6b 100644 --- a/svtools/source/uno/popupmenucontrollerbase.cxx +++ b/svtools/source/uno/popupmenucontrollerbase.cxx @@ -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; } } |