summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-20 15:03:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-20 19:41:45 +0200
commit68535ad2d0d36b12b9184059fc3bf0fd0f47994b (patch)
treecd5fec8785bf4a85460f0c00615ec104d8c3ea70 /svx
parentd7a2c6eb94f2c1b8ae5c71457a032faf2d3ae643 (diff)
set popup for a welded TextCharacterSpacingPopup
Change-Id: Ic21e1fa8c3c384987856a185c000bc9d846deecd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92584 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/text/TextCharacterSpacingPopup.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx b/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx
index 17bf25ce2924..5c1bf67dcc89 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingPopup.cxx
@@ -31,6 +31,12 @@ void TextCharacterSpacingPopup::initialize( const css::uno::Sequence< css::uno::
{
PopupWindowController::initialize(rArguments);
+ if (m_pToolbar)
+ {
+ mxPopoverContainer.reset(new ToolbarPopupContainer(m_pToolbar));
+ m_pToolbar->set_item_popover(m_aCommandURL.toUtf8(), mxPopoverContainer->getTopLevel());
+ }
+
ToolBox* pToolBox = nullptr;
sal_uInt16 nId = 0;
if (getToolboxId(nId, &pToolBox) && pToolBox->GetItemCommand(nId) == m_aCommandURL)