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
8f68e193
Kaydet (Commit)
8f68e193
authored
Haz 07, 2017
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Take new FormulaTokenArrayPlainIterator into use in a couple more places
Change-Id: Iaccbc7927943948136a56ba17f6bcff3a6971f31
üst
1bb184b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
document10.cxx
sc/source/core/data/document10.cxx
+6
-3
No files found.
sc/source/core/data/document10.cxx
Dosyayı görüntüle @
8f68e193
...
@@ -564,7 +564,8 @@ bool ScDocument::FindRangeNamesReferencingSheet( sc::UpdatedRangeNames& rIndexes
...
@@ -564,7 +564,8 @@ bool ScDocument::FindRangeNamesReferencingSheet( sc::UpdatedRangeNames& rIndexes
bool
bRef
=
!
bSameDoc
;
// include every name used when copying to other doc
bool
bRef
=
!
bSameDoc
;
// include every name used when copying to other doc
if
(
nRecursion
<
126
)
// whatever.. 42*3
if
(
nRecursion
<
126
)
// whatever.. 42*3
{
{
for
(
const
formula
::
FormulaToken
*
p
=
pCode
->
First
();
p
;
p
=
pCode
->
Next
())
formula
::
FormulaTokenArrayPlainIterator
aIter
(
*
pCode
);
for
(
const
formula
::
FormulaToken
*
p
=
aIter
.
First
();
p
;
p
=
aIter
.
Next
())
{
{
if
(
p
->
GetOpCode
()
==
ocName
)
if
(
p
->
GetOpCode
()
==
ocName
)
{
{
...
@@ -603,7 +604,8 @@ MightReferenceSheet mightRangeNameReferenceSheet( ScRangeData* pData, SCTAB nRef
...
@@ -603,7 +604,8 @@ MightReferenceSheet mightRangeNameReferenceSheet( ScRangeData* pData, SCTAB nRef
if
(
!
pCode
)
if
(
!
pCode
)
return
MightReferenceSheet
::
NONE
;
return
MightReferenceSheet
::
NONE
;
for
(
const
formula
::
FormulaToken
*
p
=
pCode
->
First
();
p
;
p
=
pCode
->
Next
())
formula
::
FormulaTokenArrayPlainIterator
aIter
(
*
pCode
);
for
(
const
formula
::
FormulaToken
*
p
=
aIter
.
First
();
p
;
p
=
aIter
.
Next
())
{
{
if
(
p
->
GetOpCode
()
==
ocName
)
if
(
p
->
GetOpCode
()
==
ocName
)
return
MightReferenceSheet
::
NAME
;
return
MightReferenceSheet
::
NAME
;
...
@@ -850,7 +852,8 @@ bool ScDocument::CopyAdjustRangeName( SCTAB& rSheet, sal_uInt16& rIndex, ScRange
...
@@ -850,7 +852,8 @@ bool ScDocument::CopyAdjustRangeName( SCTAB& rSheet, sal_uInt16& rIndex, ScRange
ScTokenArray
*
pCode
=
iRD
->
GetCode
();
ScTokenArray
*
pCode
=
iRD
->
GetCode
();
if
(
pCode
)
if
(
pCode
)
{
{
for
(
formula
::
FormulaToken
*
p
=
pCode
->
First
();
p
;
p
=
pCode
->
Next
())
formula
::
FormulaTokenArrayPlainIterator
aIter
(
*
pCode
);
for
(
formula
::
FormulaToken
*
p
=
aIter
.
First
();
p
;
p
=
aIter
.
Next
())
{
{
if
(
p
->
GetOpCode
()
==
ocName
)
if
(
p
->
GetOpCode
()
==
ocName
)
{
{
...
...
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