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
431c4536
Kaydet (Commit)
431c4536
authored
Mar 15, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Better consistency checking.
Change-Id: I096282ebb9a10d212affbab32aaa49ca1815b1a7
üst
17be3629
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
column2.cxx
sc/source/core/data/column2.cxx
+25
-1
No files found.
sc/source/core/data/column2.cxx
Dosyayı görüntüle @
431c4536
...
...
@@ -1392,18 +1392,42 @@ SCROW ScColumn::FindNextVisibleRowWithContent(SCROW nRow, bool bForward) const
void
ScColumn
::
CellStorageModified
()
{
#if DEBUG_COLUMN_STORAGE
if
(
maItems
.
empty
())
{
if
(
maTextWidths
.
empty
())
{
cout
<<
"ScColumn::CellStorageModified: Text width array is empty, but shouldn't."
<<
endl
;
abort
();
}
if
(
maTextWidths
.
block_size
()
!=
1
||
maTextWidths
.
begin
()
->
type
!=
mdds
::
mtv
::
element_type_empty
)
{
cout
<<
"ScColumn::CellStorageModified: When the cell array is empty, the text with array should consist of one empty block."
<<
endl
;
abort
();
}
return
;
}
cout
<<
"-- begin"
<<
endl
;
std
::
vector
<
ColEntry
>::
const_iterator
it
=
maItems
.
begin
(),
itEnd
=
maItems
.
end
();
for
(;
it
!=
itEnd
;
++
it
)
cout
<<
"ScColumn::CellStorageModified: entry: row = "
<<
it
->
nRow
<<
"; cell = "
<<
it
->
pCell
<<
endl
;
ScColumnTextWidthIterator
aIter
(
*
this
,
0
,
MAXROW
);
for
(;
aIter
.
hasCell
();
aIter
.
next
())
{
SCROW
nRow
=
aIter
.
getPos
();
ScBaseCell
*
pCell
=
GetCell
(
nRow
);
cout
<<
"ScColumn::CellStorageModified: row = "
<<
nRow
<<
"; cell = "
<<
pCell
<<
endl
;
if
(
!
pCell
)
{
cout
<<
"Cell and text width storages are out of sync!"
<<
endl
;
cout
<<
"
ScColumn::CellStorageModified:
Cell and text width storages are out of sync!"
<<
endl
;
cout
.
flush
();
abort
();
}
}
cout
<<
"-- end"
<<
endl
;
#endif
}
...
...
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