https://issues.apache.org/ooo/show_bug.cgi?id=122151
--- Comment #3 from Ariel Constenla-Haile <[email protected]> --- Setting a break point on the CTRO PasswordToOpenModifyDialog::PasswordToOpenModifyDialog reveals that the max. password length is known when the dialog is created, so that it would be easy to add a string with a place holder for the password length: * Saving with password to ODF: Breakpoint 1, PasswordToOpenModifyDialog::PasswordToOpenModifyDialog (this=0x2efbc78, pParent=0x0, nMinPasswdLen=0, nMaxPasswdLen=0, bIsPasswordToModify=true) at /build/aoo/src/playground/trunk/main/cui/source/dialogs/passwdomdlg.cxx:300 300 SfxModalDialog( pParent, CUI_RES( RID_DLG_PASSWORD_TO_OPEN_MODIFY ) ) * Saving with password to .doc: Breakpoint 1, PasswordToOpenModifyDialog::PasswordToOpenModifyDialog (this=0x3803cc8, pParent=0x0, nMinPasswdLen=0, nMaxPasswdLen=15, bIsPasswordToModify=true) at /build/aoo/src/playground/trunk/main/cui/source/dialogs/passwdomdlg.cxx:300 300 SfxModalDialog( pParent, CUI_RES( RID_DLG_PASSWORD_TO_OPEN_MODIFY ) ) The fixed text with that string should be displayed only when nMaxPasswdLen > 0 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
