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
49cb939d
Kaydet (Commit)
49cb939d
authored
Mar 13, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename ClearSource() to ClearTableData().
üst
b4af9a6a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
12 deletions
+11
-12
dpobject.hxx
sc/inc/dpobject.hxx
+1
-2
ucalc.cxx
sc/qa/unit/ucalc.cxx
+2
-2
dpcache.cxx
sc/source/core/data/dpcache.cxx
+1
-1
dpobject.cxx
sc/source/core/data/dpobject.cxx
+6
-6
dbdocfun.cxx
sc/source/ui/docshell/dbdocfun.cxx
+1
-1
No files found.
sc/inc/dpobject.hxx
Dosyayı görüntüle @
49cb939d
...
...
@@ -133,8 +133,7 @@ public:
void
SetAllowMove
(
bool
bSet
);
void
InvalidateData
();
void
ClearSource
();
void
ClearTableData
();
void
Output
(
const
ScAddress
&
rPos
);
ScRange
GetNewOutputRange
(
bool
&
rOverflow
);
...
...
sc/qa/unit/ucalc.cxx
Dosyayı görüntüle @
49cb939d
...
...
@@ -1358,7 +1358,7 @@ void Test::testPivotTable()
pDPs
->
InsertNewTable
(
pDPObj2
);
aOutRange
=
pDPObj2
->
GetOutRange
();
pDPObj2
->
Clear
Source
();
pDPObj2
->
Clear
TableData
();
pDPObj2
->
Output
(
aOutRange
.
aStart
);
{
// Expected output table content. 0 = empty cell
...
...
@@ -1394,7 +1394,7 @@ void Test::testPivotTable()
CPPUNIT_ASSERT_MESSAGE
(
"Reloading a cache shouldn't remove any cache."
,
pDPs
->
GetSheetCaches
().
size
()
==
1
);
pDPObj2
->
Clear
Source
();
pDPObj2
->
Clear
TableData
();
pDPObj2
->
Output
(
aOutRange
.
aStart
);
{
...
...
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
49cb939d
...
...
@@ -242,7 +242,7 @@ struct ClearObjectSource : std::unary_function<ScDPObject*, void>
{
void
operator
()
(
ScDPObject
*
p
)
const
{
p
->
Clear
Source
();
p
->
Clear
TableData
();
}
};
...
...
sc/source/core/data/dpobject.cxx
Dosyayı görüntüle @
49cb939d
...
...
@@ -213,7 +213,7 @@ ScDPObject::~ScDPObject()
delete
pSheetDesc
;
delete
pImpDesc
;
delete
pServDesc
;
Clear
Source
();
Clear
TableData
();
}
void
ScDPObject
::
EnableGetPivotData
(
bool
b
)
...
...
@@ -282,7 +282,7 @@ void ScDPObject::SetSheetDesc(const ScSheetSourceDesc& rDesc)
aParam
.
bHasHeader
=
true
;
pSheetDesc
->
SetQueryParam
(
aParam
);
Clear
Source
();
// new source must be created
Clear
TableData
();
// new source must be created
}
void
ScDPObject
::
SetImportDesc
(
const
ScImportSourceDesc
&
rDesc
)
...
...
@@ -296,7 +296,7 @@ void ScDPObject::SetImportDesc(const ScImportSourceDesc& rDesc)
delete
pImpDesc
;
pImpDesc
=
new
ScImportSourceDesc
(
rDesc
);
Clear
Source
();
// new source must be created
Clear
TableData
();
// new source must be created
}
void
ScDPObject
::
SetServiceData
(
const
ScDPServiceDesc
&
rDesc
)
...
...
@@ -310,7 +310,7 @@ void ScDPObject::SetServiceData(const ScDPServiceDesc& rDesc)
delete
pServDesc
;
pServDesc
=
new
ScDPServiceDesc
(
rDesc
);
Clear
Source
();
// new source must be created
Clear
TableData
();
// new source must be created
}
void
ScDPObject
::
WriteSourceDataTo
(
ScDPObject
&
rDest
)
const
...
...
@@ -485,7 +485,7 @@ void ScDPObject::CreateObjects()
{
// if groups are involved, create a new source with the ScDPGroupTableData
if
(
bSettingsChanged
&&
pSaveData
&&
pSaveData
->
GetExistingDimensionData
()
)
Clear
Source
();
Clear
TableData
();
if
(
!
xSource
.
is
())
{
...
...
@@ -542,7 +542,7 @@ void ScDPObject::InvalidateData()
bSettingsChanged
=
true
;
}
void
ScDPObject
::
Clear
Source
()
void
ScDPObject
::
Clear
TableData
()
{
Reference
<
XComponent
>
xObjectComp
(
xSource
,
UNO_QUERY
);
if
(
xObjectComp
.
is
()
)
...
...
sc/source/ui/docshell/dbdocfun.cxx
Dosyayı görüntüle @
49cb939d
...
...
@@ -1324,7 +1324,7 @@ bool ScDBDocFunc::DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewOb
// (and re-read column entry collections)
// so all changes take effect
if
(
pNewObj
==
pOldObj
&&
pDestObj
->
IsImportData
()
)
pDestObj
->
Clear
Source
();
pDestObj
->
Clear
TableData
();
pDestObj
->
InvalidateData
();
// before getting the new output area
...
...
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