summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/oox/workbookhelper.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-31 20:57:16 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:27:16 +0100
commit5d133eb62187ae910772ff5dfeb8f2c3276e8481 (patch)
treede10fa41a70071dfb3e36ed061e19328e883d206 /sc/source/filter/oox/workbookhelper.cxx
parentFix misc. issues in lifecycle unit tests. (diff)
downloadcore-5d133eb62187ae910772ff5dfeb8f2c3276e8481.tar.gz
core-5d133eb62187ae910772ff5dfeb8f2c3276e8481.zip
first half of non-scriptable, Instance constructor conversion.
Change-Id: If73bb41bfa805e22609748f25971724b4778edb3
Diffstat (limited to 'sc/source/filter/oox/workbookhelper.cxx')
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index f52ebb8a01f0..c25004ecff3c 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -662,9 +662,9 @@ void WorkbookGlobals::recalcFormulaCells()
if (rDoc.IsUserInteractionEnabled())
{
// Ask the user if full re-calculation is desired.
- ScopedVclPtr<QueryBox> aBox(new QueryBox(
+ ScopedVclPtrInstance<QueryBox> aBox(
rDocSh.GetActiveDialogParent(), WinBits(WB_YES_NO | WB_DEF_YES),
- ScGlobal::GetRscString(STR_QUERY_FORMULA_RECALC_ONLOAD_XLS)));
+ ScGlobal::GetRscString(STR_QUERY_FORMULA_RECALC_ONLOAD_XLS));
aBox->SetCheckBoxText(ScGlobal::GetRscString(STR_ALWAYS_PERFORM_SELECTED));
sal_Int32 nRet = aBox->Execute();