diff options
Diffstat (limited to 'lib/kofficecore/KoOasisLoadingContext.cpp')
-rw-r--r-- | lib/kofficecore/KoOasisLoadingContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoOasisLoadingContext.cpp b/lib/kofficecore/KoOasisLoadingContext.cpp index 3db850e4..3386daf8 100644 --- a/lib/kofficecore/KoOasisLoadingContext.cpp +++ b/lib/kofficecore/KoOasisLoadingContext.cpp @@ -68,9 +68,9 @@ void KoOasisLoadingContext::addStyles( const TQDomElement* style, const char* fa { Q_ASSERT( style ); if ( !style ) return; - // this recursive function is necessary as tqparent styles can have parents themselves - if ( style->hasAttributeNS( KoXmlNS::style, "tqparent-style-name" ) ) { - const TQString parentStyleName = style->attributeNS( KoXmlNS::style, "tqparent-style-name", TQString() ); + // this recursive function is necessary as parent styles can have parents themselves + if ( style->hasAttributeNS( KoXmlNS::style, "parent-style-name" ) ) { + const TQString parentStyleName = style->attributeNS( KoXmlNS::style, "parent-style-name", TQString() ); const TQDomElement* parentStyle = 0; if ( usingStylesAutoStyles ) { // When loading something from styles.xml, look into the styles.xml auto styles first |