summaryrefslogtreecommitdiffstats
path: root/kspread/manipulator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/manipulator.cc')
-rw-r--r--kspread/manipulator.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kspread/manipulator.cc b/kspread/manipulator.cc
index 5d501798..bed111ba 100644
--- a/kspread/manipulator.cc
+++ b/kspread/manipulator.cc
@@ -1224,7 +1224,7 @@ bool AdjustColumnRowManipulator::process(Element* element)
int col = cell->column();
if ( !cell->isEmpty() && !cell->isObscured())
{
- if (widths.tqcontains(col) && widths[col] != -1.0)
+ if (widths.contains(col) && widths[col] != -1.0)
{
ColumnFormat* format = sheet->nonDefaultColumnFormat(col);
if ( kAbs(format->dblWidth() - widths[col] ) > DBL_EPSILON )
@@ -1241,7 +1241,7 @@ bool AdjustColumnRowManipulator::process(Element* element)
{
for (int col = range.left(); col <= range.right(); ++col)
{
- if (widths.tqcontains(col) && widths[col] != -1.0)
+ if (widths.contains(col) && widths[col] != -1.0)
{
ColumnFormat* format = sheet->nonDefaultColumnFormat(col);
if ( kAbs(format->dblWidth() - widths[col] ) > DBL_EPSILON )
@@ -1264,7 +1264,7 @@ bool AdjustColumnRowManipulator::process(Element* element)
int row = cell->row();
if ( !cell->isEmpty() && !cell->isObscured())
{
- if (heights.tqcontains(row) && heights[row] != -1.0)
+ if (heights.contains(row) && heights[row] != -1.0)
{
RowFormat* format = sheet->nonDefaultRowFormat(row);
if ( kAbs(format->dblHeight() - heights[row] ) > DBL_EPSILON )
@@ -1281,7 +1281,7 @@ bool AdjustColumnRowManipulator::process(Element* element)
{
for (int row = range.top(); row <= range.bottom(); ++row)
{
- if (heights.tqcontains(row) && heights[row] != -1.0)
+ if (heights.contains(row) && heights[row] != -1.0)
{
RowFormat* format = sheet->nonDefaultRowFormat(row);
if ( kAbs(format->dblHeight() - heights[row] ) > DBL_EPSILON )
@@ -1323,7 +1323,7 @@ bool AdjustColumnRowManipulator::preProcessing()
int row = cell->row();
if (m_adjustColumn)
{
- if (!m_newWidths.tqcontains(col))
+ if (!m_newWidths.contains(col))
{
m_newWidths[col] = -1.0;
ColumnFormat* format = m_sheet->columnFormat(col);
@@ -1337,7 +1337,7 @@ bool AdjustColumnRowManipulator::preProcessing()
}
if (m_adjustRow)
{
- if (!m_newHeights.tqcontains(row))
+ if (!m_newHeights.contains(row))
{
m_newHeights[row] = -1.0;
RowFormat* format = m_sheet->rowFormat(row);
@@ -1363,7 +1363,7 @@ bool AdjustColumnRowManipulator::preProcessing()
int col = cell->column();
if (m_adjustColumn)
{
- if (!m_newWidths.tqcontains(col))
+ if (!m_newWidths.contains(col))
{
m_newWidths[col] = -1.0;
ColumnFormat* format = m_sheet->columnFormat(col);
@@ -1377,7 +1377,7 @@ bool AdjustColumnRowManipulator::preProcessing()
}
if (m_adjustRow)
{
- if (!m_newHeights.tqcontains(row))
+ if (!m_newHeights.contains(row))
{
m_newHeights[row] = -1.0;
RowFormat* format = m_sheet->rowFormat(row);
@@ -1403,7 +1403,7 @@ bool AdjustColumnRowManipulator::preProcessing()
cell = m_sheet->cellAt( col, row );
if (m_adjustColumn)
{
- if (!m_newWidths.tqcontains(col))
+ if (!m_newWidths.contains(col))
{
m_newWidths[col] = -1.0;
ColumnFormat* format = m_sheet->columnFormat(col);
@@ -1417,7 +1417,7 @@ bool AdjustColumnRowManipulator::preProcessing()
}
if (m_adjustRow)
{
- if (!m_newHeights.tqcontains(row))
+ if (!m_newHeights.contains(row))
{
m_newHeights[row] = -1.0;
RowFormat* format = m_sheet->rowFormat(row);