summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorMathias Bauer <mbauer@apache.org>2011-09-18 19:55:44 +0000
committerMathias Bauer <mbauer@apache.org>2011-09-18 19:55:44 +0000
commit475b8b109fc7bddb379bc69126364992524b23ad (patch)
treecbb65af745fcce34f8ebd4e8967813b0c51acbdc /uui
parentb1328eff568ff7183dbe9ba6c88dae09f2288077 (diff)
cws mba34issues01: #i117709#: make sure that parent of error message box is visible
Diffstat (limited to 'uui')
-rw-r--r--uui/source/passworddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index a6fa5134c277..2994967fa91e 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -74,7 +74,7 @@ PasswordDialog::PasswordDialog(
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;
String aErrorMsg( ResId( nErrStrId, *pResourceMgr ));
- ErrorBox aErrorBox( this, WB_OK, aErrorMsg );
+ ErrorBox aErrorBox( GetParent(), WB_OK, aErrorMsg );
aErrorBox.Execute();
}