diff options
Diffstat (limited to 'lib/kofficecore/KoStyleStack.cpp')
-rw-r--r-- | lib/kofficecore/KoStyleStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoStyleStack.cpp b/lib/kofficecore/KoStyleStack.cpp index 22799209..9920c289 100644 --- a/lib/kofficecore/KoStyleStack.cpp +++ b/lib/kofficecore/KoStyleStack.cpp @@ -258,7 +258,7 @@ bool KoStyleStack::isUserStyle( const TQDomElement& e, const TQString& family ) { if ( e.attributeNS( m_styleNSURI, "family", TQString() ) != family ) return false; - const TQDomElement tqparent = e.tqparentNode().toElement(); + const TQDomElement tqparent = e.parentNode().toElement(); //kdDebug(30003) << k_funcinfo << "tagName=" << e.tagName() << " tqparent-tagName=" << tqparent.tagName() << endl; return tqparent.localName() == "styles" /*&& tqparent.namespaceURI() == KoXmlNS::office*/; } |