Commit 79323b90 authored by Ariya Hidayat's avatar Ariya Hidayat

SVN_SILENT no more ::null()

svn path=/trunk/koffice/; revision=664839
parent a1c685e5
......@@ -670,13 +670,13 @@ bool KoShape::loadOdfAttributes( const KoXmlElement & element, KoShapeLoadingCon
}
if ( attributes & OdfSize ) {
QPointF pos;
pos.setX( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "x", QString::null ) ) );
pos.setY( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "y", QString::null ) ) );
pos.setX( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "x", QString() ) ) );
pos.setY( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "y", QString() ) ) );
setPosition( pos );
QSizeF size;
size.setWidth( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "width", QString::null ) ) );
size.setHeight( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "height", QString::null ) ) );
size.setWidth( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "width", QString() ) ) );
size.setHeight( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "height", QString() ) ) );
resize( size );
}
......
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