diff options
Diffstat (limited to 'uui/source/nameclashdlg.cxx')
-rw-r--r-- | uui/source/nameclashdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/nameclashdlg.cxx b/uui/source/nameclashdlg.cxx index 201c6ab89ce0..65244d7f5dd6 100644 --- a/uui/source/nameclashdlg.cxx +++ b/uui/source/nameclashdlg.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <vcl/msgbox.hxx> +#include <vcl/layout.hxx> #include <osl/file.hxx> #include "ids.hrc" @@ -35,7 +35,7 @@ IMPL_LINK( NameClashDialog, ButtonHdl_Impl, PushButton *, pBtn ) OUString aNewName = maEDNewName.GetText(); if ( ( aNewName == maNewName ) || aNewName.isEmpty() ) { - ErrorBox aError( NULL, WB_OK, maSameName ); + MessageDialog aError(NULL, maSameName); aError.Execute(); return 1; } |