diff options
Diffstat (limited to 'uui/source/masterpassworddlg.cxx')
-rw-r--r-- | uui/source/masterpassworddlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/masterpassworddlg.cxx b/uui/source/masterpassworddlg.cxx index 0b2a6afd9176..ed297a860e69 100644 --- a/uui/source/masterpassworddlg.cxx +++ b/uui/source/masterpassworddlg.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 "ids.hrc" #include "masterpassworddlg.hxx" @@ -49,7 +49,7 @@ MasterPasswordDialog::MasterPasswordDialog if( nDialogMode == ::com::sun::star::task::PasswordRequestMode_PASSWORD_REENTER ) { OUString aErrorMsg( ResId( STR_ERROR_MASTERPASSWORD_WRONG, *pResourceMgr )); - ErrorBox aErrorBox( pParent, WB_OK, aErrorMsg ); + MessageDialog aErrorBox(pParent, aErrorMsg); aErrorBox.Execute(); } |