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
4ec43284
Kaydet (Commit)
4ec43284
authored
Tem 23, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove CalcAbsIfRel() since nobody uses this anymore.
Change-Id: Ie52e83b9e476b822e878488e231d60d0ce196cf4
üst
194e9f9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
refdata.hxx
sc/inc/refdata.hxx
+0
-3
refdata.cxx
sc/source/core/tool/refdata.cxx
+0
-24
No files found.
sc/inc/refdata.hxx
Dosyayı görüntüle @
4ec43284
...
...
@@ -89,7 +89,6 @@ struct SC_DLLPUBLIC ScSingleRefData
SCTAB
GetTab
()
const
;
void
CalcRelFromAbs
(
const
ScAddress
&
rPos
);
void
CalcAbsIfRel
(
const
ScAddress
&
rPos
);
bool
operator
==
(
const
ScSingleRefData
&
)
const
;
bool
operator
!=
(
const
ScSingleRefData
&
)
const
;
...
...
@@ -161,8 +160,6 @@ struct ScComplexRefData
}
inline
void
CalcRelFromAbs
(
const
ScAddress
&
rPos
)
{
Ref1
.
CalcRelFromAbs
(
rPos
);
Ref2
.
CalcRelFromAbs
(
rPos
);
}
inline
void
CalcAbsIfRel
(
const
ScAddress
&
rPos
)
{
Ref1
.
CalcAbsIfRel
(
rPos
);
Ref2
.
CalcAbsIfRel
(
rPos
);
}
inline
bool
IsDeleted
()
const
{
return
Ref1
.
IsDeleted
()
||
Ref2
.
IsDeleted
();
}
inline
bool
Valid
()
const
...
...
sc/source/core/tool/refdata.cxx
Dosyayı görüntüle @
4ec43284
...
...
@@ -120,30 +120,6 @@ SCTAB ScSingleRefData::GetTab() const
return
Flags
.
bTabRel
?
nRelTab
:
nTab
;
}
void
ScSingleRefData
::
CalcAbsIfRel
(
const
ScAddress
&
rPos
)
{
if
(
Flags
.
bColRel
)
{
nCol
=
nRelCol
+
rPos
.
Col
();
if
(
!
ValidCol
(
nCol
)
)
Flags
.
bColDeleted
=
sal_True
;
}
if
(
Flags
.
bRowRel
)
{
nRow
=
nRelRow
+
rPos
.
Row
();
if
(
!
ValidRow
(
nRow
)
)
Flags
.
bRowDeleted
=
sal_True
;
}
if
(
Flags
.
bTabRel
)
{
nTab
=
nRelTab
+
rPos
.
Tab
();
if
(
!
ValidTab
(
nTab
)
)
Flags
.
bTabDeleted
=
sal_True
;
}
}
bool
ScSingleRefData
::
operator
==
(
const
ScSingleRefData
&
r
)
const
{
return
mnFlagValue
==
r
.
mnFlagValue
&&
...
...
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