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
f089de7d
Kaydet (Commit)
f089de7d
authored
Agu 14, 2015
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: tdf#93358 resync attribute pattern that may have changed
Change-Id: If3ce8feec940c7212fe467f39db868630522b17e
üst
4466a794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
column2.cxx
sc/source/core/data/column2.cxx
+13
-1
No files found.
sc/source/core/data/column2.cxx
Dosyayı görüntüle @
f089de7d
...
@@ -824,7 +824,18 @@ void ScColumn::GetOptimalHeight(
...
@@ -824,7 +824,18 @@ void ScColumn::GetOptimalHeight(
}
}
if
(
bStdOnly
)
if
(
bStdOnly
)
if
(
HasEditCells
(
nStart
,
nEnd
,
nEditPos
))
// includes mixed script types
{
bool
bHasEditCells
=
HasEditCells
(
nStart
,
nEnd
,
nEditPos
);
// Call to HasEditCells() may change pattern due to
// calculation, => sync always.
// We don't know which row changed first, but as pPattern
// covered nStart to nEnd we can pick nStart. Worst case we
// have to repeat that for every row in range if every row
// changed.
pPattern
=
aIter
.
Resync
(
nStart
,
nStart
,
nEnd
);
if
(
bHasEditCells
&&
nEnd
<
nEditPos
)
bHasEditCells
=
false
;
// run into that again
if
(
bHasEditCells
)
// includes mixed script types
{
{
if
(
nEditPos
==
nStart
)
if
(
nEditPos
==
nStart
)
{
{
...
@@ -840,6 +851,7 @@ void ScColumn::GetOptimalHeight(
...
@@ -840,6 +851,7 @@ void ScColumn::GetOptimalHeight(
nEnd
=
nEditPos
-
1
;
// standard - part
nEnd
=
nEditPos
-
1
;
// standard - part
}
}
}
}
}
sc
::
SingleColumnSpanSet
aSpanSet
;
sc
::
SingleColumnSpanSet
aSpanSet
;
aSpanSet
.
scan
(
*
this
,
nStart
,
nEnd
);
aSpanSet
.
scan
(
*
this
,
nStart
,
nEnd
);
...
...
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