Kaydet (Commit) 26851ecc authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Markus Mohrhard

Fix typo in code

Change-Id: Ib674c32da1f9f4c1920c7286fa41b1297f8e1f8f
Reviewed-on: https://gerrit.libreoffice.org/24530Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 0fa225fe
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
namespace { namespace {
// Don't bother with buffer overhead for less than y rows. // Don't bother with buffer overhead for less than y rows.
const SCSIZE kBufferThreshhold = 128; const SCSIZE kBufferThreshold = 128;
} }
ScJumpMatrix::ScJumpMatrix(SCSIZE nColsP, SCSIZE nRowsP) ScJumpMatrix::ScJumpMatrix(SCSIZE nColsP, SCSIZE nRowsP)
...@@ -207,14 +207,14 @@ void ScJumpMatrix::FlushBufferOtherThan( ScJumpMatrix::BufferType eType, SCSIZE ...@@ -207,14 +207,14 @@ void ScJumpMatrix::FlushBufferOtherThan( ScJumpMatrix::BufferType eType, SCSIZE
ScMatrix* ScJumpMatrix::GetResultMatrix() ScMatrix* ScJumpMatrix::GetResultMatrix()
{ {
if (nResMatRows >= kBufferThreshhold) if (nResMatRows >= kBufferThreshold)
FlushBufferOtherThan( BUFFER_NONE, 0, 0); FlushBufferOtherThan( BUFFER_NONE, 0, 0);
return pMat.get(); return pMat.get();
} }
void ScJumpMatrix::PutResultDouble( double fVal, SCSIZE nC, SCSIZE nR ) void ScJumpMatrix::PutResultDouble( double fVal, SCSIZE nC, SCSIZE nR )
{ {
if (nResMatRows < kBufferThreshhold) if (nResMatRows < kBufferThreshold)
pMat->PutDouble( fVal, nC, nR); pMat->PutDouble( fVal, nC, nR);
else else
{ {
...@@ -230,7 +230,7 @@ void ScJumpMatrix::PutResultDouble( double fVal, SCSIZE nC, SCSIZE nR ) ...@@ -230,7 +230,7 @@ void ScJumpMatrix::PutResultDouble( double fVal, SCSIZE nC, SCSIZE nR )
void ScJumpMatrix::PutResultString( const svl::SharedString& rStr, SCSIZE nC, SCSIZE nR ) void ScJumpMatrix::PutResultString( const svl::SharedString& rStr, SCSIZE nC, SCSIZE nR )
{ {
if (nResMatRows < kBufferThreshhold) if (nResMatRows < kBufferThreshold)
pMat->PutString( rStr, nC, nR); pMat->PutString( rStr, nC, nR);
else else
{ {
...@@ -246,7 +246,7 @@ void ScJumpMatrix::PutResultString( const svl::SharedString& rStr, SCSIZE nC, SC ...@@ -246,7 +246,7 @@ void ScJumpMatrix::PutResultString( const svl::SharedString& rStr, SCSIZE nC, SC
void ScJumpMatrix::PutResultEmpty( SCSIZE nC, SCSIZE nR ) void ScJumpMatrix::PutResultEmpty( SCSIZE nC, SCSIZE nR )
{ {
if (nResMatRows < kBufferThreshhold) if (nResMatRows < kBufferThreshold)
pMat->PutEmpty( nC, nR); pMat->PutEmpty( nC, nR);
else else
{ {
...@@ -262,7 +262,7 @@ void ScJumpMatrix::PutResultEmpty( SCSIZE nC, SCSIZE nR ) ...@@ -262,7 +262,7 @@ void ScJumpMatrix::PutResultEmpty( SCSIZE nC, SCSIZE nR )
void ScJumpMatrix::PutResultEmptyPath( SCSIZE nC, SCSIZE nR ) void ScJumpMatrix::PutResultEmptyPath( SCSIZE nC, SCSIZE nR )
{ {
if (nResMatRows < kBufferThreshhold) if (nResMatRows < kBufferThreshold)
pMat->PutEmptyPath( nC, nR); pMat->PutEmptyPath( nC, nR);
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment