diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/TextConnectionHelper.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/TextConnectionHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx index b399bf69c9f2..aab6965310df 100644 --- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx @@ -32,7 +32,7 @@ #include "dbfindex.hxx" #include "dbaccess_helpid.hrc" #include "localresaccess.hxx" -#include <vcl/msgbox.hxx> +#include <vcl/layout.hxx> #include <vcl/mnemonic.hxx> #include <svl/cjkoptions.hxx> #if HAVE_FEATURE_JAVA @@ -304,7 +304,7 @@ namespace dbaui } else return true; - ErrorBox(NULL, WB_OK, MnemonicGenerator::EraseAllMnemonicChars( aErrorText)).Execute(); + MessageDialog(NULL, MnemonicGenerator::EraseAllMnemonicChars(aErrorText)).Execute(); pErrorWin->GrabFocus(); return false; } |