From ec73d271c3f3c6f6b6f6ab37fe1f79c26fae1689 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 21 Mar 2019 17:35:33 +0000 Subject: weld TabOrderDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I703cefb4a73c5f3e002c142eec01d19ec8c9fcd3 Reviewed-on: https://gerrit.libreoffice.org/69533 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- extensions/source/propctrlr/formcomponenthandler.cxx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'extensions/source/propctrlr/formcomponenthandler.cxx') diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 1437fd36665f..ab363b0e6d1e 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -2908,17 +2908,12 @@ namespace pcr OSL_PRECOND( impl_getContextControlContainer_nothrow().is(), "FormComponentPropertyHandler::impl_dialogChangeTabOrder_nothrow: invalid control context!" ); Reference< XTabControllerModel > xTabControllerModel( impl_getRowSet_nothrow(), UNO_QUERY ); - ScopedVclPtrInstance aDialog( - impl_getDefaultDialogParent_nothrow(), - xTabControllerModel, - impl_getContextControlContainer_nothrow(), - m_xContext - ); + TabOrderDialog aDialog(impl_getDefaultDialogFrame_nothrow(), xTabControllerModel, + impl_getContextControlContainer_nothrow(), m_xContext); _rClearBeforeDialog.clear(); - return ( RET_OK == aDialog->Execute() ); + return RET_OK == aDialog.run(); } - namespace { -- cgit