You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/05/12 16:26:47 UTC

[Bug 122151] Missing Help for "Set Password" dialog

https://issues.apache.org/ooo/show_bug.cgi?id=122151

--- Comment #3 from Ariel Constenla-Haile <ar...@apache.org> ---
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.