[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 20 17:42:21 UTC 2020
svx/source/sidebar/text/TextCharacterSpacingPopup.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 68535ad2d0d36b12b9184059fc3bf0fd0f47994b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Apr 20 15:03:06 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Apr 20 19:41:45 2020 +0200
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 at redhat.com>
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)
More information about the Libreoffice-commits
mailing list