summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-06 21:20:46 +0000
committerXisco Fauli <xiscofauli@libreoffice.org>2022-03-10 10:28:28 +0100
commit57ec3c4a40847b28390e1c208d5c771409ff1cab (patch)
treeefa68c3873542d0d6c078b3f8ef76fbe4b2b1d22 /include
parentda7b06425155938fb0d02c6c178d63fd95ad0cd4 (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.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();
};