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
ff0e6c53
Kaydet (Commit)
ff0e6c53
authored
Eyl 14, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix the order of template arguments.
Change-Id: Ibcc54168a6ca36cc57dd1b838e002f9a10ff29f3
üst
cbc44df6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
rangelst.cxx
sc/source/core/tool/rangelst.cxx
+9
-9
No files found.
sc/source/core/tool/rangelst.cxx
Dosyayı görüntüle @
ff0e6c53
...
@@ -48,7 +48,7 @@ using ::formula::FormulaGrammar;
...
@@ -48,7 +48,7 @@ using ::formula::FormulaGrammar;
namespace
{
namespace
{
template
<
typename
T
>
template
<
typename
T
>
class
FindEnclosingRange
:
public
::
std
::
unary_function
<
bool
,
ScRange
*
>
class
FindEnclosingRange
:
public
::
std
::
unary_function
<
ScRange
*
,
bool
>
{
{
public
:
public
:
FindEnclosingRange
(
const
T
&
rTest
)
:
mrTest
(
rTest
)
{}
FindEnclosingRange
(
const
T
&
rTest
)
:
mrTest
(
rTest
)
{}
...
@@ -62,7 +62,7 @@ private:
...
@@ -62,7 +62,7 @@ private:
};
};
template
<
typename
T
>
template
<
typename
T
>
class
FindRangeIn
:
public
::
std
::
unary_function
<
bool
,
ScRange
*
>
class
FindRangeIn
:
public
::
std
::
unary_function
<
ScRange
*
,
bool
>
{
{
public
:
public
:
FindRangeIn
(
const
T
&
rTest
)
:
mrTest
(
rTest
)
{}
FindRangeIn
(
const
T
&
rTest
)
:
mrTest
(
rTest
)
{}
...
@@ -76,7 +76,7 @@ private:
...
@@ -76,7 +76,7 @@ private:
};
};
template
<
typename
T
>
template
<
typename
T
>
class
FindIntersectingRange
:
public
::
std
::
unary_function
<
bool
,
ScRange
*
>
class
FindIntersectingRange
:
public
::
std
::
unary_function
<
ScRange
*
,
bool
>
{
{
public
:
public
:
FindIntersectingRange
(
const
T
&
rTest
)
:
mrTest
(
rTest
)
{}
FindIntersectingRange
(
const
T
&
rTest
)
:
mrTest
(
rTest
)
{}
...
@@ -89,7 +89,7 @@ private:
...
@@ -89,7 +89,7 @@ private:
const
T
&
mrTest
;
const
T
&
mrTest
;
};
};
class
AppendToList
:
public
::
std
::
unary_function
<
void
,
const
ScRange
*
>
class
AppendToList
:
public
::
std
::
unary_function
<
const
ScRange
*
,
void
>
{
{
public
:
public
:
AppendToList
(
vector
<
ScRange
*>&
rRanges
)
:
mrRanges
(
rRanges
)
{}
AppendToList
(
vector
<
ScRange
*>&
rRanges
)
:
mrRanges
(
rRanges
)
{}
...
@@ -102,7 +102,7 @@ private:
...
@@ -102,7 +102,7 @@ private:
vector
<
ScRange
*>&
mrRanges
;
vector
<
ScRange
*>&
mrRanges
;
};
};
class
CountCells
:
public
::
std
::
unary_function
<
void
,
const
ScRange
*
>
class
CountCells
:
public
::
std
::
unary_function
<
const
ScRange
*
,
void
>
{
{
public
:
public
:
CountCells
()
:
mnCellCount
(
0
)
{}
CountCells
()
:
mnCellCount
(
0
)
{}
...
@@ -122,7 +122,7 @@ private:
...
@@ -122,7 +122,7 @@ private:
size_t
mnCellCount
;
size_t
mnCellCount
;
};
};
class
FormatString
:
public
::
std
::
unary_function
<
void
,
const
ScRange
*
>
class
FormatString
:
public
::
std
::
unary_function
<
const
ScRange
*
,
void
>
{
{
public
:
public
:
FormatString
(
String
&
rStr
,
sal_uInt16
nFlags
,
ScDocument
*
pDoc
,
FormulaGrammar
::
AddressConvention
eConv
,
sal_Unicode
cDelim
)
:
FormatString
(
String
&
rStr
,
sal_uInt16
nFlags
,
ScDocument
*
pDoc
,
FormulaGrammar
::
AddressConvention
eConv
,
sal_Unicode
cDelim
)
:
...
@@ -160,15 +160,15 @@ private:
...
@@ -160,15 +160,15 @@ private:
bool
mbFirst
;
bool
mbFirst
;
};
};
class
FindDeletedRange
:
public
::
std
::
unary_function
<
bool
,
const
ScRange
*
>
class
FindDeletedRange
:
public
::
std
::
unary_function
<
const
ScRange
*
,
bool
>
{
{
public
:
public
:
FindDeletedRange
(
SCsCOL
nDx
,
SCsROW
nDy
)
:
mnDx
(
nDx
),
mnDy
(
nDy
)
{}
FindDeletedRange
(
SCsCOL
nDx
,
SCsROW
nDy
)
:
mnDx
(
nDx
),
mnDy
(
nDy
)
{}
FindDeletedRange
(
const
FindDeletedRange
&
r
)
:
mnDx
(
r
.
mnDx
),
mnDy
(
r
.
mnDy
)
{}
FindDeletedRange
(
const
FindDeletedRange
&
r
)
:
mnDx
(
r
.
mnDx
),
mnDy
(
r
.
mnDy
)
{}
bool
operator
()
(
const
ScRange
*
p
)
bool
operator
()
(
const
ScRange
*
p
)
{
{
ScAddress
rStart
=
p
->
aStart
;
const
ScAddress
&
rStart
=
p
->
aStart
;
ScAddress
rEnd
=
p
->
aEnd
;
const
ScAddress
&
rEnd
=
p
->
aEnd
;
if
(
rEnd
.
Col
()
+
mnDx
<
rStart
.
Col
()
)
if
(
rEnd
.
Col
()
+
mnDx
<
rStart
.
Col
()
)
return
true
;
return
true
;
...
...
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