diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-09 16:11:25 +0000 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-12-01 02:14:03 +0100 |
commit | 351104c0bf672294cc686e6baa4322c42e496b3c (patch) | |
tree | f81af3cf2f7e7c47110ae381c8ee1c0b54e8739c /svx | |
parent | c958c83113664489b80a6cdf9ae6553c4c36eff0 (diff) |
tdf#113647 bullet dialog has wrong modal parent
Reviewed-on: https://gerrit.libreoffice.org/44554
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 31b26130d90d4746cbb126fd9b6c1cb3487f644f)
Change-Id: Ia2e6171a1aeb3b8ad679a547a63ccaeac20481df
Reviewed-on: https://gerrit.libreoffice.org/44978
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/bulletsnumbering.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx index ab931156aa7e..67092593f3ac 100644 --- a/svx/source/tbxctrls/bulletsnumbering.cxx +++ b/svx/source/tbxctrls/bulletsnumbering.cxx @@ -15,6 +15,7 @@ #include <svtools/popupwindowcontroller.hxx> #include <svtools/toolbarmenu.hxx> #include <svx/dialogs.hrc> +#include <toolkit/helper/vclunohelper.hxx> #include <svx/dialmgr.hxx> #include <svx/numvset.hxx> #include <vcl/commandinfoprovider.hxx> @@ -183,7 +184,8 @@ void NumberingPopup::VSSelectHdl(void* pControl) } else if ( getSelectedEntryId() == 1 ) { - auto aArgs( comphelper::InitPropertySequence( { { "Page", css::uno::makeAny( OUString("customize") ) } } ) ); + auto aArgs( comphelper::InitPropertySequence( { { "Page", css::uno::makeAny( OUString("customize") ) }, + { "DialogParent", css::uno::makeAny(VCLUnoHelper::GetInterface(GetParent())) } } ) ); mrController.dispatchCommand( ".uno:OutlineBullet", aArgs ); } } |