mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
f86c7150d2
commit
5816e0107d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user