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
1afd1e5c
Kaydet (Commit)
1afd1e5c
authored
Agu 23, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#53929: Pivot table uses case insensitive string comparison.
Change-Id: I65fa22ceeba37a15b70fe41b1dee26f1dde7d759
üst
44dcb37b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
dpcache.cxx
sc/source/core/data/dpcache.cxx
+2
-2
dpitemdata.cxx
sc/source/core/data/dpitemdata.cxx
+3
-2
No files found.
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
1afd1e5c
...
...
@@ -195,7 +195,7 @@ struct EqualByValue : std::binary_function<Bucket, Bucket, bool>
{
bool
operator
()
(
const
Bucket
&
left
,
const
Bucket
&
right
)
const
{
return
left
.
maValue
==
right
.
maValue
;
return
left
.
maValue
.
IsCaseInsEqual
(
right
.
maValue
)
;
}
};
...
...
@@ -251,7 +251,7 @@ void processBuckets(std::vector<Bucket>& aBuckets, ScDPCache::Field& rField)
it
->
mnOrderIndex
=
nCurIndex
;
for
(
++
it
;
it
!=
itEnd
;
++
it
)
{
if
(
aPrev
!=
it
->
maValue
)
if
(
!
aPrev
.
IsCaseInsEqual
(
it
->
maValue
)
)
++
nCurIndex
;
it
->
mnOrderIndex
=
nCurIndex
;
...
...
sc/source/core/data/dpitemdata.cxx
Dosyayı görüntüle @
1afd1e5c
...
...
@@ -210,8 +210,9 @@ bool ScDPItemData::IsCaseInsEqual(const ScDPItemData& r) const
;
}
if
(
mbStringInterned
&&
r
.
mbStringInterned
)
return
mpString
==
r
.
mpString
;
if
(
mbStringInterned
&&
r
.
mbStringInterned
&&
mpString
==
r
.
mpString
)
// Fast equality check for interned strings.
return
true
;
return
ScGlobal
::
GetpTransliteration
()
->
isEqual
(
GetString
(),
r
.
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