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
a1ff0b3c
Kaydet (Commit)
a1ff0b3c
authored
Kas 08, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Group formula cells if we can, to avoid cloning of token array instances.
Change-Id: I584e6d0c34f972c1ae5105a80d201f32dd8590d9
üst
fbdd02dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
formulabuffer.cxx
sc/source/filter/oox/formulabuffer.cxx
+18
-1
No files found.
sc/source/filter/oox/formulabuffer.cxx
Dosyayı görüntüle @
a1ff0b3c
...
@@ -189,7 +189,24 @@ void applyCellFormulas(
...
@@ -189,7 +189,24 @@ void applyCellFormulas(
if
(
p
)
if
(
p
)
{
{
// Use the cached version to avoid re-compilation.
// Use the cached version to avoid re-compilation.
ScFormulaCell
*
pCell
=
new
ScFormulaCell
(
&
rDoc
.
getDoc
(),
aPos
,
p
->
mpCell
->
GetCode
()
->
Clone
());
ScFormulaCell
*
pCell
=
NULL
;
if
(
p
->
mnRow
+
1
==
aPos
.
Row
())
{
// Put them in the same formula group.
ScFormulaCell
&
rPrev
=
*
p
->
mpCell
;
ScFormulaCellGroupRef
xGroup
=
rPrev
.
GetCellGroup
();
if
(
!
xGroup
)
// Last cell is not grouped yet. Start a new group.
xGroup
=
rPrev
.
CreateCellGroup
(
p
->
mnRow
,
1
,
false
);
++
xGroup
->
mnLength
;
pCell
=
new
ScFormulaCell
(
&
rDoc
.
getDoc
(),
aPos
,
xGroup
);
}
else
pCell
=
new
ScFormulaCell
(
&
rDoc
.
getDoc
(),
aPos
,
p
->
mpCell
->
GetCode
()
->
Clone
());
rDoc
.
setFormulaCell
(
aPos
,
pCell
);
rDoc
.
setFormulaCell
(
aPos
,
pCell
);
// Update the cache.
// Update the cache.
...
...
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