diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-19 15:29:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-19 19:06:35 +0000 |
commit | d32f7a6e57d42fa03965f22513848bf7b100ac34 (patch) | |
tree | 42cd53b6c3a586798677376a52e0ea6b92b30445 /svtools | |
parent | 695e2938ff954f6dcceac4b6b170e6724294be2f (diff) |
provide a route to load ToolbarMenu things via .ui
Change-Id: Ic2175faf247d7c05717d397b8afdb9d90087f1d3
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/toolbarmenu.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index d5cb6fbe97fa..e8af87f1d3e2 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -435,23 +435,24 @@ IMPL_LINK( ToolbarMenu, HighlightHdl, Control *, pControl ) return 0; } - - ToolbarMenu::ToolbarMenu( const Reference< XFrame >& rFrame, vcl::Window* pParentWindow, WinBits nBits ) -: DockingWindow(pParentWindow, nBits) + : DockingWindow(pParentWindow, nBits) { implInit(rFrame); } - - ToolbarMenu::ToolbarMenu( const Reference< XFrame >& rFrame, vcl::Window* pParentWindow, const ResId& rResId ) -: DockingWindow(pParentWindow, rResId) + : DockingWindow(pParentWindow, rResId) { implInit(rFrame); } - +ToolbarMenu::ToolbarMenu(vcl::Window* pParentWindow, const OString& rID, + const OUString& rUIXMLDescription, const Reference< XFrame >& rFrame) + : DockingWindow(pParentWindow, rID, rUIXMLDescription, rFrame) +{ + implInit(rFrame); +} void ToolbarMenu::implInit(const Reference< XFrame >& rFrame) { |