diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-12-09 13:08:24 +0000 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-12-09 13:09:05 +0000 |
commit | e2c956d8e7efa0af57912e4319eb75e0e0fd993c (patch) | |
tree | 8af85bf9ff06ed5531328a9af3604bbed7463977 /accessibility | |
parent | 2832d8d3dcea4e11bae3f164ff1dee5486b30aae (diff) |
Edit accessibility: intended to use dynamic cast here
This is not necessarily a multilineedit.
Change-Id: Ibcbc104513bc6523e61efa5f3ff22efd3422e036
Diffstat (limited to 'accessibility')
-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 dea172019ed8..cdba0b2cc44b 100644 --- a/accessibility/source/standard/vclxaccessibleedit.cxx +++ b/accessibility/source/standard/vclxaccessibleedit.cxx @@ -311,7 +311,7 @@ Sequence< PropertyValue > VCLXAccessibleEdit::getCharacterAttributes( sal_Int32 Sequence< PropertyValue > aProperties = VCLXAccessibleTextComponent::getCharacterAttributes( nIndex, aRequestedAttributes ); // Handle multiline edit character properties - VclPtr<VclMultiLineEdit> pMulitLineEdit = GetAs< VclMultiLineEdit >(); + VclPtr<VclMultiLineEdit> pMulitLineEdit = GetAsDynamic< VclMultiLineEdit >(); if ( pMulitLineEdit ) { ExtTextEngine* pTextEngine = pMulitLineEdit->GetTextEngine(); |