diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-01 09:27:07 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:40:40 +0100 |
commit | 4ff758fea152d6de492d472fba1f889592a3f696 (patch) | |
tree | 673296a7e7baed667ff66a1262978a66853debf4 /reportdesign/source/ui/report | |
parent | 8a65284fe31e6c0a927cb88b75df7845cd248572 (diff) |
Manual cleanup of misc. issues.
Change-Id: Ib0b9b17010f7c1b0814b48f6fb0144e5296418df
Diffstat (limited to 'reportdesign/source/ui/report')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 7ba2540ff9d4..10a51a06c22f 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2480,9 +2480,10 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _ } { // want the dialog to be destroyed before our set - ScopedVclPtr<ORptPageDialog> aDlg(getView(), pDescriptor.get(),_xSection.is() - ? OUString("BackgroundDialog") - : OUString("PageDialog")); + ScopedVclPtrInstance<ORptPageDialog> aDlg( + getView(), pDescriptor.get(),_xSection.is() + ? OUString("BackgroundDialog") + : OUString("PageDialog")); if (RET_OK == aDlg->Execute()) { |