Author: mlandres Date: Thu Feb 14 11:25:58 2008 New Revision: 8671 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8671&view=rev Log: use ByteCount::Unit Modified: branches/tmp/ma/jump_sat/libzypp/zypp/ResObject.cc Modified: branches/tmp/ma/jump_sat/libzypp/zypp/ResObject.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/R... ============================================================================== --- branches/tmp/ma/jump_sat/libzypp/zypp/ResObject.cc (original) +++ branches/tmp/ma/jump_sat/libzypp/zypp/ResObject.cc Thu Feb 14 11:25:58 2008 @@ -129,10 +129,10 @@ { return lookupStrAttribute( sat::SolvAttr::eula ); } ByteCount ResObject::size() const - { return 1024 * lookupNumAttribute( sat::SolvAttr::size ); } + { return ByteCount( lookupNumAttribute( sat::SolvAttr::size ), ByteCount::K ); } ByteCount ResObject::downloadSize() const - { return 1024 * lookupNumAttribute( sat::SolvAttr::downloadsize ); } + { return ByteCount( lookupNumAttribute( sat::SolvAttr::downloadsize ), ByteCount::K ); } RepoInfo ResObject::repoInfo() const { return repo().info(); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org