summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-15 09:28:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-15 12:46:28 +0200
commitf7048e9b792c0123318f1133bafa030d688e10d7 (patch)
treee8d8a4e8c13c75899a38f9fcf1f798efb5229406 /sc/source/ui/optdlg
parentd735ffde2df79e5ccc4010077ff358ca63e879e9 (diff)
weld ScColOrRowDlg
Change-Id: I475974fc54910da88064779ceae6586bd71a3865 Reviewed-on: https://gerrit.libreoffice.org/54356 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 3bd623bc7d43..5f7734c483f6 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -357,7 +357,8 @@ void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos,
if ( (nStartCol != nEndCol) && (nStartRow != nEndRow) )
{
- nCellDir = ScopedVclPtrInstance<ScColOrRowDlg>(this, aStrCopyList, aStrCopyFrom)->Execute();
+ ScColOrRowDlg aDialog(GetFrameWeld(), aStrCopyList, aStrCopyFrom);
+ nCellDir = aDialog.run();
}
else if ( nStartCol != nEndCol )
nCellDir = SCRET_ROWS;