diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-18 15:06:45 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-19 14:05:12 -0400 |
commit | 7ba5f709030a78616d2331bd3894752c99fbc1fa (patch) | |
tree | 9d93b475dae6e020e5e62e3e2ceecf835e141854 /sc/inc | |
parent | ed5d2c652cd053cd10f54fb028f513f20d6c6086 (diff) |
Pass contiguous cell data as an array to matrix. This is faster.
It's generally faster to pass an array of elements to matrix than
passing them individually.
Change-Id: I4502025d08040327c1d1c09ce1756928be054c25
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/scmatrix.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx index 034bc4dbe022..b40ba0802f1e 100644 --- a/sc/inc/scmatrix.hxx +++ b/sc/inc/scmatrix.hxx @@ -261,9 +261,14 @@ public: void PutDouble( double fVal, SCSIZE nC, SCSIZE nR); void PutDouble( double fVal, SCSIZE nIndex); + void PutDouble(const double* pArray, size_t nLen, SCSIZE nC, SCSIZE nR); + void PutString( const ::rtl::OUString& rStr, SCSIZE nC, SCSIZE nR); void PutString( const ::rtl::OUString& rStr, SCSIZE nIndex); + void PutString(const rtl::OUString* pArray, size_t nLen, SCSIZE nC, SCSIZE nR); + void PutEmpty( SCSIZE nC, SCSIZE nR); + /// Jump FALSE without path void PutEmptyPath( SCSIZE nC, SCSIZE nR); void PutError( sal_uInt16 nErrorCode, SCSIZE nC, SCSIZE nR ); |