summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ChartController_Properties.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-06 10:37:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-06-08 16:17:45 +0200
commitd00a8b05c057d9260c5a44408d9a815121ee6cba (patch)
tree0ad731b379068244d6477c3c4b1f0af97262712a /chart2/source/controller/main/ChartController_Properties.cxx
parentAdd QtCreator-specific file to .gitignore (diff)
downloadcore-d00a8b05c057d9260c5a44408d9a815121ee6cba.tar.gz
core-d00a8b05c057d9260c5a44408d9a815121ee6cba.zip
weld View3DDialog
Change-Id: Ifd689c54574c08f026f6760efb39b5f927cb2625 Reviewed-on: https://gerrit.libreoffice.org/73604 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/source/controller/main/ChartController_Properties.cxx')
-rw-r--r--chart2/source/controller/main/ChartController_Properties.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx
index 9ba3f1f712e4..69fc84fdda90 100644
--- a/chart2/source/controller/main/ChartController_Properties.cxx
+++ b/chart2/source/controller/main/ChartController_Properties.cxx
@@ -820,8 +820,8 @@ void ChartController::executeDispatch_View3D()
//open dialog
SolarMutexGuard aSolarGuard;
- ScopedVclPtrInstance< View3DDialog > aDlg(GetChartWindow(), getModel());
- if( aDlg->Execute() == RET_OK )
+ View3DDialog aDlg(GetChartFrame(), getModel());
+ if (aDlg.run() == RET_OK)
aUndoGuard.commit();
}
catch(const uno::RuntimeException& e)