Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
59c05d03
Kaydet (Commit)
59c05d03
authored
Agu 28, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make use of autoboxing
Change-Id: I5eb463abbacc8804712a10bdccfe5535ba82c07b
üst
67a5b7a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
AccTreeNode.java
toolkit/test/accessibility/AccTreeNode.java
+1
-1
AccessibilityTreeModel.java
toolkit/test/accessibility/AccessibilityTreeModel.java
+1
-1
AccessibleTreeCellRenderer.java
toolkit/test/accessibility/AccessibleTreeCellRenderer.java
+1
-1
No files found.
toolkit/test/accessibility/AccTreeNode.java
Dosyayı görüntüle @
59c05d03
...
@@ -359,7 +359,7 @@ class AccTreeNode
...
@@ -359,7 +359,7 @@ class AccTreeNode
aDescriptor
.
mnChildCount
=
nChildCount
;
aDescriptor
.
mnChildCount
=
nChildCount
;
// Fill in the indices of the updated children.
// Fill in the indices of the updated children.
for
(
int
j
=
0
;
j
<
nChildCount
;
j
++)
for
(
int
j
=
0
;
j
<
nChildCount
;
j
++)
aChildIndices
.
add
(
new
Integer
(
j
+
nOffset
)
);
aChildIndices
.
add
(
j
+
nOffset
);
}
}
nOffset
+=
aDescriptor
.
mnChildCount
;
nOffset
+=
aDescriptor
.
mnChildCount
;
}
}
...
...
toolkit/test/accessibility/AccessibilityTreeModel.java
Dosyayı görüntüle @
59c05d03
...
@@ -401,7 +401,7 @@ public class AccessibilityTreeModel
...
@@ -401,7 +401,7 @@ public class AccessibilityTreeModel
int
nChildIndices
[]
=
new
int
[
nCount
];
int
nChildIndices
[]
=
new
int
[
nCount
];
for
(
int
i
=
0
;
i
<
nCount
;
i
++)
for
(
int
i
=
0
;
i
<
nCount
;
i
++)
{
{
int
nIndex
=
aChildIndices
.
elementAt
(
i
)
.
intValue
()
;
int
nIndex
=
aChildIndices
.
elementAt
(
i
);
aChildObjects
[
i
]
=
aNode
.
getChild
(
nIndex
);
aChildObjects
[
i
]
=
aNode
.
getChild
(
nIndex
);
nChildIndices
[
i
]
=
nIndex
;
nChildIndices
[
i
]
=
nIndex
;
}
}
...
...
toolkit/test/accessibility/AccessibleTreeCellRenderer.java
Dosyayı görüntüle @
59c05d03
...
@@ -79,7 +79,7 @@ public class AccessibleTreeCellRenderer
...
@@ -79,7 +79,7 @@ public class AccessibleTreeCellRenderer
if
(
maChangedLines
.
size
()
<=
nRow
)
if
(
maChangedLines
.
size
()
<=
nRow
)
maChangedLines
.
setSize
(
nRow
+
1
);
maChangedLines
.
setSize
(
nRow
+
1
);
nRow
-=
1
;
// row index is one to large for some reason.
nRow
-=
1
;
// row index is one to large for some reason.
maChangedLines
.
set
(
nRow
,
new
Boolean
(
true
)
);
maChangedLines
.
set
(
nRow
,
true
);
}
}
/** Inform the cell renderer of a set of changed line which to paint
/** Inform the cell renderer of a set of changed line which to paint
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment