Commit 9a1bd255 authored by Thorsten Zachmann's avatar Thorsten Zachmann

o fix spelling setAddtionalAttribute -> setAdditionalAttribute

svn path=/trunk/koffice/; revision=806363
parent de9ff526
......@@ -782,7 +782,7 @@ bool KoShape::loadOdfAttributes( const KoXmlElement & element, KoShapeLoadingCon
if ( element.hasAttributeNS( attributeData.ns, attributeData.tag ) ) {
QString value = element.attributeNS( attributeData.ns, attributeData.tag );
//kDebug(30006) << "load additional attribute" << attributeData.tag << value;
setAddtionalAttribute( attributeData.name, value );
setAdditionalAttribute( attributeData.name, value );
}
}
}
......@@ -1094,12 +1094,12 @@ KoSnapData KoShape::snapData() const
return KoSnapData();
}
void KoShape::setAddtionalAttribute( const char * name, const QString & value )
void KoShape::setAdditionalAttribute( const char * name, const QString & value )
{
d->additionalAttributes.insert( name, value );
}
void KoShape::removeAddtionalAttribute( const char * name )
void KoShape::removeAdditionalAttribute( const char * name )
{
d->additionalAttributes.remove( name );
}
......
......@@ -701,14 +701,14 @@ public:
* @param name The name of the attribute in the following form prefix:tag e.g. presentation:placeholder
* @param value The value of the attribute
*/
void setAddtionalAttribute( const char * name, const QString & value );
void setAdditionalAttribute( const char * name, const QString & value );
/**
* Remove additional attribute
*
* @param name The name of the attribute in the following form prefix:tag e.g. presentation:placeholder
*/
void removeAddtionalAttribute( const char * name );
void removeAdditionalAttribute( const char * name );
/**
* Check if additional attribute is set
......
......@@ -946,7 +946,6 @@ void KoTextLoader::loadList( const KoXmlElement& element, QTextCursor& cursor )
props.setLevel( 0 );
listStyle->setLevel( props );
}
listStyle->applyStyle(current, level);
}
......@@ -1441,8 +1440,8 @@ void KoTextLoader::loadFrame( const KoXmlElement& frameElem, QTextCursor& cursor
Q_ASSERT( shape );
//TODO probably better use KoShapeLoadingContext::addAdditionalAttributeData like KPrDocument
shape->setAddtionalAttribute(KoXmlNS::draw, "anchor-type");
//shape->setAddtionalAttribute(KoXmlNS::draw, "anchor-page-number"); //<=== KWPageManager
//shape->setAdditionalAttribute(KoXmlNS::draw, "anchor-type");
//shape->setAdditionalAttribute(KoXmlNS::draw, "anchor-page-number"); //<=== KWPageManager
d->textSharedData->shapeInserted(shape);
......
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