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
6aeed3c9
Kaydet (Commit)
6aeed3c9
authored
Mar 13, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Re-added ClearSource() which will only clear the source. Nothing else.
üst
49cb939d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
+16
-7
dpobject.hxx
sc/inc/dpobject.hxx
+5
-2
dpobject.cxx
sc/source/core/data/dpobject.cxx
+10
-4
dbfunc3.cxx
sc/source/ui/view/dbfunc3.cxx
+1
-1
No files found.
sc/inc/dpobject.hxx
Dosyayı görüntüle @
6aeed3c9
...
...
@@ -114,8 +114,11 @@ private:
SC_DLLPRIVATE
ScDPTableData
*
GetTableData
();
SC_DLLPRIVATE
void
CreateObjects
();
SC_DLLPRIVATE
void
CreateOutput
();
bool
FillLabelDataForDimension
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XIndexAccess
>&
xDims
,
sal_Int32
nDim
,
ScDPLabelData
&
rLabelData
);
SC_DLLPRIVATE
void
ClearSource
();
SC_DLLPRIVATE
bool
FillLabelDataForDimension
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XIndexAccess
>&
xDims
,
sal_Int32
nDim
,
ScDPLabelData
&
rLabelData
);
public
:
ScDPObject
(
ScDocument
*
pD
);
...
...
sc/source/core/data/dpobject.cxx
Dosyayı görüntüle @
6aeed3c9
...
...
@@ -543,9 +543,18 @@ void ScDPObject::InvalidateData()
}
void
ScDPObject
::
ClearTableData
()
{
ClearSource
();
if
(
mpTableData
)
mpTableData
->
GetCacheTable
().
getCache
()
->
RemoveReference
(
this
);
mpTableData
.
reset
();
}
void
ScDPObject
::
ClearSource
()
{
Reference
<
XComponent
>
xObjectComp
(
xSource
,
UNO_QUERY
);
if
(
xObjectComp
.
is
()
)
if
(
xObjectComp
.
is
()
)
{
try
{
...
...
@@ -557,9 +566,6 @@ void ScDPObject::ClearTableData()
}
}
xSource
=
NULL
;
if
(
mpTableData
)
mpTableData
->
GetCacheTable
().
getCache
()
->
RemoveReference
(
this
);
mpTableData
.
reset
();
}
ScRange
ScDPObject
::
GetNewOutputRange
(
bool
&
rOverflow
)
...
...
sc/source/ui/view/dbfunc3.cxx
Dosyayı görüntüle @
6aeed3c9
...
...
@@ -1150,7 +1150,7 @@ void ScDBFunc::GroupDataPilot()
ScDPDimensionSaveData
*
pDimData
=
aData
.
GetDimensionData
();
// created if not there
// find original base
String
aBaseDimName
(
aDimName
)
;
rtl
::
OUString
aBaseDimName
=
aDimName
;
const
ScDPSaveGroupDimension
*
pBaseGroupDim
=
pDimData
->
GetNamedGroupDim
(
aDimName
);
if
(
pBaseGroupDim
)
{
...
...
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