1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00

formatting cleanup

This commit is contained in:
Nikolay Pultsin 2011-06-12 02:33:41 +01:00
parent 73146fcf90
commit 9ed0427def

View file

@ -91,7 +91,8 @@ abstract class ZLTextViewBase extends ZLView {
void applyControl(ZLTextControlElement control) { void applyControl(ZLTextControlElement control) {
if (control.IsStart) { if (control.IsStart) {
ZLTextStyleDecoration decoration = ZLTextStyleCollection.Instance().getDecoration(control.Kind); final ZLTextStyleDecoration decoration =
ZLTextStyleCollection.Instance().getDecoration(control.Kind);
if (control instanceof ZLTextHyperlinkControlElement) { if (control instanceof ZLTextHyperlinkControlElement) {
setTextStyle(decoration.createDecoratedStyle(myTextStyle, ((ZLTextHyperlinkControlElement)control).Hyperlink)); setTextStyle(decoration.createDecoratedStyle(myTextStyle, ((ZLTextHyperlinkControlElement)control).Hyperlink));
} else { } else {