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
0bb0937b
Kaydet (Commit)
0bb0937b
authored
Agu 27, 2012
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not silently ignore a token API error, fdo#51926 related
Change-Id: Ie187dad84bd55bb76c795b5c4807566e80349b56
üst
34091bc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
token.cxx
formula/source/core/api/token.cxx
+6
-1
token.cxx
sc/source/core/tool/token.cxx
+2
-0
No files found.
formula/source/core/api/token.cxx
Dosyayı görüntüle @
0bb0937b
...
@@ -328,7 +328,12 @@ bool FormulaTokenArray::Fill(const uno::Sequence< sheet::FormulaToken >& _aSeque
...
@@ -328,7 +328,12 @@ bool FormulaTokenArray::Fill(const uno::Sequence< sheet::FormulaToken >& _aSeque
const
sal_Int32
nCount
=
_aSequence
.
getLength
();
const
sal_Int32
nCount
=
_aSequence
.
getLength
();
for
(
sal_Int32
nPos
=
0
;
nPos
<
nCount
;
nPos
++
)
for
(
sal_Int32
nPos
=
0
;
nPos
<
nCount
;
nPos
++
)
{
{
bError
|=
AddFormulaToken
(
_aSequence
[
nPos
]
,
_pRef
);
bool
bOneError
=
AddFormulaToken
(
_aSequence
[
nPos
]
,
_pRef
);
if
(
bOneError
)
{
AddOpCode
(
ocErrName
);
// add something that indicates an error
bError
=
true
;
}
}
}
return
bError
;
return
bError
;
}
}
...
...
sc/source/core/tool/token.cxx
Dosyayı görüntüle @
0bb0937b
...
@@ -1162,6 +1162,8 @@ bool ScTokenArray::AddFormulaToken(const com::sun::star::sheet::FormulaToken& _a
...
@@ -1162,6 +1162,8 @@ bool ScTokenArray::AddFormulaToken(const com::sun::star::sheet::FormulaToken& _a
AddRangeName
(
aTokenData
.
Index
,
aTokenData
.
Global
);
AddRangeName
(
aTokenData
.
Index
,
aTokenData
.
Global
);
else
if
(
eOpCode
==
ocDBArea
)
else
if
(
eOpCode
==
ocDBArea
)
AddDBRange
(
aTokenData
.
Index
);
AddDBRange
(
aTokenData
.
Index
);
else
bError
=
true
;
}
}
else
if
(
aType
.
equals
(
cppu
::
UnoType
<
sheet
::
ExternalReference
>::
get
()
)
)
else
if
(
aType
.
equals
(
cppu
::
UnoType
<
sheet
::
ExternalReference
>::
get
()
)
)
{
{
...
...
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