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
69a290dd
Kaydet (Commit)
69a290dd
authored
May 06, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Explicitly specify less function object for map, to get it to build with MSVC.
üst
a1749730
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
dpobject.hxx
sc/inc/dpobject.hxx
+6
-1
ucalc.cxx
sc/qa/unit/ucalc.cxx
+1
-1
dpobject.cxx
sc/source/core/data/dpobject.cxx
+5
-0
No files found.
sc/inc/dpobject.hxx
Dosyayı görüntüle @
69a290dd
...
@@ -297,6 +297,11 @@ public:
...
@@ -297,6 +297,11 @@ public:
::
rtl
::
OUString
maDBName
;
::
rtl
::
OUString
maDBName
;
::
rtl
::
OUString
maCommand
;
::
rtl
::
OUString
maCommand
;
DBType
(
sal_Int32
nSdbType
,
const
::
rtl
::
OUString
&
rDBName
,
const
::
rtl
::
OUString
&
rCommand
);
DBType
(
sal_Int32
nSdbType
,
const
::
rtl
::
OUString
&
rDBName
,
const
::
rtl
::
OUString
&
rCommand
);
struct
less
:
public
::
std
::
binary_function
<
DBType
,
DBType
,
bool
>
{
bool
operator
()
(
const
DBType
&
left
,
const
DBType
&
right
)
const
;
};
};
};
/**
/**
...
@@ -304,7 +309,7 @@ public:
...
@@ -304,7 +309,7 @@ public:
*/
*/
class
DBCaches
class
DBCaches
{
{
typedef
::
boost
::
ptr_map
<
DBType
,
ScDPCache
>
CachesType
;
typedef
::
boost
::
ptr_map
<
DBType
,
ScDPCache
,
DBType
::
less
>
CachesType
;
CachesType
maCaches
;
CachesType
maCaches
;
ScDocument
*
mpDoc
;
ScDocument
*
mpDoc
;
public
:
public
:
...
...
sc/qa/unit/ucalc.cxx
Dosyayı görüntüle @
69a290dd
...
@@ -798,7 +798,7 @@ ScDPObject* createDPFromRange(
...
@@ -798,7 +798,7 @@ ScDPObject* createDPFromRange(
{
{
OUString
aDimName
(
aFields
[
i
].
pName
,
strlen
(
aFields
[
i
].
pName
),
RTL_TEXTENCODING_UTF8
);
OUString
aDimName
(
aFields
[
i
].
pName
,
strlen
(
aFields
[
i
].
pName
),
RTL_TEXTENCODING_UTF8
);
ScDPSaveDimension
*
pDim
=
aSaveData
.
GetDimensionByName
(
aDimName
);
ScDPSaveDimension
*
pDim
=
aSaveData
.
GetDimensionByName
(
aDimName
);
pDim
->
SetOrientation
(
aFields
[
i
].
eOrient
);
pDim
->
SetOrientation
(
static_cast
<
sal_uInt16
>
(
aFields
[
i
].
eOrient
)
);
pDim
->
SetUsedHierarchy
(
0
);
pDim
->
SetUsedHierarchy
(
0
);
pDim
->
SetShowEmpty
(
true
);
pDim
->
SetShowEmpty
(
true
);
...
...
sc/source/core/data/dpobject.cxx
Dosyayı görüntüle @
69a290dd
...
@@ -2445,6 +2445,11 @@ void ScDPCollection::NameCaches::removeCache(const OUString& rName)
...
@@ -2445,6 +2445,11 @@ void ScDPCollection::NameCaches::removeCache(const OUString& rName)
ScDPCollection
::
DBType
::
DBType
(
sal_Int32
nSdbType
,
const
OUString
&
rDBName
,
const
OUString
&
rCommand
)
:
ScDPCollection
::
DBType
::
DBType
(
sal_Int32
nSdbType
,
const
OUString
&
rDBName
,
const
OUString
&
rCommand
)
:
mnSdbType
(
nSdbType
),
maDBName
(
rDBName
),
maCommand
(
rCommand
)
{}
mnSdbType
(
nSdbType
),
maDBName
(
rDBName
),
maCommand
(
rCommand
)
{}
bool
ScDPCollection
::
DBType
::
less
::
operator
()
(
const
DBType
&
left
,
const
DBType
&
right
)
const
{
return
left
<
right
;
}
ScDPCollection
::
DBCaches
::
DBCaches
(
ScDocument
*
pDoc
)
:
mpDoc
(
pDoc
)
{}
ScDPCollection
::
DBCaches
::
DBCaches
(
ScDocument
*
pDoc
)
:
mpDoc
(
pDoc
)
{}
const
ScDPCache
*
ScDPCollection
::
DBCaches
::
getCache
(
sal_Int32
nSdbType
,
const
OUString
&
rDBName
,
const
OUString
&
rCommand
)
const
ScDPCache
*
ScDPCollection
::
DBCaches
::
getCache
(
sal_Int32
nSdbType
,
const
OUString
&
rDBName
,
const
OUString
&
rCommand
)
...
...
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