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
efdb67ca
Kaydet (Commit)
efdb67ca
authored
Mar 16, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
We don't ever compare equality of two caches.
That'd be super-expensive anyway.
üst
8ada1cd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
40 deletions
+0
-40
dpcache.hxx
sc/inc/dpcache.hxx
+0
-2
dpcache.cxx
sc/source/core/data/dpcache.cxx
+0
-38
No files found.
sc/inc/dpcache.hxx
Dosyayı görüntüle @
efdb67ca
...
...
@@ -152,8 +152,6 @@ public:
const
ScDPItemData
*
GetItemDataById
(
long
nDim
,
SCROW
nId
)
const
;
bool
operator
==
(
const
ScDPCache
&
r
)
const
;
ScDPCache
(
ScDocument
*
pDoc
);
~
ScDPCache
();
...
...
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
efdb67ca
...
...
@@ -67,44 +67,6 @@ ScDPCache::GroupItems::GroupItems() {}
ScDPCache
::
GroupItems
::
GroupItems
(
const
ScDPNumGroupInfo
&
rInfo
)
:
maInfo
(
rInfo
)
{}
bool
ScDPCache
::
operator
==
(
const
ScDPCache
&
r
)
const
{
if
(
GetColumnCount
()
==
r
.
GetColumnCount
()
)
{
for
(
SCCOL
i
=
0
;
i
<
GetColumnCount
();
i
++
)
{
//check dim names
if
(
GetDimensionName
(
i
)
!=
r
.
GetDimensionName
(
i
)
)
return
false
;
//check rows count
if
(
GetRowCount
()
!=
r
.
GetRowCount
()
)
return
false
;
//check dim member values
size_t
nMembersCount
=
GetDimMemberValues
(
i
).
size
();
if
(
GetDimMemberValues
(
i
).
size
()
==
r
.
GetDimMemberValues
(
i
).
size
()
)
{
for
(
size_t
j
=
0
;
j
<
nMembersCount
;
j
++
)
{
if
(
GetDimMemberValues
(
i
)[
j
]
==
r
.
GetDimMemberValues
(
i
)[
j
])
continue
;
else
return
false
;
}
}
else
return
false
;
//check source table index
for
(
SCROW
k
=
0
;
k
<
GetRowCount
();
k
++
)
{
if
(
GetItemDataId
(
i
,
k
,
false
)
==
r
.
GetItemDataId
(
i
,
k
,
false
)
)
continue
;
else
return
false
;
}
}
}
return
true
;
}
ScDPCache
::
Field
::
Field
()
:
mnNumFormat
(
0
)
{}
ScDPCache
::
ScDPCache
(
ScDocument
*
pDoc
)
:
...
...
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