summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_map.cc')
-rw-r--r--kspread/kspread_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/kspread_map.cc b/kspread/kspread_map.cc
index 7d55a8ff..a24c8cf2 100644
--- a/kspread/kspread_map.cc
+++ b/kspread/kspread_map.cc
@@ -80,7 +80,7 @@ void Map::setProtected( TQCString const & passwd )
Sheet* Map::createSheet()
{
TQString s( i18n("Sheet%1") );
- s = s.tqarg( tableId++ );
+ s = s.arg( tableId++ );
Sheet *t = new Sheet ( this, s , s.utf8());
t->setSheetName( s, true ); // huh? (Werner)
return t;
@@ -159,7 +159,7 @@ void Map::loadOasisSettings( KoOasisSettings &settings )
void Map::saveOasisSettings( KoXmlWriter &settingsWriter )
{
- settingsWriter.addConfigItem( "ViewId", TQString::tqfromLatin1( "View1" ) );
+ settingsWriter.addConfigItem( "ViewId", TQString::fromLatin1( "View1" ) );
// Save visual info for the first view, such as active sheet and active cell
// It looks like a hack, but reopening a document creates only one view anyway (David)
View * view = m_doc->views().isEmpty() ? 0 : dynamic_cast<View*>(m_doc->views().getFirst());