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
33a417fc
Kaydet (Commit)
33a417fc
authored
Haz 21, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused method.
Change-Id: Id49307f8b7050e1f95cd589421f01a85b4e992b2
üst
91f7e9e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
+0
-42
column.hxx
sc/inc/column.hxx
+0
-6
column.cxx
sc/source/core/data/column.cxx
+0
-36
No files found.
sc/inc/column.hxx
Dosyayı görüntüle @
33a417fc
...
...
@@ -489,12 +489,6 @@ private:
void
ResetCellTextAttrs
();
void
SwapCellTextAttrs
(
SCROW
nRow1
,
SCROW
nRow2
);
/**
* Retrieve the cell value and set that slot empty. The ownership of that
* cell value moves to the returned cell value object.
*/
void
ReleaseCellValue
(
sc
::
CellStoreType
::
iterator
&
itPos
,
SCROW
nRow
,
ScCellValue
&
rVal
);
};
#endif
...
...
sc/source/core/data/column.cxx
Dosyayı görüntüle @
33a417fc
...
...
@@ -806,42 +806,6 @@ ScRefCellValue ScColumn::GetCellValue( sc::CellStoreType::const_iterator& itPos,
return
aVal
;
}
void
ScColumn
::
ReleaseCellValue
(
sc
::
CellStoreType
::
iterator
&
itPos
,
SCROW
nRow
,
ScCellValue
&
rVal
)
{
std
::
pair
<
sc
::
CellStoreType
::
iterator
,
size_t
>
aPos
=
maCells
.
position
(
itPos
,
nRow
);
itPos
=
aPos
.
first
;
// Store it for the next iteration.
if
(
aPos
.
first
==
maCells
.
end
())
return
;
switch
(
itPos
->
type
)
{
case
sc
:
:
element_type_numeric
:
// Numeric cell
itPos
=
maCells
.
release
(
itPos
,
nRow
,
rVal
.
mfValue
);
rVal
.
meType
=
CELLTYPE_VALUE
;
break
;
case
sc
:
:
element_type_string
:
{
// Make a copy until we implement shared strings...
OUString
aStr
;
itPos
=
maCells
.
release
(
itPos
,
nRow
,
aStr
);
rVal
.
mpString
=
new
OUString
(
aStr
);
rVal
.
meType
=
CELLTYPE_STRING
;
}
break
;
case
sc
:
:
element_type_edittext
:
itPos
=
maCells
.
release
(
itPos
,
nRow
,
rVal
.
mpEditText
);
rVal
.
meType
=
CELLTYPE_EDIT
;
break
;
case
sc
:
:
element_type_formula
:
itPos
=
maCells
.
release
(
itPos
,
nRow
,
rVal
.
mpFormula
);
rVal
.
meType
=
CELLTYPE_FORMULA
;
break
;
default
:
;
}
}
namespace
{
ScFormulaCell
*
cloneFormulaCell
(
ScDocument
*
pDoc
,
const
ScAddress
&
rNewPos
,
ScFormulaCell
&
rOldCell
)
...
...
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