diff options
Diffstat (limited to 'accessibility/source/standard/vclxaccessibleedit.cxx')
-rw-r--r-- | accessibility/source/standard/vclxaccessibleedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx index 850238c55a94..118c9d85f6d0 100644 --- a/accessibility/source/standard/vclxaccessibleedit.cxx +++ b/accessibility/source/standard/vclxaccessibleedit.cxx @@ -214,7 +214,7 @@ sal_Int16 VCLXAccessibleEdit::implGetAccessibleRole( ) { sal_Int16 nRole; VclPtr< Edit > pEdit = GetAs< Edit >(); - if ( pEdit && ( ( pEdit->GetStyle() & WB_PASSWORD ) || pEdit->GetEchoChar() ) ) + if ( pEdit && ( pEdit->IsPassword() || pEdit->GetEchoChar() ) ) nRole = AccessibleRole::PASSWORD_TEXT; else if ( pEdit && ( pEdit->GetStyle() & WB_READONLY ) ) nRole = AccessibleRole::LABEL; |