summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/formcomponenthandler.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-21 17:35:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-03-22 12:40:27 +0100
commitec73d271c3f3c6f6b6f6ab37fe1f79c26fae1689 (patch)
tree0905eb43c21e89714d07ab692c9093b563dbb3c5 /extensions/source/propctrlr/formcomponenthandler.cxx
parent0e4ea2d08a2bf7bda47815ed32b19e70c0d7e905 (diff)
weld TabOrderDialog
Change-Id: I703cefb4a73c5f3e002c142eec01d19ec8c9fcd3 Reviewed-on: https://gerrit.libreoffice.org/69533 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/propctrlr/formcomponenthandler.cxx')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx11
1 files changed, 3 insertions, 8 deletions
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<TabOrderDialog> 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
{