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
e1bb54d7
Kaydet (Commit)
e1bb54d7
authored
Şub 10, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
String to rtl::OUString.
üst
bc99c90e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
17 deletions
+17
-17
dpgroup.hxx
sc/inc/dpgroup.hxx
+2
-2
dpsdbtab.hxx
sc/inc/dpsdbtab.hxx
+1
-1
dpshttab.hxx
sc/inc/dpshttab.hxx
+1
-1
dptabdat.hxx
sc/inc/dptabdat.hxx
+1
-1
dpgroup.cxx
sc/source/core/data/dpgroup.cxx
+4
-4
dpsdbtab.cxx
sc/source/core/data/dpsdbtab.cxx
+2
-2
dpshttab.cxx
sc/source/core/data/dpshttab.cxx
+3
-3
dptabsrc.cxx
sc/source/core/data/dptabsrc.cxx
+3
-3
No files found.
sc/inc/dpgroup.hxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -198,7 +198,7 @@ public:
void
AddGroupDimension
(
const
ScDPGroupDimension
&
rGroup
);
void
SetNumGroupDimension
(
long
nIndex
,
const
ScDPNumGroupDimension
&
rGroup
);
long
GetDimensionIndex
(
const
String
&
rName
);
long
GetDimensionIndex
(
const
rtl
::
OU
String
&
rName
);
ScDocument
*
GetDocument
()
{
return
pDoc
;
}
...
...
@@ -208,7 +208,7 @@ public:
virtual
const
ScDPItemData
*
GetMemberById
(
long
nDim
,
long
nId
);
virtual
long
Compare
(
long
nDim
,
long
nDataId1
,
long
nDataId2
);
virtual
String
getDimensionName
(
long
nColumn
);
virtual
rtl
::
OUString
getDimensionName
(
long
nColumn
);
virtual
sal_Bool
getIsDataLayoutDimension
(
long
nColumn
);
virtual
sal_Bool
IsDateDimension
(
long
nDim
);
virtual
sal_uLong
GetNumberFormat
(
long
nDim
);
...
...
sc/inc/dpsdbtab.hxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -74,7 +74,7 @@ public:
virtual
~
ScDatabaseDPData
();
virtual
long
GetColumnCount
();
virtual
String
getDimensionName
(
long
nColumn
);
virtual
rtl
::
OUString
getDimensionName
(
long
nColumn
);
virtual
sal_Bool
getIsDataLayoutDimension
(
long
nColumn
);
virtual
sal_Bool
IsDateDimension
(
long
nDim
);
virtual
void
DisposeData
();
...
...
sc/inc/dpshttab.hxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -113,7 +113,7 @@ public:
virtual
~
ScSheetDPData
();
virtual
long
GetColumnCount
();
virtual
String
getDimensionName
(
long
nColumn
);
virtual
rtl
::
OUString
getDimensionName
(
long
nColumn
);
virtual
sal_Bool
getIsDataLayoutDimension
(
long
nColumn
);
virtual
sal_Bool
IsDateDimension
(
long
nDim
);
virtual
sal_uLong
GetNumberFormat
(
long
nDim
);
...
...
sc/inc/dptabdat.hxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -135,7 +135,7 @@ public:
virtual
long
GetColumnCount
()
=
0
;
virtual
const
std
::
vector
<
SCROW
>&
GetColumnEntries
(
long
nColumn
)
;
virtual
String
getDimensionName
(
long
nColumn
)
=
0
;
virtual
rtl
::
OUString
getDimensionName
(
long
nColumn
)
=
0
;
virtual
sal_Bool
getIsDataLayoutDimension
(
long
nColumn
)
=
0
;
virtual
sal_Bool
IsDateDimension
(
long
nDim
)
=
0
;
virtual
sal_uLong
GetNumberFormat
(
long
nDim
);
...
...
sc/source/core/data/dpgroup.cxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -1039,10 +1039,10 @@ void ScDPGroupTableData::SetNumGroupDimension( long nIndex, const ScDPNumGroupDi
}
}
long
ScDPGroupTableData
::
GetDimensionIndex
(
const
String
&
rName
)
long
ScDPGroupTableData
::
GetDimensionIndex
(
const
rtl
::
OU
String
&
rName
)
{
for
(
long
i
=
0
;
i
<
nSourceCount
;
i
++
)
// nSourceCount excludes data layout
if
(
pSourceData
->
getDimensionName
(
i
)
==
rName
)
//! ignore case?
for
(
long
i
=
0
;
i
<
nSourceCount
;
++
i
)
// nSourceCount excludes data layout
if
(
pSourceData
->
getDimensionName
(
i
).
equals
(
rName
)
)
//! ignore case?
return
i
;
return
-
1
;
// none
}
...
...
@@ -1113,7 +1113,7 @@ const ScDPItemData* ScDPGroupTableData::GetMemberById( long nDim, long nId )
return
pSourceData
->
GetMemberById
(
nDim
,
nId
);
}
String
ScDPGroupTableData
::
getDimensionName
(
long
nColumn
)
rtl
::
OU
String
ScDPGroupTableData
::
getDimensionName
(
long
nColumn
)
{
if
(
nColumn
>=
nSourceCount
)
{
...
...
sc/source/core/data/dpsdbtab.cxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -101,7 +101,7 @@ long ScDatabaseDPData::GetColumnCount()
}
String
ScDatabaseDPData
::
getDimensionName
(
long
nColumn
)
rtl
::
OU
String
ScDatabaseDPData
::
getDimensionName
(
long
nColumn
)
{
if
(
getIsDataLayoutDimension
(
nColumn
))
{
...
...
@@ -111,7 +111,7 @@ String ScDatabaseDPData::getDimensionName(long nColumn)
}
CreateCacheTable
();
return
aCacheTable
.
getFieldName
(
(
SCCOL
)
nColumn
);
return
aCacheTable
.
getFieldName
(
static_cast
<
SCCOL
>
(
nColumn
)
);
}
sal_Bool
ScDatabaseDPData
::
getIsDataLayoutDimension
(
long
nColumn
)
...
...
sc/source/core/data/dpshttab.cxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -97,7 +97,7 @@ long ScSheetDPData::GetColumnCount()
return
aCacheTable
.
getColSize
();
}
String
ScSheetDPData
::
getDimensionName
(
long
nColumn
)
rtl
::
OU
String
ScSheetDPData
::
getDimensionName
(
long
nColumn
)
{
CreateCacheTable
();
if
(
getIsDataLayoutDimension
(
nColumn
))
...
...
@@ -109,11 +109,11 @@ String ScSheetDPData::getDimensionName(long nColumn)
else
if
(
nColumn
>=
aCacheTable
.
getColSize
())
{
OSL_FAIL
(
"getDimensionName: invalid dimension"
);
return
String
();
return
rtl
::
OU
String
();
}
else
{
return
aCacheTable
.
getFieldName
((
SCCOL
)
nColumn
);
return
aCacheTable
.
getFieldName
(
static_cast
<
SCCOL
>
(
nColumn
)
);
}
}
...
...
sc/source/core/data/dptabsrc.cxx
Dosyayı görüntüle @
e1bb54d7
...
...
@@ -450,10 +450,10 @@ Sequence< Sequence<Any> > SAL_CALL ScDPSource::getDrillDownData(const Sequence<s
for
(
sal_Int32
i
=
0
;
i
<
nFilterCount
;
++
i
)
{
const
sheet
::
DataPilotFieldFilter
&
rFilter
=
aFilters
[
i
];
String
aFieldName
(
rFilter
.
FieldName
)
;
const
rtl
::
OUString
&
aFieldName
=
rFilter
.
FieldName
;
for
(
long
nCol
=
0
;
nCol
<
nColumnCount
;
++
nCol
)
{
if
(
aFieldName
==
pData
->
getDimensionName
(
nCol
)
)
if
(
aFieldName
.
equals
(
pData
->
getDimensionName
(
nCol
))
)
{
ScDPDimension
*
pDim
=
GetDimensionsObject
()
->
getByIndex
(
nCol
);
ScDPMembers
*
pMembers
=
pDim
->
GetHierarchiesObject
()
->
getByIndex
(
0
)
->
...
...
@@ -473,7 +473,7 @@ Sequence< Sequence<Any> > SAL_CALL ScDPSource::getDrillDownData(const Sequence<s
}
// Take into account the visibilities of field members.
ScDPResultVisibilityData
aResVisData
(
/*rSharedString, */
this
);
ScDPResultVisibilityData
aResVisData
(
this
);
pRowResRoot
->
FillVisibilityData
(
aResVisData
);
pColResRoot
->
FillVisibilityData
(
aResVisData
);
aResVisData
.
fillFieldFilters
(
aFilterCriteria
);
...
...
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