summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoOasisStyles.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kofficecore/KoOasisStyles.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficecore/KoOasisStyles.cpp')
-rw-r--r--lib/kofficecore/KoOasisStyles.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoOasisStyles.cpp b/lib/kofficecore/KoOasisStyles.cpp
index fe4ee658..fe88a11b 100644
--- a/lib/kofficecore/KoOasisStyles.cpp
+++ b/lib/kofficecore/KoOasisStyles.cpp
@@ -224,11 +224,11 @@ void KoOasisStyles::insertStyle( const TQDomElement& e, bool styleAutoStyles )
// OO spec 2.5.4. p68. Conversion to TQt format: see qdate.html
// OpenCalcImport::loadFormat has similar code, but slower, intermixed with other stuff,
// lacking long-textual forms.
-void KoOasisStyles::importDataStyle( const TQDomElement& tqparent )
+void KoOasisStyles::importDataStyle( const TQDomElement& parent )
{
NumericStyleFormat dataStyle;
- const TQString localName = tqparent.localName();
+ const TQString localName = parent.localName();
if (localName == "number-style")
dataStyle.type = NumericStyleFormat::Number;
else if (localName == "currency-style")
@@ -255,7 +255,7 @@ void KoOasisStyles::importDataStyle( const TQDomElement& tqparent )
TQDomElement e;
TQString prefix;
TQString suffix;
- forEachElement( e, tqparent )
+ forEachElement( e, parent )
{
if ( e.namespaceURI() != KoXmlNS::number )
continue;
@@ -446,7 +446,7 @@ void KoOasisStyles::importDataStyle( const TQDomElement& tqparent )
}
- const TQString styleName = tqparent.attributeNS( KoXmlNS::style, "name", TQString() );
+ const TQString styleName = parent.attributeNS( KoXmlNS::style, "name", TQString() );
kdDebug(30003) << "data style: " << styleName << " qt format=" << format << endl;
if ( !prefix.isEmpty() )
{