summaryrefslogtreecommitdiff
path: root/uui/source/nameclashdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/nameclashdlg.cxx')
-rw-r--r--uui/source/nameclashdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/nameclashdlg.cxx b/uui/source/nameclashdlg.cxx
index 032e6e7f2ecd..8e11603b278d 100644
--- a/uui/source/nameclashdlg.cxx
+++ b/uui/source/nameclashdlg.cxx
@@ -34,7 +34,7 @@ IMPL_LINK( NameClashDialog, ButtonHdl_Impl, PushButton *, pBtn )
OUString aNewName = m_pEDNewName->GetText();
if ( ( aNewName == maNewName ) || aNewName.isEmpty() )
{
- VclPtr<MessageDialog> aError(new MessageDialog(NULL, maSameName));
+ ScopedVclPtr<MessageDialog> aError(new MessageDialog(NULL, maSameName));
aError->Execute();
return 1;
}