diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/sdi/svx.sdi | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/bulletsnumbering.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 4737b1333dfe..3d684944a963 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 ParentWindow FN_PARAM_2) +(SfxStringItem Page FN_PARAM_1) [ AutoUpdate = FALSE, FastCall = FALSE, diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx index 42714fae2bbb..8180d18977e3 100644 --- a/svx/source/tbxctrls/bulletsnumbering.cxx +++ b/svx/source/tbxctrls/bulletsnumbering.cxx @@ -14,6 +14,7 @@ #include <i18nlangtag/mslangid.hxx> #include <svtools/popupwindowcontroller.hxx> #include <svtools/toolbarmenu.hxx> +#include <toolkit/helper/vclunohelper.hxx> #include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/numvset.hxx> @@ -181,7 +182,7 @@ void NumberingPopup::VSSelectHdl(void const * pControl) else if ( getSelectedEntryId() == 1 ) { auto aArgs( comphelper::InitPropertySequence( { { "Page", css::uno::makeAny( OUString("customize") ) }, - { "ParentWindow", css::uno::makeAny( OUString::number(reinterpret_cast<sal_uInt64>(GetParent())) ) } } ) ); + { "DialogParent", css::uno::makeAny(VCLUnoHelper::GetInterface(GetParent())) } } ) ); mrController.dispatchCommand( ".uno:OutlineBullet", aArgs ); } } |