Commit bb0a0503 authored by Pierre Ducroquet's avatar Pierre Ducroquet

Remove an assert in order to prevent a crash... The assert wasn't needed since...

Remove an assert in order to prevent a crash... The assert wasn't needed since this case was already handled.

svn path=/trunk/koffice/; revision=663939
parent 4e5762d3
......@@ -70,7 +70,6 @@ void KoOasisLoadingContext::fillStyleStack( const KoXmlElement& object, const ch
void KoOasisLoadingContext::addStyles( const KoXmlElement* style, const char* family, bool usingStylesAutoStyles )
{
Q_ASSERT( style );
if ( !style ) return;
// this recursive function is necessary as parent styles can have parents themselves
if ( style->hasAttributeNS( KoXmlNS::style, "parent-style-name" ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment