summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/consoli.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-16 04:58:29 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-16 04:58:59 +0100
commitfd17ba6a421acf63b3b959138bb572498d56d469 (patch)
tree26d134d7f30bc7187c5a4df49162ac4e79793b42 /sc/source/core/tool/consoli.cxx
parentf63423d58551b387dd9617c6c84719a95ee6d522 (diff)
sc: translate some debug messages
Change-Id: I0c741d2cda4568aef81a18788a764f3ef679660c
Diffstat (limited to 'sc/source/core/tool/consoli.cxx')
-rw-r--r--sc/source/core/tool/consoli.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index c8a6384f0891..dfbf791b0b15 100644
--- a/sc/source/core/tool/consoli.cxx
+++ b/sc/source/core/tool/consoli.cxx
@@ -476,7 +476,7 @@ static double lcl_CalcData( ScSubTotalFunc eFunc,
break;
default:
{
- OSL_FAIL("unbekannte Funktion bei Consoli::CalcData");
+ OSL_FAIL("Consoli::CalcData: unknown function");
fCount = -MAXDOUBLE;
}
break;
@@ -491,12 +491,12 @@ void ScConsData::AddData( ScDocument* pSrcDoc, SCTAB nTab,
PutInOrder(nRow1,nRow2);
if ( nCol2 >= sal::static_int_cast<SCCOL>(nCol1 + nColCount) && !bColByName )
{
- OSL_FAIL("Bereich zu gross");
+ OSL_FAIL("range too big");
nCol2 = sal::static_int_cast<SCCOL>( nCol1 + nColCount - 1 );
}
if ( nRow2 >= sal::static_int_cast<SCROW>(nRow1 + nRowCount) && !bRowByName )
{
- OSL_FAIL("Bereich zu gross");
+ OSL_FAIL("range too big");
nRow2 = sal::static_int_cast<SCROW>( nRow1 + nRowCount - 1 );
}
@@ -545,7 +545,7 @@ void ScConsData::AddData( ScDocument* pSrcDoc, SCTAB nTab,
nPos = static_cast<SCCOL>(i);
bFound = sal_True;
}
- OSL_ENSURE(bFound, "Spalte nicht gefunden");
+ OSL_ENSURE(bFound, "column not found");
}
pDestCols[nCol-nStartCol] = nPos;
}
@@ -566,7 +566,7 @@ void ScConsData::AddData( ScDocument* pSrcDoc, SCTAB nTab,
nPos = static_cast<SCROW>(i);
bFound = sal_True;
}
- OSL_ENSURE(bFound, "Zeile nicht gefunden");
+ OSL_ENSURE(bFound, "row not found");
}
pDestRows[nRow-nStartRow] = nPos;
}