Author: mlandres Date: Mon May 7 17:45:31 2007 New Revision: 5512 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5512&view=rev Log: (re)fixed lost changes Modified: trunk/libzypp/zypp/parser/yum/PrimaryFileReader.cc Modified: trunk/libzypp/zypp/parser/yum/PrimaryFileReader.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/parser/yum/PrimaryFileReader.cc?rev=5512&r1=5511&r2=5512&view=diff ============================================================================== --- trunk/libzypp/zypp/parser/yum/PrimaryFileReader.cc (original) +++ trunk/libzypp/zypp/parser/yum/PrimaryFileReader.cc Mon May 7 17:45:31 2007 @@ -16,7 +16,6 @@ using namespace std; using namespace zypp::xml; -using zypp::base::Unit; namespace zypp { @@ -135,12 +134,10 @@ // reader_r->getAttribute("archive").asString(); // installed size - ByteCount size(str::strtonum<long long>(reader_r->getAttribute("installed").asString()), Unit()); - _package->size = size; + _package->size = str::strtonumByteCount::SizeType( reader_r->getAttribute("installed").asString() ); // rpm package size - ByteCount size_rpm(str::strtonum<long long>(reader_r->getAttribute("package").asString()), Unit()); - _package->archive_size = size_rpm; + _package->archive_size = str::strtonumByteCount::SizeType( reader_r->getAttribute("package").asString() ); return true; } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org