diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-12-17 01:59:24 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-12-17 01:59:24 -0500 |
commit | 79c8c0a5fa21da68e9b10dc4d1a89341e346c2bf (patch) | |
tree | 50b8b5ed5d4ce204353f5662badb3dec98752d89 /sc/inc/token.hxx | |
parent | b36b0e091f5d487be076e515000423059b9e4a9d (diff) |
Implemented ScMatrixRef using boost::intrusive_ptr.
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r-- | sc/inc/token.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx index 1f62b51fce50..1417890fb9b9 100644 --- a/sc/inc/token.hxx +++ b/sc/inc/token.hxx @@ -175,7 +175,7 @@ class ScMatrixToken : public ScToken private: ScMatrixRef pMatrix; public: - ScMatrixToken( ScMatrix* p ) : + ScMatrixToken( ScMatrixRef p ) : ScToken( formula::svMatrix ), pMatrix( p ) {} ScMatrixToken( const ScMatrixToken& r ) : ScToken( r ), pMatrix( r.pMatrix ) {} @@ -327,7 +327,7 @@ protected: ScConstMatrixRef xMatrix; formula::FormulaConstTokenRef xUpperLeft; public: - ScMatrixCellResultToken( ScMatrix* pMat, formula::FormulaToken* pUL ) : + ScMatrixCellResultToken( const ScConstMatrixRef& pMat, formula::FormulaToken* pUL ) : ScToken( formula::svMatrixCell ), xMatrix( pMat), xUpperLeft( pUL) {} ScMatrixCellResultToken( const ScMatrixCellResultToken& r ) : |