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
9776cc15
Kaydet (Commit)
9776cc15
authored
Mar 16, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Check all this in one place i.e. in ValidQuery().
üst
efdb67ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
dpcache.cxx
sc/source/core/data/dpcache.cxx
+4
-0
dpcachetable.cxx
sc/source/core/data/dpcachetable.cxx
+2
-11
No files found.
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
9776cc15
...
...
@@ -471,8 +471,12 @@ bool ScDPCache::InitFromDataBase (const Reference<sdbc::XRowSet>& xRowSet, const
bool
ScDPCache
::
ValidQuery
(
SCROW
nRow
,
const
ScQueryParam
&
rParam
)
const
{
if
(
!
rParam
.
GetEntryCount
())
return
true
;
if
(
!
rParam
.
GetEntry
(
0
).
bDoQuery
)
return
true
;
bool
bMatchWholeCell
=
mpDoc
->
GetDocOptions
().
IsMatchWholeCell
();
SCSIZE
nEntryCount
=
rParam
.
GetEntryCount
();
...
...
sc/source/core/data/dpcachetable.cxx
Dosyayı görüntüle @
9776cc15
...
...
@@ -64,15 +64,6 @@ using ::com::sun::star::uno::UNO_QUERY;
using
::
com
::
sun
::
star
::
uno
::
UNO_QUERY_THROW
;
using
::
com
::
sun
::
star
::
sheet
::
DataPilotFieldFilter
;
static
sal_Bool
lcl_HasQueryEntry
(
const
ScQueryParam
&
rParam
)
{
return
rParam
.
GetEntryCount
()
>
0
&&
rParam
.
GetEntry
(
0
).
bDoQuery
;
}
// ----------------------------------------------------------------------------
bool
ScDPCacheTable
::
RowFlag
::
isActive
()
const
{
return
mbShowByFilter
&&
mbShowByPage
;
...
...
@@ -186,9 +177,9 @@ void ScDPCacheTable::fillTable(
maRowFlags
.
back
().
mbShowByFilter
=
false
;
}
if
(
lcl_HasQueryEntry
(
rQuery
)
&&
!
getCache
()
->
ValidQuery
(
nRow
,
rQuery
)
)
if
(
!
getCache
()
->
ValidQuery
(
nRow
,
rQuery
))
continue
;
if
(
bIgnoreEmptyRows
&&
getCache
()
->
IsRowEmpty
(
nRow
)
)
continue
;
...
...
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