summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-26 10:54:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-26 11:26:52 +0100
commitbfb8b56e1d8e1241045b435c42856f5606faad4f (patch)
tree84de355fa83dc49894af92bd9fae35baf37c338f /sc
parenta860df25dd7bf62ecb6b3d3ed38803b981f56d52 (diff)
this can be a ScopedVclPtrInstance
Change-Id: Ia500b2901c6c89ca8755d6b7515d88c18182bb3b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/cellsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index e85e36942e11..eacbe8747c0c 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -850,7 +850,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
}
// cell range picker
- ScopedVclPtr<ScValidationDlg> pDlg(VclPtr<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell));
+ ScopedVclPtrInstance<ScValidationDlg> pDlg(nullptr, &aArgSet, pTabViewShell);
short nResult = pDlg->Execute();
if ( nResult == RET_OK )