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
30e27a99
Kaydet (Commit)
30e27a99
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 one more file
Change-Id: Ia2db1835e56d683769d8c3972fb0c73ba2eae2c6
üst
2a29c792
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
chart2uno.cxx
sc/source/ui/unoobj/chart2uno.cxx
+8
-5
No files found.
sc/source/ui/unoobj/chart2uno.cxx
Dosyayı görüntüle @
30e27a99
...
@@ -2104,9 +2104,10 @@ sal_Bool SAL_CALL ScChart2DataProvider::createDataSequenceByFormulaTokensPossibl
...
@@ -2104,9 +2104,10 @@ sal_Bool SAL_CALL ScChart2DataProvider::createDataSequenceByFormulaTokensPossibl
if
(
!
n
)
if
(
!
n
)
return
false
;
return
false
;
const
formula
::
FormulaToken
*
pFirst
=
aCode
.
First
();
formula
::
FormulaTokenArrayPlainIterator
aIter
(
aCode
);
const
formula
::
FormulaToken
*
pFirst
=
aIter
.
First
();
const
formula
::
FormulaToken
*
pLast
=
aCode
.
GetArray
()[
n
-
1
];
const
formula
::
FormulaToken
*
pLast
=
aCode
.
GetArray
()[
n
-
1
];
for
(
const
formula
::
FormulaToken
*
p
=
a
Code
.
First
();
p
;
p
=
aCode
.
Next
())
for
(
const
formula
::
FormulaToken
*
p
=
a
Iter
.
First
();
p
;
p
=
aIter
.
Next
())
{
{
switch
(
p
->
GetType
())
switch
(
p
->
GetType
())
{
{
...
@@ -2162,9 +2163,10 @@ ScChart2DataProvider::createDataSequenceByFormulaTokens(
...
@@ -2162,9 +2163,10 @@ ScChart2DataProvider::createDataSequenceByFormulaTokens(
return
xResult
;
return
xResult
;
vector
<
ScTokenRef
>
aRefTokens
;
vector
<
ScTokenRef
>
aRefTokens
;
const
formula
::
FormulaToken
*
pFirst
=
aCode
.
First
();
formula
::
FormulaTokenArrayPlainIterator
aIter
(
aCode
);
const
formula
::
FormulaToken
*
pFirst
=
aIter
.
First
();
const
formula
::
FormulaToken
*
pLast
=
aCode
.
GetArray
()[
n
-
1
];
const
formula
::
FormulaToken
*
pLast
=
aCode
.
GetArray
()[
n
-
1
];
for
(
const
formula
::
FormulaToken
*
p
=
a
Code
.
First
();
p
;
p
=
aCode
.
Next
())
for
(
const
formula
::
FormulaToken
*
p
=
a
Iter
.
First
();
p
;
p
=
aIter
.
Next
())
{
{
switch
(
p
->
GetType
())
switch
(
p
->
GetType
())
{
{
...
@@ -2625,7 +2627,8 @@ sal_Int32 ScChart2DataSequence::FillCacheFromExternalRef(const ScTokenRef& pToke
...
@@ -2625,7 +2627,8 @@ sal_Int32 ScChart2DataSequence::FillCacheFromExternalRef(const ScTokenRef& pToke
ScExternalRefCache
::
TableTypeRef
pTable
=
pRefMgr
->
getCacheTable
(
nFileId
,
aTabName
,
false
);
ScExternalRefCache
::
TableTypeRef
pTable
=
pRefMgr
->
getCacheTable
(
nFileId
,
aTabName
,
false
);
sal_Int32
nDataCount
=
0
;
sal_Int32
nDataCount
=
0
;
for
(
FormulaToken
*
p
=
pArray
->
First
();
p
;
p
=
pArray
->
Next
())
FormulaTokenArrayPlainIterator
aIter
(
*
pArray
);
for
(
FormulaToken
*
p
=
aIter
.
First
();
p
;
p
=
aIter
.
Next
())
{
{
// Cached external range is always represented as a single
// Cached external range is always represented as a single
// matrix token, although that might change in the future when
// matrix token, although that might change in the future when
...
...
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