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
2f03c362
Kaydet (Commit)
2f03c362
authored
Şub 12, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: If999fe4c29c3948ed60b482930cf6e0f5b1c0ede
üst
013d9b24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
scmatrix.hxx
sc/inc/scmatrix.hxx
+9
-9
interpr1.cxx
sc/source/core/tool/interpr1.cxx
+2
-2
scmatrix.cxx
sc/source/core/tool/scmatrix.cxx
+9
-9
No files found.
sc/inc/scmatrix.hxx
Dosyayı görüntüle @
2f03c362
...
...
@@ -314,31 +314,31 @@ public:
ScMatrixValue
Get
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if string or empty or empty path, in fact non-value.
sal_B
ool
IsString
(
SCSIZE
nIndex
)
const
;
b
ool
IsString
(
SCSIZE
nIndex
)
const
;
/// @return <TRUE/> if string or empty or empty path, in fact non-value.
sal_B
ool
IsString
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
b
ool
IsString
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if empty or empty path.
sal_B
ool
IsEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
b
ool
IsEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if empty path.
sal_B
ool
IsEmptyPath
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
b
ool
IsEmptyPath
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if value or boolean.
sal_B
ool
IsValue
(
SCSIZE
nIndex
)
const
;
b
ool
IsValue
(
SCSIZE
nIndex
)
const
;
/// @return <TRUE/> if value or boolean.
sal_B
ool
IsValue
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
b
ool
IsValue
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if value or boolean or empty or empty path.
sal_B
ool
IsValueOrEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
b
ool
IsValueOrEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if boolean.
sal_B
ool
IsBoolean
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
b
ool
IsBoolean
(
SCSIZE
nC
,
SCSIZE
nR
)
const
;
/// @return <TRUE/> if entire matrix is numeric, including booleans, with no strings or empties
sal_B
ool
IsNumeric
()
const
;
b
ool
IsNumeric
()
const
;
void
MatTrans
(
ScMatrix
&
mRes
)
const
;
void
MatCopy
(
ScMatrix
&
mRes
)
const
;
...
...
sc/source/core/tool/interpr1.cxx
Dosyayı görüntüle @
2f03c362
...
...
@@ -1888,14 +1888,14 @@ void ScInterpreter::ScIsEmpty()
if
(
!
pMat
)
;
// nothing
else
if
(
!
pJumpMatrix
)
nRes = pMat->IsEmpty( 0, 0);
nRes
=
pMat
->
IsEmpty
(
0
,
0
)
?
1
:
0
;
else
{
SCSIZE
nCols
,
nRows
,
nC
,
nR
;
pMat
->
GetDimensions
(
nCols
,
nRows
);
pJumpMatrix
->
GetPos
(
nC
,
nR
);
if
(
nC
<
nCols
&&
nR
<
nRows
)
nRes = pMat->IsEmpty( nC, nR);
nRes
=
pMat
->
IsEmpty
(
nC
,
nR
)
?
1
:
0
;
// else: false, not empty (which is what Xcl does)
}
}
...
...
sc/source/core/tool/scmatrix.cxx
Dosyayı görüntüle @
2f03c362
...
...
@@ -2039,47 +2039,47 @@ ScMatrixValue ScMatrix::Get(SCSIZE nC, SCSIZE nR) const
return
pImpl
->
Get
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsString
(
SCSIZE
nIndex
)
const
b
ool
ScMatrix
::
IsString
(
SCSIZE
nIndex
)
const
{
return
pImpl
->
IsString
(
nIndex
);
}
sal_B
ool
ScMatrix
::
IsString
(
SCSIZE
nC
,
SCSIZE
nR
)
const
b
ool
ScMatrix
::
IsString
(
SCSIZE
nC
,
SCSIZE
nR
)
const
{
return
pImpl
->
IsString
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
b
ool
ScMatrix
::
IsEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
{
return
pImpl
->
IsEmpty
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsEmptyPath
(
SCSIZE
nC
,
SCSIZE
nR
)
const
b
ool
ScMatrix
::
IsEmptyPath
(
SCSIZE
nC
,
SCSIZE
nR
)
const
{
return
pImpl
->
IsEmptyPath
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsValue
(
SCSIZE
nIndex
)
const
b
ool
ScMatrix
::
IsValue
(
SCSIZE
nIndex
)
const
{
return
pImpl
->
IsValue
(
nIndex
);
}
sal_B
ool
ScMatrix
::
IsValue
(
SCSIZE
nC
,
SCSIZE
nR
)
const
b
ool
ScMatrix
::
IsValue
(
SCSIZE
nC
,
SCSIZE
nR
)
const
{
return
pImpl
->
IsValue
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsValueOrEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
b
ool
ScMatrix
::
IsValueOrEmpty
(
SCSIZE
nC
,
SCSIZE
nR
)
const
{
return
pImpl
->
IsValueOrEmpty
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsBoolean
(
SCSIZE
nC
,
SCSIZE
nR
)
const
b
ool
ScMatrix
::
IsBoolean
(
SCSIZE
nC
,
SCSIZE
nR
)
const
{
return
pImpl
->
IsBoolean
(
nC
,
nR
);
}
sal_B
ool
ScMatrix
::
IsNumeric
()
const
b
ool
ScMatrix
::
IsNumeric
()
const
{
return
pImpl
->
IsNumeric
();
}
...
...
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