[Libreoffice-commits] core.git: sc/source
Andrea Gelmini
andrea.gelmini at gelma.net
Sun May 1 09:55:07 UTC 2016
sc/source/core/tool/jumpmatrix.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 26851eccbd7e3d60bad7010b0a113aca89876f6e
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Sat Apr 30 14:35:01 2016 +0200
Fix typo in code
Change-Id: Ib674c32da1f9f4c1920c7286fa41b1297f8e1f8f
Reviewed-on: https://gerrit.libreoffice.org/24530
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/core/tool/jumpmatrix.cxx b/sc/source/core/tool/jumpmatrix.cxx
index b3e0ff6..48d0a57 100644
--- a/sc/source/core/tool/jumpmatrix.cxx
+++ b/sc/source/core/tool/jumpmatrix.cxx
@@ -24,7 +24,7 @@
namespace {
// 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)
@@ -207,14 +207,14 @@ void ScJumpMatrix::FlushBufferOtherThan( ScJumpMatrix::BufferType eType, SCSIZE
ScMatrix* ScJumpMatrix::GetResultMatrix()
{
- if (nResMatRows >= kBufferThreshhold)
+ if (nResMatRows >= kBufferThreshold)
FlushBufferOtherThan( BUFFER_NONE, 0, 0);
return pMat.get();
}
void ScJumpMatrix::PutResultDouble( double fVal, SCSIZE nC, SCSIZE nR )
{
- if (nResMatRows < kBufferThreshhold)
+ if (nResMatRows < kBufferThreshold)
pMat->PutDouble( fVal, nC, nR);
else
{
@@ -230,7 +230,7 @@ void ScJumpMatrix::PutResultDouble( double fVal, 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);
else
{
@@ -246,7 +246,7 @@ void ScJumpMatrix::PutResultString( const svl::SharedString& rStr, SCSIZE nC, SC
void ScJumpMatrix::PutResultEmpty( SCSIZE nC, SCSIZE nR )
{
- if (nResMatRows < kBufferThreshhold)
+ if (nResMatRows < kBufferThreshold)
pMat->PutEmpty( nC, nR);
else
{
@@ -262,7 +262,7 @@ void ScJumpMatrix::PutResultEmpty( SCSIZE nC, SCSIZE nR )
void ScJumpMatrix::PutResultEmptyPath( SCSIZE nC, SCSIZE nR )
{
- if (nResMatRows < kBufferThreshhold)
+ if (nResMatRows < kBufferThreshold)
pMat->PutEmptyPath( nC, nR);
else
{
More information about the Libreoffice-commits
mailing list