Repository: flex-asjs
Updated Branches:
  refs/heads/tlf 0d56a3978 -> e263ef6e5


Removed unnecessary as coersion


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e263ef6e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e263ef6e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e263ef6e

Branch: refs/heads/tlf
Commit: e263ef6e5d84fa17cadc89dcae10bbb1bd39e1f7
Parents: 0d56a39
Author: Harbs <[email protected]>
Authored: Mon Jun 19 14:04:26 2017 +0300
Committer: Harbs <[email protected]>
Committed: Mon Jun 19 14:04:26 2017 +0300

----------------------------------------------------------------------
 .../org/apache/flex/textLayout/compose/utils/AdornmentUtils.as     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e263ef6e/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as
 
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as
index 477e386..abaa81e 100644
--- 
a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as
+++ 
b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as
@@ -56,7 +56,7 @@ package org.apache.flex.textLayout.compose.utils
                                /** @private */
                public static function 
getSpanBoundsOnLine(element:IFlowLeafElement,textLine:ITextLine, 
blockProgression:String):Array
                {
-                       var line:ITextFlowLine = 
ITextFlowLine(textLine.userData);
+                       var line:ITextFlowLine = textLine.userData as 
ITextFlowLine;
                        var paraStart:int = line.paragraph.getAbsoluteStart();
                        var lineEnd:int = (line.absoluteStart + 
line.textLength) - paraStart;
                        var spanStart:int = element.getAbsoluteStart() - 
paraStart;             // get start pos relative to the paragraph (which might 
not be the parent)

Reply via email to