mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
move the abs() from lyxlength:inBP to the place where it is used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4626 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
403d15bdd4
commit
f90e1e249f
@ -63,10 +63,10 @@ BoundingBox::BoundingBox(string const & bb)
|
||||
|
||||
// inBP returns the length in Postscript points.
|
||||
// Note further that there are 72 Postscript pixels per inch.
|
||||
int const xl_tmp = LyXLength(a).inBP();
|
||||
int const yb_tmp = LyXLength(b).inBP();
|
||||
int const xr_tmp = LyXLength(c).inBP();
|
||||
int const yt_tmp = LyXLength(d).inBP();
|
||||
int const xl_tmp = abs(LyXLength(a).inBP());
|
||||
int const yb_tmp = abs(LyXLength(b).inBP());
|
||||
int const xr_tmp = abs(LyXLength(c).inBP());
|
||||
int const yt_tmp = abs(LyXLength(d).inBP());
|
||||
|
||||
if (xr_tmp <= xl_tmp || yt_tmp <= yb_tmp)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user