diff options
Diffstat (limited to 'lib/kofficecore/KoOasisStyles.cpp')
-rw-r--r-- | lib/kofficecore/KoOasisStyles.cpp | 8 |
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() ) { |