summaryrefslogtreecommitdiffstats
path: root/kword/KWStatisticsDialog.cpp
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 /kword/KWStatisticsDialog.cpp
parentac04782336b6a026b44df9d51ba9ca008a712da2 (diff)
downloadkoffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz
koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kword/KWStatisticsDialog.cpp')
-rw-r--r--kword/KWStatisticsDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kword/KWStatisticsDialog.cpp b/kword/KWStatisticsDialog.cpp
index e1a371f57..9b1f462ab 100644
--- a/kword/KWStatisticsDialog.cpp
+++ b/kword/KWStatisticsDialog.cpp
@@ -110,7 +110,7 @@ void KWStatisticsDialog::slotRefreshValue(bool state)
void KWStatisticsDialog::calcGeneral( TQLabel **resultLabel )
{
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
resultLabel[0]->setText( locale->formatNumber( m_doc->pageCount(), 0) );
int table =0;
@@ -194,7 +194,7 @@ bool KWStatisticsDialog::calcStats( TQLabel **resultLabel, bool selection, bool
}
// assign results
- KLocale *locale = TDEGlobal::locale();
+ TDELocale *locale = TDEGlobal::locale();
resultLabel[0]->setText( locale->formatNumber( charsWithSpace, 0) );
resultLabel[1]->setText( locale->formatNumber( charsWithoutSpace, 0 ) );
resultLabel[2]->setText( locale->formatNumber( syllables, 0 ) );