diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-17 01:29:29 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-18 13:22:30 +0200 |
commit | 399fd4153993c3677eaaf0ad01700d64a1cb5b2c (patch) | |
tree | 2873d7214b8535578c51d2aca9b0c052cbaac702 /include/sfx2/dispatch.hxx | |
parent | ffdd3c68205ddaa2d7fd895234461c02f1560e7c (diff) |
tdf#93837 sfx2: Allow loading xml menus by resource name
Change-Id: Ibaeeb0f891017862578440ad874f2ceb91d11874
Diffstat (limited to 'include/sfx2/dispatch.hxx')
-rw-r--r-- | include/sfx2/dispatch.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index f09fe3a92314..c6bc45870736 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -157,8 +157,8 @@ public: // caller has to clean up the Manager on his own static SfxPopupMenuManager* Popup( sal_uInt16 nConfigId, vcl::Window *pWin, const Point *pPos ); - void ExecutePopup( const ResId &rId, - vcl::Window *pWin = nullptr, const Point *pPosPixel = nullptr ); + void ExecutePopup( const ResId &rId, vcl::Window *pWin = nullptr, const Point *pPos = nullptr ); + void ExecutePopup( const OUString &rResName, vcl::Window *pWin = nullptr, const Point *pPos = nullptr ); static void ExecutePopup( vcl::Window *pWin = nullptr, const Point *pPosPixel = nullptr ); bool IsAppDispatcher() const; |