incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mba...@apache.org
Subject svn commit: r1172346 - /incubator/ooo/trunk/main/uui/source/passworddlg.cxx
Date Sun, 18 Sep 2011 20:55:45 GMT
Author: mbauer
Date: Sun Sep 18 20:55:44 2011
New Revision: 1172346

URL: http://svn.apache.org/viewvc?rev=1172346&view=rev
Log:
cws mba34issues01: #i117709#: make sure that parent of error message box is visible

Modified:
    incubator/ooo/trunk/main/uui/source/passworddlg.cxx

Modified: incubator/ooo/trunk/main/uui/source/passworddlg.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/uui/source/passworddlg.cxx?rev=1172346&r1=1172345&r2=1172346&view=diff
==============================================================================
--- incubator/ooo/trunk/main/uui/source/passworddlg.cxx (original)
+++ incubator/ooo/trunk/main/uui/source/passworddlg.cxx Sun Sep 18 20:55:44 2011
@@ -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();
 	}
 



Mime
View raw message