diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 08:50:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 10:57:21 +0100 |
commit | a107bdfdfc1baf73f14055262d64bf616fc0a889 (patch) | |
tree | 2e4cbadd538f5e8d495fb8953a5a7939c8ab2bb5 /uui/source/passworddlg.cxx | |
parent | 3b6091ca42cd2d9f230e7d81648c34f3d7085107 (diff) |
ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
Diffstat (limited to 'uui/source/passworddlg.cxx')
-rw-r--r-- | uui/source/passworddlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx index 19c08e022ce7..3d4326eb10ff 100644 --- a/uui/source/passworddlg.cxx +++ b/uui/source/passworddlg.cxx @@ -20,7 +20,7 @@ #include "passworddlg.hxx" #include "ids.hrc" -#include <vcl/msgbox.hxx> +#include <vcl/layout.hxx> using namespace ::com::sun::star; @@ -44,7 +44,7 @@ PasswordDialog::PasswordDialog(Window* _pParent, const sal_uInt16 nOpenToModifyErrStrId = bOpenToModify ? STR_ERROR_PASSWORD_TO_MODIFY_WRONG : STR_ERROR_PASSWORD_TO_OPEN_WRONG; const sal_uInt16 nErrStrId = bIsSimplePasswordRequest ? STR_ERROR_SIMPLE_PASSWORD_WRONG : nOpenToModifyErrStrId; OUString aErrorMsg(ResId(nErrStrId, *pResourceMgr).toString()); - ErrorBox aErrorBox( GetParent(), WB_OK, aErrorMsg ); + MessageDialog aErrorBox(GetParent(), aErrorMsg); aErrorBox.Execute(); } @@ -91,7 +91,7 @@ IMPL_LINK_NOARG(PasswordDialog, OKHdl_Impl) if (m_pEDConfirmPassword->IsVisible() && bPasswdMismatch) { - ErrorBox aErrorBox( this, WB_OK, aPasswdMismatch ); + MessageDialog aErrorBox(this, aPasswdMismatch); aErrorBox.Execute(); } else if (bValid) |