diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-06 21:20:46 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-03-22 10:30:03 +0100 |
commit | 02cac18dc419a061a660fab64628816984efb9bd (patch) | |
tree | 4f8104e5e08d4ca0aab334c67b11669de9f11993 /include | |
parent | ac6a26511cce41367a1f32b43e10011e55b0ba75 (diff) |
tdf#147782 retain focus in launching frame on first activate
Change-Id: I813c675ecf7c4a364f9d770af12e99275f510e7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131017
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/weldutils.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/weldutils.hxx b/include/sfx2/weldutils.hxx index 81c4cb85dcab..aaa2fe08a2e3 100644 --- a/include/sfx2/weldutils.hxx +++ b/include/sfx2/weldutils.hxx @@ -56,6 +56,8 @@ public: css::uno::Reference<css::frame::XToolbarController> GetControllerForCommand(const OUString& rCommand) const; + css::uno::Reference<css::frame::XFrame> GetFrame() const { return m_xFrame; } + void dispose(); ~ToolbarUnoDispatcher(); }; |