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
e6ced149
Kaydet (Commit)
e6ced149
authored
Şub 02, 2018
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Do not force non-existent parameters into the TokenPool, ofz-related
Change-Id: I2fa0ae81b987af592c14486040077c9ff157fab9
üst
329d39c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
lotform.cxx
sc/source/filter/lotus/lotform.cxx
+16
-5
No files found.
sc/source/filter/lotus/lotform.cxx
Dosyayı görüntüle @
e6ced149
...
...
@@ -193,12 +193,23 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nCnt, const sal_Char* pExtStri
sal_Int16
nLast
=
nCnt
-
1
;
if
(
eOc
==
ocPMT
)
{
// special case ocPMT,
ignore (negate?)
last parameter!
{
// special case ocPMT,
negate
last parameter!
// additionally: 1. -> 3., 3. -> 2., 2. -> 1.
SAL_WARN_IF
(
nCnt
!=
3
,
"sc"
,
"+LotusToSc::DoFunc(): ocPMT needs 3 parameters!"
);
aPool
<<
eParam
[
1
]
<<
ocSep
<<
eParam
[
0
]
<<
ocSep
<<
ocNegSub
<<
eParam
[
2
];
SAL_WARN_IF
(
nCnt
!=
3
,
"sc"
,
"+LotusToSc::DoFunc(): ocPMT needs 3 parameters!"
);
// There should be at least 3 arguments, but with binary crap may not..
switch
(
nCnt
)
{
case
1
:
aPool
<<
eParam
[
1
];
break
;
case
2
:
aPool
<<
eParam
[
1
]
<<
ocSep
<<
eParam
[
0
];
break
;
default
:
case
3
:
aPool
<<
eParam
[
1
]
<<
ocSep
<<
eParam
[
0
]
<<
ocSep
<<
ocNegSub
<<
eParam
[
2
];
break
;
}
}
else
{
// default
...
...
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