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
15f18d1b
Kaydet (Commit)
15f18d1b
authored
Haz 12, 2015
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not adjust RPN named expressions relative references, tdf#91842 follow-up
Change-Id: I5a991d3b86fec0a3800d8243f73eb764789c8c69
üst
d5cebdd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
token.cxx
sc/source/core/tool/token.cxx
+19
-1
No files found.
sc/source/core/tool/token.cxx
Dosyayı görüntüle @
15f18d1b
...
@@ -138,7 +138,25 @@ namespace
...
@@ -138,7 +138,25 @@ namespace
// Handle all tokens in RPN, and code tokens only if they have a
// Handle all tokens in RPN, and code tokens only if they have a
// reference count of 1, which means they are not referenced in
// reference count of 1, which means they are not referenced in
// RPN.
// RPN.
return
i
==
0
&&
(
*
pp
)
->
GetRef
()
>
1
;
if
(
i
==
0
)
return
(
*
pp
)
->
GetRef
()
>
1
;
// Skip (do not adjust) relative references resulting from named
// expressions.
switch
((
*
pp
)
->
GetType
())
{
case
svSingleRef
:
return
(
*
pp
)
->
GetSingleRef
()
->
IsRelName
();
case
svDoubleRef
:
{
const
ScComplexRefData
&
rRef
=
*
(
*
pp
)
->
GetDoubleRef
();
return
rRef
.
Ref1
.
IsRelName
()
||
rRef
.
Ref2
.
IsRelName
();
}
default
:
;
// nothing
}
return
false
;
}
}
};
};
...
...
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