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
e3ebacf3
Kaydet (Commit)
e3ebacf3
authored
Mar 07, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
These functions are no longer used.
üst
7d53e6da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
29 deletions
+1
-29
dpgroup.cxx
sc/source/core/data/dpgroup.cxx
+1
-29
No files found.
sc/source/core/data/dpgroup.cxx
Dosyayı görüntüle @
e3ebacf3
...
...
@@ -144,41 +144,13 @@ sal_Bool lcl_Search( SCCOL nSourceDim, const ScDPCache* pCache , const std::vect
return
bFound
;
}
void
lcl_Insert
(
SCCOL
nSourceDim
,
const
ScDPCache
*
pCache
,
std
::
vector
<
SCROW
>&
vIdx
,
SCROW
nNew
)
void
lcl_Insert
(
SCCOL
nSourceDim
,
const
ScDPCache
*
pCache
,
std
::
vector
<
SCROW
>&
vIdx
,
SCROW
nNew
)
{
SCROW
nIndex
=
0
;
if
(
!
lcl_Search
(
nSourceDim
,
pCache
,
vIdx
,
nNew
,
nIndex
)
)
vIdx
.
insert
(
vIdx
.
begin
()
+
nIndex
,
nNew
);
}
template
<
bool
bUpdateData
>
SCROW
lcl_InsertValue
(
SCCOL
nSourceDim
,
const
ScDPCache
*
pCache
,
std
::
vector
<
SCROW
>&
vIdx
,
const
ScDPItemData
&
rData
);
template
<>
SCROW
lcl_InsertValue
<
false
>
(
SCCOL
nSourceDim
,
const
ScDPCache
*
pCache
,
std
::
vector
<
SCROW
>&
vIdx
,
const
ScDPItemData
&
rData
)
{
SCROW
nNewID
=
pCache
->
GetAdditionalItemID
(
rData
);
lcl_Insert
(
nSourceDim
,
pCache
,
vIdx
,
nNewID
);
return
nNewID
;
}
template
<>
SCROW
lcl_InsertValue
<
true
>
(
SCCOL
nSourceDim
,
const
ScDPCache
*
pCache
,
std
::
vector
<
SCROW
>&
vIdx
,
const
ScDPItemData
&
rData
)
{
SCROW
nItemId
=
lcl_InsertValue
<
false
>
(
nSourceDim
,
pCache
,
vIdx
,
rData
);
if
(
const
ScDPItemData
*
pData
=
pCache
->
GetItemDataById
(
nSourceDim
,
nItemId
)
)
const_cast
<
ScDPItemData
&>
(
*
pData
)
=
rData
;
return
nItemId
;
}
template
<
bool
bUpdateData
>
void
lcl_InsertValue
(
SCCOL
nSourceDim
,
const
ScDPCache
*
pCache
,
std
::
vector
<
SCROW
>&
vIdx
,
const
String
&
rString
,
const
double
&
fValue
)
{
lcl_InsertValue
<
bUpdateData
>
(
nSourceDim
,
pCache
,
vIdx
,
ScDPItemData
(
fValue
));
}
void
lcl_AppendDateStr
(
rtl
::
OUStringBuffer
&
rBuffer
,
double
fValue
,
SvNumberFormatter
*
pFormatter
)
{
sal_uLong
nFormat
=
pFormatter
->
GetStandardFormat
(
NUMBERFORMAT_DATE
,
ScGlobal
::
eLnge
);
...
...
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