[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 20 08:45:48 UTC 2020
svx/source/sidebar/text/TextUnderlinePopup.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit c7821b8cd1bfd93ac232d9b3cc114e9ed9931bc9
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Apr 19 21:02:18 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Apr 20 10:45:03 2020 +0200
set popup for a welded TextUnderlinePopup
Change-Id: I5388be71e102065e89f0d5489fbb1af34fa1a2ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92510
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/sidebar/text/TextUnderlinePopup.cxx b/svx/source/sidebar/text/TextUnderlinePopup.cxx
index e5b0a483a0c7..1da5bfe7f7ea 100644
--- a/svx/source/sidebar/text/TextUnderlinePopup.cxx
+++ b/svx/source/sidebar/text/TextUnderlinePopup.cxx
@@ -35,6 +35,12 @@ void TextUnderlinePopup::initialize( const css::uno::Sequence< css::uno::Any >&
{
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