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
07010b8e
Kaydet (Commit)
07010b8e
authored
Tem 02, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Put the matrix header back in for Windows build...
Change-Id: I676b3d9b702af51bf00dff9ef55d16e7fbdec65e
üst
93a5b7ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
13 deletions
+22
-13
formulacell.hxx
sc/inc/formulacell.hxx
+1
-4
token.hxx
sc/inc/token.hxx
+5
-8
formulacell.cxx
sc/source/core/data/formulacell.cxx
+5
-0
token.cxx
sc/source/core/tool/token.cxx
+11
-1
No files found.
sc/inc/formulacell.hxx
Dosyayı görüntüle @
07010b8e
...
@@ -259,10 +259,7 @@ public:
...
@@ -259,10 +259,7 @@ public:
const
formula
::
FormulaGrammar
::
Grammar
eGrammar
)
const
formula
::
FormulaGrammar
::
Grammar
eGrammar
)
{
aResult
.
SetHybridFormula
(
r
);
eTempGrammar
=
eGrammar
;
}
{
aResult
.
SetHybridFormula
(
r
);
eTempGrammar
=
eGrammar
;
}
void
SetResultMatrix
(
SCCOL
nCols
,
SCROW
nRows
,
const
ScConstMatrixRef
&
pMat
,
formula
::
FormulaToken
*
pUL
)
void
SetResultMatrix
(
SCCOL
nCols
,
SCROW
nRows
,
const
ScConstMatrixRef
&
pMat
,
formula
::
FormulaToken
*
pUL
);
{
aResult
.
SetMatrix
(
nCols
,
nRows
,
pMat
,
pUL
);
}
/** For import only: set a double result.
/** For import only: set a double result.
Use this instead of SetHybridDouble() if there is no (temporary)
Use this instead of SetHybridDouble() if there is no (temporary)
...
...
sc/inc/token.hxx
Dosyayı görüntüle @
07010b8e
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include "scdllapi.h"
#include "scdllapi.h"
#include "formula/IFunctionDescription.hxx"
#include "formula/IFunctionDescription.hxx"
#include "formula/token.hxx"
#include "formula/token.hxx"
#include "
types
.hxx"
#include "
scmatrix
.hxx"
class
ScJumpMatrix
;
class
ScJumpMatrix
;
...
@@ -318,7 +318,7 @@ public:
...
@@ -318,7 +318,7 @@ public:
virtual
const
String
&
GetString
()
const
;
virtual
const
String
&
GetString
()
const
;
virtual
const
ScMatrix
*
GetMatrix
()
const
;
virtual
const
ScMatrix
*
GetMatrix
()
const
;
virtual
bool
operator
==
(
const
formula
::
FormulaToken
&
rToken
)
const
;
virtual
bool
operator
==
(
const
formula
::
FormulaToken
&
rToken
)
const
;
virtual
FormulaToken
*
Clone
()
const
{
return
new
ScMatrixCellResultToken
(
*
this
);
}
virtual
FormulaToken
*
Clone
()
const
;
formula
::
StackVar
GetUpperLeftType
()
const
formula
::
StackVar
GetUpperLeftType
()
const
{
{
return
xUpperLeft
?
return
xUpperLeft
?
...
@@ -357,12 +357,9 @@ public:
...
@@ -357,12 +357,9 @@ public:
SCCOL
GetMatCols
()
const
{
return
nCols
;
}
SCCOL
GetMatCols
()
const
{
return
nCols
;
}
SCROW
GetMatRows
()
const
{
return
nRows
;
}
SCROW
GetMatRows
()
const
{
return
nRows
;
}
/** Assign matrix result, keep matrix formula
/** Assign matrix result, keep matrix formula
dimension. */
dimension. */
void
Assign
(
const
ScMatrixCellResultToken
&
r
)
void
Assign
(
const
ScMatrixCellResultToken
&
r
);
{
ScMatrixCellResultToken
::
Assign
(
r
);
}
/** Assign any result, keep matrix formula
/** Assign any result, keep matrix formula
dimension. If token is of type
dimension. If token is of type
...
...
sc/source/core/data/formulacell.cxx
Dosyayı görüntüle @
07010b8e
...
@@ -1591,6 +1591,11 @@ void ScFormulaCell::SetResultToken( const formula::FormulaToken* pToken )
...
@@ -1591,6 +1591,11 @@ void ScFormulaCell::SetResultToken( const formula::FormulaToken* pToken )
aResult
.
SetToken
(
pToken
);
aResult
.
SetToken
(
pToken
);
}
}
void
ScFormulaCell
::
SetResultMatrix
(
SCCOL
nCols
,
SCROW
nRows
,
const
ScConstMatrixRef
&
pMat
,
formula
::
FormulaToken
*
pUL
)
{
aResult
.
SetMatrix
(
nCols
,
nRows
,
pMat
,
pUL
);
}
void
ScFormulaCell
::
SetErrCode
(
sal_uInt16
n
)
void
ScFormulaCell
::
SetErrCode
(
sal_uInt16
n
)
{
{
/* FIXME: check the numerous places where ScTokenArray::GetCodeError() is
/* FIXME: check the numerous places where ScTokenArray::GetCodeError() is
...
...
sc/source/core/tool/token.cxx
Dosyayı görüntüle @
07010b8e
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
#include "rangeseq.hxx"
#include "rangeseq.hxx"
#include "externalrefmgr.hxx"
#include "externalrefmgr.hxx"
#include "document.hxx"
#include "document.hxx"
#include "scmatrix.hxx"
using
::
std
::
vector
;
using
::
std
::
vector
;
...
@@ -1060,6 +1059,11 @@ bool ScMatrixCellResultToken::operator==( const FormulaToken& r ) const
...
@@ -1060,6 +1059,11 @@ bool ScMatrixCellResultToken::operator==( const FormulaToken& r ) const
xMatrix
==
static_cast
<
const
ScMatrixCellResultToken
&>
(
r
).
xMatrix
;
xMatrix
==
static_cast
<
const
ScMatrixCellResultToken
&>
(
r
).
xMatrix
;
}
}
FormulaToken
*
ScMatrixCellResultToken
::
Clone
()
const
{
return
new
ScMatrixCellResultToken
(
*
this
);
}
void
ScMatrixCellResultToken
::
Assign
(
const
ScMatrixCellResultToken
&
r
)
void
ScMatrixCellResultToken
::
Assign
(
const
ScMatrixCellResultToken
&
r
)
{
{
xMatrix
=
r
.
xMatrix
;
xMatrix
=
r
.
xMatrix
;
...
@@ -1088,6 +1092,12 @@ bool ScMatrixFormulaCellToken::operator==( const FormulaToken& r ) const
...
@@ -1088,6 +1092,12 @@ bool ScMatrixFormulaCellToken::operator==( const FormulaToken& r ) const
return
p
&&
ScMatrixCellResultToken
::
operator
==
(
r
)
&&
return
p
&&
ScMatrixCellResultToken
::
operator
==
(
r
)
&&
nCols
==
p
->
nCols
&&
nRows
==
p
->
nRows
;
nCols
==
p
->
nCols
&&
nRows
==
p
->
nRows
;
}
}
void
ScMatrixFormulaCellToken
::
Assign
(
const
ScMatrixCellResultToken
&
r
)
{
ScMatrixCellResultToken
::
Assign
(
r
);
}
void
ScMatrixFormulaCellToken
::
Assign
(
const
formula
::
FormulaToken
&
r
)
void
ScMatrixFormulaCellToken
::
Assign
(
const
formula
::
FormulaToken
&
r
)
{
{
if
(
this
==
&
r
)
if
(
this
==
&
r
)
...
...
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