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
73ab2864
Kaydet (Commit)
73ab2864
authored
Mar 22, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Why in the world do you need to fully-qualify own member methods !?
Change-Id: Iaaafa2d3c214f83f9c48edd80da20da34f30358c
üst
62a2e5c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
chgtrack.cxx
sc/source/core/tool/chgtrack.cxx
+10
-12
No files found.
sc/source/core/tool/chgtrack.cxx
Dosyayı görüntüle @
73ab2864
...
@@ -1432,16 +1432,14 @@ ScChangeActionLinkEntry** ScChangeActionContent::GetDeletedInAddress()
...
@@ -1432,16 +1432,14 @@ ScChangeActionLinkEntry** ScChangeActionContent::GetDeletedInAddress()
void
ScChangeActionContent
::
SetOldValue
(
const
ScBaseCell
*
pCell
,
void
ScChangeActionContent
::
SetOldValue
(
const
ScBaseCell
*
pCell
,
const
ScDocument
*
pFromDoc
,
ScDocument
*
pToDoc
,
sal_uLong
nFormat
)
const
ScDocument
*
pFromDoc
,
ScDocument
*
pToDoc
,
sal_uLong
nFormat
)
{
{
ScChangeActionContent
::
SetValue
(
aOldValue
,
pOldCell
,
SetValue
(
aOldValue
,
pOldCell
,
nFormat
,
pCell
,
pFromDoc
,
pToDoc
);
nFormat
,
pCell
,
pFromDoc
,
pToDoc
);
}
}
void
ScChangeActionContent
::
SetOldValue
(
const
ScBaseCell
*
pCell
,
void
ScChangeActionContent
::
SetOldValue
(
const
ScBaseCell
*
pCell
,
const
ScDocument
*
pFromDoc
,
ScDocument
*
pToDoc
)
const
ScDocument
*
pFromDoc
,
ScDocument
*
pToDoc
)
{
{
ScChangeActionContent
::
SetValue
(
aOldValue
,
pOldCell
,
SetValue
(
aOldValue
,
pOldCell
,
aBigRange
.
aStart
.
MakeAddress
(),
pCell
,
pFromDoc
,
pToDoc
);
aBigRange
.
aStart
.
MakeAddress
(),
pCell
,
pFromDoc
,
pToDoc
);
}
}
...
@@ -1459,8 +1457,8 @@ void ScChangeActionContent::SetOldNewCells( ScBaseCell* pOldCellP,
...
@@ -1459,8 +1457,8 @@ void ScChangeActionContent::SetOldNewCells( ScBaseCell* pOldCellP,
{
{
pOldCell
=
pOldCellP
;
pOldCell
=
pOldCellP
;
pNewCell
=
pNewCellP
;
pNewCell
=
pNewCellP
;
S
cChangeActionContent
::
S
etCell
(
aOldValue
,
pOldCell
,
nOldFormat
,
pDoc
);
SetCell
(
aOldValue
,
pOldCell
,
nOldFormat
,
pDoc
);
S
cChangeActionContent
::
S
etCell
(
aNewValue
,
pNewCell
,
nNewFormat
,
pDoc
);
SetCell
(
aNewValue
,
pNewCell
,
nNewFormat
,
pDoc
);
}
}
void
ScChangeActionContent
::
SetNewCell
(
void
ScChangeActionContent
::
SetNewCell
(
...
@@ -1468,7 +1466,7 @@ void ScChangeActionContent::SetNewCell(
...
@@ -1468,7 +1466,7 @@ void ScChangeActionContent::SetNewCell(
{
{
OSL_ENSURE
(
!
pNewCell
,
"ScChangeActionContent::SetNewCell: overwriting existing cell"
);
OSL_ENSURE
(
!
pNewCell
,
"ScChangeActionContent::SetNewCell: overwriting existing cell"
);
pNewCell
=
pCell
;
pNewCell
=
pCell
;
S
cChangeActionContent
::
S
etCell
(
aNewValue
,
pNewCell
,
0
,
pDoc
);
SetCell
(
aNewValue
,
pNewCell
,
0
,
pDoc
);
// #i40704# allow to set formatted text here - don't call SetNewValue with string from XML filter
// #i40704# allow to set formatted text here - don't call SetNewValue with string from XML filter
if
(
!
rFormatted
.
isEmpty
())
if
(
!
rFormatted
.
isEmpty
())
...
@@ -1567,7 +1565,7 @@ void ScChangeActionContent::GetRefString(
...
@@ -1567,7 +1565,7 @@ void ScChangeActionContent::GetRefString(
if
(
nFlags
)
if
(
nFlags
)
{
{
const
ScBaseCell
*
pCell
=
GetNewCell
();
const
ScBaseCell
*
pCell
=
GetNewCell
();
if
(
ScChangeActionContent
::
GetContentCellType
(
pCell
)
==
SC_CACCT_MATORG
)
if
(
GetContentCellType
(
pCell
)
==
SC_CACCT_MATORG
)
{
{
ScBigRange
aLocalBigRange
(
GetBigRange
()
);
ScBigRange
aLocalBigRange
(
GetBigRange
()
);
SCCOL
nC
;
SCCOL
nC
;
...
@@ -1681,7 +1679,7 @@ void ScChangeActionContent::GetStringOfCell( rtl::OUString& rStr,
...
@@ -1681,7 +1679,7 @@ void ScChangeActionContent::GetStringOfCell( rtl::OUString& rStr,
{
{
if
(
pCell
)
if
(
pCell
)
{
{
if
(
ScChangeActionContent
::
NeedsNumberFormat
(
pCell
)
)
if
(
NeedsNumberFormat
(
pCell
)
)
GetStringOfCell
(
rStr
,
pCell
,
pDoc
,
pDoc
->
GetNumberFormat
(
rPos
)
);
GetStringOfCell
(
rStr
,
pCell
,
pDoc
,
pDoc
->
GetNumberFormat
(
rPos
)
);
else
else
GetStringOfCell
(
rStr
,
pCell
,
pDoc
,
0
);
GetStringOfCell
(
rStr
,
pCell
,
pDoc
,
0
);
...
@@ -1694,7 +1692,7 @@ void ScChangeActionContent::GetStringOfCell( rtl::OUString& rStr,
...
@@ -1694,7 +1692,7 @@ void ScChangeActionContent::GetStringOfCell( rtl::OUString& rStr,
void
ScChangeActionContent
::
GetStringOfCell
(
rtl
::
OUString
&
rStr
,
void
ScChangeActionContent
::
GetStringOfCell
(
rtl
::
OUString
&
rStr
,
const
ScBaseCell
*
pCell
,
const
ScDocument
*
pDoc
,
sal_uLong
nFormat
)
const
ScBaseCell
*
pCell
,
const
ScDocument
*
pDoc
,
sal_uLong
nFormat
)
{
{
if
(
ScChangeActionContent
::
GetContentCellType
(
pCell
)
)
if
(
GetContentCellType
(
pCell
)
)
{
{
switch
(
pCell
->
GetCellType
()
)
switch
(
pCell
->
GetCellType
()
)
{
{
...
@@ -1779,7 +1777,7 @@ void ScChangeActionContent::SetValue(
...
@@ -1779,7 +1777,7 @@ void ScChangeActionContent::SetValue(
rStr
=
rtl
::
OUString
();
rStr
=
rtl
::
OUString
();
if
(
pCell
)
if
(
pCell
)
pCell
->
Delete
();
pCell
->
Delete
();
if
(
ScChangeActionContent
::
GetContentCellType
(
pOrgCell
)
)
if
(
GetContentCellType
(
pOrgCell
)
)
{
{
pCell
=
pOrgCell
->
Clone
(
*
pToDoc
);
pCell
=
pOrgCell
->
Clone
(
*
pToDoc
);
switch
(
pOrgCell
->
GetCellType
()
)
switch
(
pOrgCell
->
GetCellType
()
)
...
@@ -1916,7 +1914,7 @@ void ScChangeActionContent::PutValueToDoc(
...
@@ -1916,7 +1914,7 @@ void ScChangeActionContent::PutValueToDoc(
pDoc
->
SetString
(
aPos
.
Col
(),
aPos
.
Row
(),
aPos
.
Tab
(),
rValue
);
pDoc
->
SetString
(
aPos
.
Col
(),
aPos
.
Row
(),
aPos
.
Tab
(),
rValue
);
break
;
break
;
default
:
default
:
switch
(
ScChangeActionContent
::
GetContentCellType
(
pCell
)
)
switch
(
GetContentCellType
(
pCell
)
)
{
{
case
SC_CACCT_MATORG
:
case
SC_CACCT_MATORG
:
{
{
...
...
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