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
f2504a0a
Kaydet (Commit)
f2504a0a
authored
Eyl 15, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix some "Variables reassigned a value before the old one has been used"
Change-Id: I64eadd8f34e9d60e9d696fa572dc0001532eab02
üst
a579ad2c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
30 deletions
+25
-30
accessibleiconchoicectrl.cxx
accessibility/source/extended/accessibleiconchoicectrl.cxx
+11
-12
accessiblelistbox.cxx
accessibility/source/extended/accessiblelistbox.cxx
+10
-12
accessiblelistboxentry.cxx
accessibility/source/extended/accessiblelistboxentry.cxx
+4
-6
No files found.
accessibility/source/extended/accessibleiconchoicectrl.cxx
Dosyayı görüntüle @
f2504a0a
...
...
@@ -250,10 +250,9 @@ namespace accessibility
ensureAlive
();
sal_Int32
i
,
nCount
=
0
;
SvtIconChoiceCtrl
*
pCtrl
=
getCtrl
();
nCount
=
pCtrl
->
GetEntryCount
();
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
pCtrl
->
GetEntryCount
();
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvxIconChoiceCtrlEntry
*
pEntry
=
pCtrl
->
GetEntry
(
i
);
if
(
pCtrl
->
GetCursor
()
!=
pEntry
)
...
...
@@ -267,10 +266,10 @@ namespace accessibility
ensureAlive
();
sal_Int32
i
,
nSelCount
=
0
,
n
Count
=
0
;
sal_Int32
nSel
Count
=
0
;
SvtIconChoiceCtrl
*
pCtrl
=
getCtrl
();
nCount
=
pCtrl
->
GetEntryCount
();
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
pCtrl
->
GetEntryCount
();
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvxIconChoiceCtrlEntry
*
pEntry
=
pCtrl
->
GetEntry
(
i
);
if
(
pCtrl
->
GetCursor
()
==
pEntry
)
...
...
@@ -290,10 +289,10 @@ namespace accessibility
throw
IndexOutOfBoundsException
();
Reference
<
XAccessible
>
xChild
;
sal_Int32
i
,
nSelCount
=
0
,
n
Count
=
0
;
sal_Int32
nSel
Count
=
0
;
SvtIconChoiceCtrl
*
pCtrl
=
getCtrl
();
nCount
=
pCtrl
->
GetEntryCount
();
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
pCtrl
->
GetEntryCount
();
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvxIconChoiceCtrlEntry
*
pEntry
=
pCtrl
->
GetEntry
(
i
);
if
(
pCtrl
->
GetCursor
()
==
pEntry
)
...
...
@@ -319,11 +318,11 @@ namespace accessibility
throw
IndexOutOfBoundsException
();
Reference
<
XAccessible
>
xChild
;
sal_Int32
i
,
nSelCount
=
0
,
n
Count
=
0
;
sal_Int32
nSel
Count
=
0
;
SvtIconChoiceCtrl
*
pCtrl
=
getCtrl
();
nCount
=
pCtrl
->
GetEntryCount
();
sal_Int32
nCount
=
pCtrl
->
GetEntryCount
();
bool
bFound
=
false
;
for
(
i
=
0
;
i
<
nCount
;
++
i
)
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvxIconChoiceCtrlEntry
*
pEntry
=
pCtrl
->
GetEntry
(
i
);
if
(
pEntry
->
IsSelected
()
)
...
...
accessibility/source/extended/accessiblelistbox.cxx
Dosyayı görüntüle @
f2504a0a
...
...
@@ -307,9 +307,8 @@ namespace accessibility
ensureAlive
();
sal_Int32
i
,
nCount
=
0
;
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvLBoxEntry
*
pEntry
=
getListBox
()
->
GetEntry
(
i
);
if
(
getListBox
()
->
IsSelected
(
pEntry
)
)
...
...
@@ -323,9 +322,8 @@ namespace accessibility
ensureAlive
();
sal_Int32
i
,
nCount
=
0
;
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvLBoxEntry
*
pEntry
=
getListBox
()
->
GetEntry
(
i
);
if
(
!
getListBox
()
->
IsSelected
(
pEntry
)
)
...
...
@@ -339,9 +337,9 @@ namespace accessibility
ensureAlive
();
sal_Int32
i
,
nSelCount
=
0
,
n
Count
=
0
;
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nSel
Count
=
0
;
sal_Int32
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvLBoxEntry
*
pEntry
=
getListBox
()
->
GetEntry
(
i
);
if
(
getListBox
()
->
IsSelected
(
pEntry
)
)
...
...
@@ -361,9 +359,9 @@ namespace accessibility
throw
IndexOutOfBoundsException
();
Reference
<
XAccessible
>
xChild
;
sal_Int32
i
,
nSelCount
=
0
,
nCount
=
0
;
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nSelCount
=
0
;
sal_Int32
nCount
=
getListBox
()
->
GetLevelChildCount
(
NULL
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvLBoxEntry
*
pEntry
=
getListBox
()
->
GetEntry
(
i
);
if
(
getListBox
()
->
IsSelected
(
pEntry
)
)
...
...
accessibility/source/extended/accessiblelistboxentry.cxx
Dosyayı görüntüle @
f2504a0a
...
...
@@ -730,9 +730,8 @@ namespace accessibility
SvLBoxEntry
*
pParent
=
getListBox
()
->
GetEntryFromPath
(
m_aEntryPath
);
if
(
!
pParent
)
throw
RuntimeException
();
sal_Int32
i
,
nCount
=
0
;
nCount
=
getListBox
()
->
GetLevelChildCount
(
pParent
);
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
getListBox
()
->
GetLevelChildCount
(
pParent
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvLBoxEntry
*
pEntry
=
getListBox
()
->
GetEntry
(
pParent
,
i
);
if
(
getListBox
()
->
IsSelected
(
pEntry
)
)
...
...
@@ -750,9 +749,8 @@ namespace accessibility
SvLBoxEntry
*
pParent
=
getListBox
()
->
GetEntryFromPath
(
m_aEntryPath
);
if
(
!
pParent
)
throw
RuntimeException
();
sal_Int32
i
,
nCount
=
0
;
nCount
=
getListBox
()
->
GetLevelChildCount
(
pParent
);
for
(
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nCount
=
getListBox
()
->
GetLevelChildCount
(
pParent
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
{
SvLBoxEntry
*
pEntry
=
getListBox
()
->
GetEntry
(
pParent
,
i
);
if
(
!
getListBox
()
->
IsSelected
(
pEntry
)
)
...
...
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