summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_paperlayout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_paperlayout.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_paperlayout.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/dialogs/kspread_dlg_paperlayout.cc b/kspread/dialogs/kspread_dlg_paperlayout.cc
index 6c277be6..c6b52c15 100644
--- a/kspread/dialogs/kspread_dlg_paperlayout.cc
+++ b/kspread/dialogs/kspread_dlg_paperlayout.cc
@@ -331,7 +331,7 @@ void PaperLayout::slotOk()
else
{
bool error = true;
- int first = tmpPrintRange.tqfind(":");
+ int first = tmpPrintRange.find(":");
if ( ( first != -1 ) && ( (int)tmpPrintRange.length() > first ) )
{
Point point1 ( tmpPrintRange.left( first ) );
@@ -359,7 +359,7 @@ void PaperLayout::slotOk()
else
{
bool error = true;
- int first = tmpRepeatCols.tqfind(":");
+ int first = tmpRepeatCols.find(":");
if ( ( first != -1 ) && ( (int)tmpRepeatCols.length() > first ) )
{
int col1 = util_decodeColumnLabelText( tmpRepeatCols.left( first ) );
@@ -385,7 +385,7 @@ void PaperLayout::slotOk()
else
{
bool error = true;
- int first = tmpRepeatRows.tqfind(":");
+ int first = tmpRepeatRows.find(":");
if ( ( first != -1 ) && ( (int)tmpRepeatRows.length() > first ) )
{
int row1 = tmpRepeatRows.left( first ).toInt();
@@ -411,7 +411,7 @@ void PaperLayout::slotOk()
{
kdDebug() << "New zoom is different than original: " << m_cZoom->currentText() << endl;
TQString zoomtext = m_cZoom->currentText();
- zoomtext.tqreplace("%","");
+ zoomtext.replace("%","");
bool convertok = false;
double zoomvalue = zoomtext.toDouble(&convertok);
if (!convertok)