diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-31 20:57:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:27:16 +0100 |
commit | 5d133eb62187ae910772ff5dfeb8f2c3276e8481 (patch) | |
tree | de10fa41a70071dfb3e36ed061e19328e883d206 /cui/source/options/optchart.cxx | |
parent | 28a863756b5891e6074a2ce432f97a1ff0271aed (diff) |
first half of non-scriptable, Instance constructor conversion.
Change-Id: If73bb41bfa805e22609748f25971724b4778edb3
Diffstat (limited to 'cui/source/options/optchart.cxx')
-rw-r--r-- | cui/source/options/optchart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 87c5dd0af3cf..68fe0181527f 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -231,8 +231,8 @@ IMPL_LINK( SvxDefaultColorOptPage, RemoveChartColor, PushButton*, pButton ) { OSL_ENSURE(pColorConfig->GetColorList().size() > 1, "don't delete the last chart color"); - ScopedVclPtr<MessageDialog> aQuery(new MessageDialog(pButton, "QueryDeleteChartColorDialog", - "cui/ui/querydeletechartcolordialog.ui")); + ScopedVclPtrInstance<MessageDialog> aQuery(pButton, "QueryDeleteChartColorDialog", + "cui/ui/querydeletechartcolordialog.ui"); if (RET_YES == aQuery->Execute()) { pColorConfig->GetColorList().remove( nIndex ); |