summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/dbfunc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/dbfunc.cxx')
-rw-r--r--sc/source/ui/view/dbfunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/dbfunc.cxx b/sc/source/ui/view/dbfunc.cxx
index bf5fd6495c8d..a24860873774 100644
--- a/sc/source/ui/view/dbfunc.cxx
+++ b/sc/source/ui/view/dbfunc.cxx
@@ -383,7 +383,7 @@ void ScDBFunc::ToggleAutoFilter()
}
else
{
- VclPtr<MessageDialog> aErrorBox(new MessageDialog(GetViewData().GetDialogParent(),
+ ScopedVclPtr<MessageDialog> aErrorBox(new MessageDialog(GetViewData().GetDialogParent(),
ScGlobal::GetRscString(STR_ERR_AUTOFILTER)));
aErrorBox->Execute();
}