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
c2defd97
Kaydet (Commit)
c2defd97
authored
Kas 13, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: inline LabelsType
Change-Id: I6035b73e170664d23c706a26c1dee953cd19c518
üst
75aaa65a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
dpcache.hxx
sc/inc/dpcache.hxx
+2
-3
dpcache.cxx
sc/source/core/data/dpcache.cxx
+1
-1
No files found.
sc/inc/dpcache.hxx
Dosyayı görüntüle @
c2defd97
...
@@ -49,7 +49,6 @@ class SC_DLLPUBLIC ScDPCache : boost::noncopyable
...
@@ -49,7 +49,6 @@ class SC_DLLPUBLIC ScDPCache : boost::noncopyable
public
:
public
:
typedef
std
::
vector
<
ScDPItemData
>
ScDPItemDataVec
;
typedef
std
::
vector
<
ScDPItemData
>
ScDPItemDataVec
;
typedef
std
::
set
<
ScDPObject
*>
ScDPObjectSet
;
typedef
std
::
set
<
ScDPObject
*>
ScDPObjectSet
;
typedef
std
::
vector
<
OUString
>
LabelsType
;
typedef
std
::
vector
<
SCROW
>
IndexArrayType
;
typedef
std
::
vector
<
SCROW
>
IndexArrayType
;
struct
GroupItems
:
boost
::
noncopyable
struct
GroupItems
:
boost
::
noncopyable
...
@@ -118,7 +117,7 @@ private:
...
@@ -118,7 +117,7 @@ private:
GroupFieldsType
maGroupFields
;
GroupFieldsType
maGroupFields
;
mutable
StringSetType
maStringPool
;
mutable
StringSetType
maStringPool
;
LabelsType
maLabelNames
;
// Stores dimension names and the data layout dimension name at position 0.
std
::
vector
<
OUString
>
maLabelNames
;
// Stores dimension names and the data layout dimension name at position 0.
mdds
::
flat_segment_tree
<
SCROW
,
bool
>
maEmptyRows
;
mdds
::
flat_segment_tree
<
SCROW
,
bool
>
maEmptyRows
;
SCROW
mnDataSize
;
SCROW
mnDataSize
;
SCROW
mnRowCount
;
SCROW
mnRowCount
;
...
@@ -174,7 +173,7 @@ public:
...
@@ -174,7 +173,7 @@ public:
*/
*/
SCROW
GetDataSize
()
const
;
SCROW
GetDataSize
()
const
;
SCROW
GetItemDataId
(
sal_uInt16
nDim
,
SCROW
nRow
,
bool
bRepeatIfEmpty
)
const
;
SCROW
GetItemDataId
(
sal_uInt16
nDim
,
SCROW
nRow
,
bool
bRepeatIfEmpty
)
const
;
OUString
GetDimensionName
(
LabelsType
::
size_type
nDim
)
const
;
OUString
GetDimensionName
(
std
::
vector
<
OUString
>
::
size_type
nDim
)
const
;
bool
IsRowEmpty
(
SCROW
nRow
)
const
;
bool
IsRowEmpty
(
SCROW
nRow
)
const
;
bool
ValidQuery
(
SCROW
nRow
,
const
ScQueryParam
&
rQueryParam
)
const
;
bool
ValidQuery
(
SCROW
nRow
,
const
ScQueryParam
&
rQueryParam
)
const
;
...
...
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
c2defd97
...
@@ -679,7 +679,7 @@ const ScDPCache::GroupItems* ScDPCache::GetGroupItems(long nDim) const
...
@@ -679,7 +679,7 @@ const ScDPCache::GroupItems* ScDPCache::GetGroupItems(long nDim) const
return
nullptr
;
return
nullptr
;
}
}
OUString
ScDPCache
::
GetDimensionName
(
LabelsType
::
size_type
nDim
)
const
OUString
ScDPCache
::
GetDimensionName
(
std
::
vector
<
OUString
>
::
size_type
nDim
)
const
{
{
OSL_ENSURE
(
nDim
<
maLabelNames
.
size
()
-
1
,
"ScDPTableDataCache::GetDimensionName"
);
OSL_ENSURE
(
nDim
<
maLabelNames
.
size
()
-
1
,
"ScDPTableDataCache::GetDimensionName"
);
OSL_ENSURE
(
maLabelNames
.
size
()
==
static_cast
<
sal_uInt16
>
(
mnColumnCount
+
1
),
"ScDPTableDataCache::GetDimensionName"
);
OSL_ENSURE
(
maLabelNames
.
size
()
==
static_cast
<
sal_uInt16
>
(
mnColumnCount
+
1
),
"ScDPTableDataCache::GetDimensionName"
);
...
...
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