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
eccbc97c
Kaydet (Commit)
eccbc97c
authored
Şub 11, 2015
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: tdf#39316 add matrix empty cells to ScInterpreter::QueryMatrixType()
Change-Id: Ifa5d59e90afcfff66f2e8683fac2a9090ed615da
üst
cf3f1d8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
interpr4.cxx
sc/source/core/tool/interpr4.cxx
+10
-0
No files found.
sc/source/core/tool/interpr4.cxx
Dosyayı görüntüle @
eccbc97c
...
...
@@ -1852,6 +1852,16 @@ void ScInterpreter::QueryMatrixType(ScMatrixRef& xMat, short& rRetTypeExpr, sal_
PushTempToken
(
new
ScMatrixFormulaCellToken
(
nCols
,
nRows
,
xMat
,
xRes
.
get
()));
rRetTypeExpr
=
NUMBERFORMAT_LOGICAL
;
}
else
if
(
xMat
->
IsEmptyResult
(
0
,
0
))
{
// empty formula result
FormulaTokenRef
xRes
=
new
ScEmptyCellToken
(
true
,
true
);
// inherited, display empty
PushTempToken
(
new
ScMatrixFormulaCellToken
(
nCols
,
nRows
,
xMat
,
xRes
.
get
()));
}
else
if
(
xMat
->
IsEmpty
(
0
,
0
))
{
// empty or empty cell
FormulaTokenRef
xRes
=
new
ScEmptyCellToken
(
false
,
true
);
// not inherited, display empty
PushTempToken
(
new
ScMatrixFormulaCellToken
(
nCols
,
nRows
,
xMat
,
xRes
.
get
()));
}
else
{
svl
::
SharedString
aStr
(
nMatVal
.
GetString
());
...
...
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