flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [11/50] git commit: [flex-asjs] [refs/heads/develop] - Removed unnecessary as coersion
Date Mon, 03 Jul 2017 13:35:05 GMT
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/develop
Commit: e263ef6e5d84fa17cadc89dcae10bbb1bd39e1f7
Parents: 0d56a39
Author: Harbs <harbs@in-tools.com>
Authored: Mon Jun 19 14:04:26 2017 +0300
Committer: Harbs <harbs@in-tools.com>
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)


Mime
View raw message