diff options
Diffstat (limited to 'uui/source/nameclashdlg.cxx')
-rw-r--r-- | uui/source/nameclashdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/nameclashdlg.cxx b/uui/source/nameclashdlg.cxx index 8e11603b278d..06ff359bf3ca 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() ) { - ScopedVclPtr<MessageDialog> aError(new MessageDialog(NULL, maSameName)); + ScopedVclPtrInstance< MessageDialog > aError(nullptr, maSameName); aError->Execute(); return 1; } |