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
f96c760b
Kaydet (Commit)
f96c760b
authored
Mar 07, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More scope reduction.
üst
dcf9b304
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
dpgroup.cxx
sc/source/core/data/dpgroup.cxx
+7
-6
No files found.
sc/source/core/data/dpgroup.cxx
Dosyayı görüntüle @
f96c760b
...
...
@@ -874,13 +874,14 @@ const std::vector<SCROW>& ScDPNumGroupDimension::GetNumEntries(
if
(
!
maMemberEntries
.
empty
())
return
maMemberEntries
;
SvNumberFormatter
*
pFormatter
=
pCache
->
GetDoc
()
->
GetFormatTable
();
if
(
pDateHelper
)
if
(
pDateHelper
)
{
// Grouped by dates.
pDateHelper
->
FillColumnEntries
(
nSourceDim
,
const_cast
<
ScDPCache
*>
(
pCache
),
maMemberEntries
,
rOriginal
);
else
{
return
maMemberEntries
;
}
// Copy textual entries.
// Also look through the source entries for non-integer numbers, minimum and maximum.
// GetNumEntries (GetColumnEntries) must be called before accessing the groups
...
...
@@ -954,6 +955,7 @@ const std::vector<SCROW>& ScDPNumGroupDimension::GetNumEntries(
// The first group has to be created nonetheless. GetNumGroupForValue has corresponding logic.
bool
bFirstGroup
=
true
;
SvNumberFormatter
*
pFormatter
=
pCache
->
GetDoc
()
->
GetFormatTable
();
while
(
bFirstGroup
||
(
fLoop
<
aGroupInfo
.
mfEnd
&&
!
rtl
::
math
::
approxEqual
(
fLoop
,
aGroupInfo
.
mfEnd
)
)
)
{
String
aName
=
lcl_GetNumGroupName
(
fLoop
,
aGroupInfo
,
bHasNonInteger
,
cDecSeparator
,
pFormatter
);
...
...
@@ -974,7 +976,6 @@ const std::vector<SCROW>& ScDPNumGroupDimension::GetNumEntries(
lcl_InsertValue
<
true
>
(
nSourceDim
,
pCache
,
maMemberEntries
,
aLastName
,
aGroupInfo
.
mfEnd
+
aGroupInfo
.
mfStep
);
fprintf
(
stdout
,
"ScDPNumGroupDimension::GetNumEntries: FIXME
\n
"
);
}
return
maMemberEntries
;
}
...
...
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