From 5816e0107dc7a43cc123a5aba3cc6f1638cdb977 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 17 Oct 2011 20:13:12 +0000 Subject: [PATCH] remove a FIXME: unsigned int is better git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39878 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetGraphicsParams.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetGraphicsParams.cpp b/src/insets/InsetGraphicsParams.cpp index 6aa0932421..4f0266ccf8 100644 --- a/src/insets/InsetGraphicsParams.cpp +++ b/src/insets/InsetGraphicsParams.cpp @@ -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(token(tmp, ' ', 0)); - unsigned int const bb_orig_yb = convert(token(tmp, ' ', 1)); + unsigned int const bb_orig_xl = convert(token(tmp, ' ', 0)); + unsigned int const bb_orig_yb = convert(token(tmp, ' ', 1)); // new pars.bb values must be >= zero if (pars.bb.xl > bb_orig_xl) -- 2.39.2