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
dd4bd0ee
Kaydet (Commit)
dd4bd0ee
authored
Şub 18, 2015
tarafından
László Németh
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#89436 ScHorizontalAttrIterator - fix condition + cleanup
Change-Id: I0e2d467044fc46f56bd52083d4365357033cb1b8
üst
b0979fb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
dociter.cxx
sc/source/core/data/dociter.cxx
+4
-3
No files found.
sc/source/core/data/dociter.cxx
Dosyayı görüntüle @
dd4bd0ee
...
...
@@ -2313,6 +2313,8 @@ const ScPatternAttr* ScHorizontalAttrIterator::GetNext( SCCOL& rCol1, SCCOL& rCo
++
nCol
;
// Count up for next call
return
pPat
;
// Found it!
}
bRepeatedRow
=
true
;
// we can use the stored row data next time
}
// Next row
...
...
@@ -2321,10 +2323,10 @@ const ScPatternAttr* ScHorizontalAttrIterator::GetNext( SCCOL& rCol1, SCCOL& rCo
return
NULL
;
// Found nothing
nCol
=
nStartCol
;
// Start at the left again
if
(
!
bRowEmpty
&&
bRepeatedRow
&&
!
nMinNextEnd
<
nRow
)
// use the
data of the previous row
if
(
bRepeatedRow
&&
nRow
<=
nMinNextEnd
)
// use only the stored
data of the previous row
continue
;
bRepeatedRow
=
true
;
// ppPatterns is not modified
bRepeatedRow
=
false
;
nMinNextEnd
=
MAXROW
;
bool
bEmpty
=
true
;
SCCOL
i
;
...
...
@@ -2335,7 +2337,6 @@ const ScPatternAttr* ScHorizontalAttrIterator::GetNext( SCCOL& rCol1, SCCOL& rCo
if
(
pNextEnd
[
nPos
]
<
nRow
)
{
const
ScAttrArray
*
pArray
=
pDoc
->
maTabs
[
nTab
]
->
aCol
[
i
].
pAttrArray
;
bRepeatedRow
=
false
;
SCSIZE
nIndex
=
++
pIndices
[
nPos
];
if
(
nIndex
<
pArray
->
nCount
)
...
...
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