1. mst
  2. ooo340

Commits

mba  committed d565b70

cws mba34issues01: #i117709#: make sure that parent of error message box is visible

  • Participants
  • Parent commits e1f340a
  • Branches default

Comments (0)

Files changed (1)

File uui/source/passworddlg.cxx

View file
         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();
 	}