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
75aaa65a
Kaydet (Commit)
75aaa65a
authored
Kas 13, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: rename ObjectSetType to ScDPObject
Change-Id: I64720c2678f702e895c9b91571d98c0059e02a27
üst
a029ab3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
dpcache.hxx
sc/inc/dpcache.hxx
+3
-3
dpcache.cxx
sc/source/core/data/dpcache.cxx
+1
-1
xepivotxml.cxx
sc/source/filter/excel/xepivotxml.cxx
+2
-2
No files found.
sc/inc/dpcache.hxx
Dosyayı görüntüle @
75aaa65a
...
@@ -48,7 +48,7 @@ class SC_DLLPUBLIC ScDPCache : boost::noncopyable
...
@@ -48,7 +48,7 @@ class SC_DLLPUBLIC ScDPCache : boost::noncopyable
public
:
public
:
typedef
std
::
vector
<
ScDPItemData
>
ScDPItemDataVec
;
typedef
std
::
vector
<
ScDPItemData
>
ScDPItemDataVec
;
typedef
std
::
set
<
ScDPObject
*>
ObjectSetType
;
typedef
std
::
set
<
ScDPObject
*>
ScDPObjectSet
;
typedef
std
::
vector
<
OUString
>
LabelsType
;
typedef
std
::
vector
<
OUString
>
LabelsType
;
typedef
std
::
vector
<
SCROW
>
IndexArrayType
;
typedef
std
::
vector
<
SCROW
>
IndexArrayType
;
...
@@ -109,7 +109,7 @@ private:
...
@@ -109,7 +109,7 @@ private:
/**
/**
* All pivot table objects that references this cache.
* All pivot table objects that references this cache.
*/
*/
mutable
ObjectSetType
maRefObjects
;
mutable
ScDPObjectSet
maRefObjects
;
typedef
boost
::
ptr_vector
<
Field
>
FieldsType
;
typedef
boost
::
ptr_vector
<
Field
>
FieldsType
;
typedef
boost
::
ptr_vector
<
GroupItems
>
GroupFieldsType
;
typedef
boost
::
ptr_vector
<
GroupItems
>
GroupFieldsType
;
...
@@ -129,7 +129,7 @@ public:
...
@@ -129,7 +129,7 @@ public:
const
OUString
*
InternString
(
const
OUString
&
rStr
)
const
;
const
OUString
*
InternString
(
const
OUString
&
rStr
)
const
;
void
AddReference
(
ScDPObject
*
pObj
)
const
;
void
AddReference
(
ScDPObject
*
pObj
)
const
;
void
RemoveReference
(
ScDPObject
*
pObj
)
const
;
void
RemoveReference
(
ScDPObject
*
pObj
)
const
;
const
ObjectSetType
&
GetAllReferences
()
const
;
const
ScDPObjectSet
&
GetAllReferences
()
const
;
SCROW
GetIdByItemData
(
long
nDim
,
const
ScDPItemData
&
rItem
)
const
;
SCROW
GetIdByItemData
(
long
nDim
,
const
ScDPItemData
&
rItem
)
const
;
OUString
GetFormattedString
(
long
nDim
,
const
ScDPItemData
&
rItem
)
const
;
OUString
GetFormattedString
(
long
nDim
,
const
ScDPItemData
&
rItem
)
const
;
...
...
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
75aaa65a
...
@@ -930,7 +930,7 @@ void ScDPCache::RemoveReference(ScDPObject* pObj) const
...
@@ -930,7 +930,7 @@ void ScDPCache::RemoveReference(ScDPObject* pObj) const
mpDoc
->
GetDPCollection
()
->
RemoveCache
(
this
);
mpDoc
->
GetDPCollection
()
->
RemoveCache
(
this
);
}
}
const
ScDPCache
::
ObjectSetType
&
ScDPCache
::
GetAllReferences
()
const
const
ScDPCache
::
ScDPObjectSet
&
ScDPCache
::
GetAllReferences
()
const
{
{
return
maRefObjects
;
return
maRefObjects
;
}
}
...
...
sc/source/filter/excel/xepivotxml.cxx
Dosyayı görüntüle @
75aaa65a
...
@@ -316,8 +316,8 @@ void XclExpXmlPivotTableManager::Initialize()
...
@@ -316,8 +316,8 @@ void XclExpXmlPivotTableManager::Initialize()
// Get all pivot objects that reference this cache, and set up an
// Get all pivot objects that reference this cache, and set up an
// object to cache ID mapping.
// object to cache ID mapping.
const
ScDPCache
::
ObjectSetType
&
rRefs
=
pCache
->
GetAllReferences
();
const
ScDPCache
::
ScDPObjectSet
&
rRefs
=
pCache
->
GetAllReferences
();
ScDPCache
::
ObjectSetType
::
const_iterator
it
=
rRefs
.
begin
(),
itEnd
=
rRefs
.
end
();
ScDPCache
::
ScDPObjectSet
::
const_iterator
it
=
rRefs
.
begin
(),
itEnd
=
rRefs
.
end
();
for
(;
it
!=
itEnd
;
++
it
)
for
(;
it
!=
itEnd
;
++
it
)
maCacheIdMap
.
insert
(
CacheIdMapType
::
value_type
(
*
it
,
aCaches
.
size
()
+
1
));
maCacheIdMap
.
insert
(
CacheIdMapType
::
value_type
(
*
it
,
aCaches
.
size
()
+
1
));
...
...
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