remove a FIXME: unsigned int is better

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39878 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2011-10-17 20:13:12 +00:00
parent f86c7150d2
commit 5816e0107d

View File

@ -265,9 +265,8 @@ graphics::Params InsetGraphicsParams::as_grfxParams() const
string const tmp = readBB_from_PSFile(filename);
LYXERR(Debug::GRAPHICS, "BB_from_File: " << tmp);
if (!tmp.empty()) {
// FIXME: why not convert to unsigned int? (Lgb)
unsigned int const bb_orig_xl = convert<int>(token(tmp, ' ', 0));
unsigned int const bb_orig_yb = convert<int>(token(tmp, ' ', 1));
unsigned int const bb_orig_xl = convert<unsigned int>(token(tmp, ' ', 0));
unsigned int const bb_orig_yb = convert<unsigned int>(token(tmp, ' ', 1));
// new pars.bb values must be >= zero
if (pars.bb.xl > bb_orig_xl)