[Libreoffice-commits] core.git: accessibility/source
Tamás Zolnai
tamas.zolnai at collabora.com
Fri Dec 9 12:10:20 UTC 2016
accessibility/source/standard/vclxaccessibleedit.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e2c956d8e7efa0af57912e4319eb75e0e0fd993c
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date: Fri Dec 9 13:08:24 2016 +0000
Edit accessibility: intended to use dynamic cast here
This is not necessarily a multilineedit.
Change-Id: Ibcbc104513bc6523e61efa5f3ff22efd3422e036
diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx
index dea1720..cdba0b2 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();
More information about the Libreoffice-commits
mailing list