summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-09 16:11:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-10 11:27:15 +0100
commit31b26130d90d4746cbb126fd9b6c1cb3487f644f (patch)
treef155f49414e95d2b34727ced6bafafca4418a99e /svx
parent394dbb7f637afe10041506975b5dbc2202a78b4d (diff)
tdf#113647 bullet dialog has wrong modal parent
Change-Id: Ia2e6171a1aeb3b8ad679a547a63ccaeac20481df 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>
Diffstat (limited to 'svx')
-rw-r--r--svx/sdi/svx.sdi2
-rw-r--r--svx/source/tbxctrls/bulletsnumbering.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi
index 3d684944a963..4737b1333dfe 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -5880,7 +5880,7 @@ SvxOrphansItem Orphan SID_ATTR_PARA_ORPHANS
SfxVoidItem OutlineBullet SID_OUTLINE_BULLET
-(SfxStringItem Page FN_PARAM_1)
+(SfxStringItem Page FN_PARAM_1,SfxStringItem ParentWindow FN_PARAM_2)
[
AutoUpdate = FALSE,
FastCall = FALSE,
diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx
index 07f48303600f..42714fae2bbb 100644
--- a/svx/source/tbxctrls/bulletsnumbering.cxx
+++ b/svx/source/tbxctrls/bulletsnumbering.cxx
@@ -180,7 +180,8 @@ void NumberingPopup::VSSelectHdl(void const * 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") ) },
+ { "ParentWindow", css::uno::makeAny( OUString::number(reinterpret_cast<sal_uInt64>(GetParent())) ) } } ) );
mrController.dispatchCommand( ".uno:OutlineBullet", aArgs );
}
}