summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_cell.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:03:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:03:36 -0600
commit0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7 (patch)
treeb55740ff9d132b25792ca3fd60e37497402b5036 /kspread/kspread_cell.cc
parentac04782336b6a026b44df9d51ba9ca008a712da2 (diff)
downloadkoffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz
koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kspread/kspread_cell.cc')
-rw-r--r--kspread/kspread_cell.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/kspread_cell.cc b/kspread/kspread_cell.cc
index 7e2d85cd..d8799d9f 100644
--- a/kspread/kspread_cell.cc
+++ b/kspread/kspread_cell.cc
@@ -404,7 +404,7 @@ TQString Cell::columnName() const
return columnName( d->column );
}
-KLocale* Cell::locale() const
+TDELocale* Cell::locale() const
{
return d->format->sheet()->doc()->locale();
}
@@ -6814,9 +6814,9 @@ bool Cell::loadCellData(const TQDomElement & text, Paste::Operation op )
kdWarning(36001) << "Couldn't parse '" << t << "' as number." << endl;
}
/* We will need to localize the text version of the number */
- KLocale* locale = format()->sheet()->doc()->locale();
+ TDELocale* locale = format()->sheet()->doc()->locale();
- /* KLocale::formatNumber requires the precision we want to return.
+ /* TDELocale::formatNumber requires the precision we want to return.
*/
int precision = t.length() - t.find('.') - 1;