summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-06 21:20:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-07 10:00:16 +0100
commitc641ca15f2a898b7ec66cf39ef4517a1221bab81 (patch)
tree63cca3a6bd2081dc25eb0681d6d3c490e09b3cb4 /include/sfx2
parent418cb3c844da2e7094fa6b63b33d8c938897203c (diff)
tdf#147782 retain focus in launching frame on first activate
Change-Id: I813c675ecf7c4a364f9d770af12e99275f510e7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131088 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/weldutils.hxx2
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();
};