diff options
Diffstat (limited to 'lib/kofficecore/KoOasisStyles.cpp')
-rw-r--r-- | lib/kofficecore/KoOasisStyles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoOasisStyles.cpp b/lib/kofficecore/KoOasisStyles.cpp index fe88a11b..0f173658 100644 --- a/lib/kofficecore/KoOasisStyles.cpp +++ b/lib/kofficecore/KoOasisStyles.cpp @@ -194,9 +194,9 @@ void KoOasisStyles::insertStyle( const TQDomElement& e, bool styleAutoStyles ) //kdDebug(30003) << "Style: '" << name << "' loaded " << endl; } } else if ( ns == KoXmlNS::style && ( - localName == "page-tqlayout" + localName == "page-layout" || localName == "font-decl" - || localName == "presentation-page-tqlayout" ) ) + || localName == "presentation-page-layout" ) ) { if ( m_styles.find( name ) != 0 ) kdDebug(30003) << "Style: '" << name << "' already exists" << endl; |