mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
InsetLine.cpp: correct coding style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35375 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e33e3dd815
commit
573abee2b5
@ -131,16 +131,13 @@ void InsetLine::draw(PainterInfo & pi, int x, int y) const
|
||||
|
||||
// get the length of the parameters in pixels
|
||||
Length offset = Length(to_ascii(getParam("offset")));
|
||||
int o =
|
||||
offset.inPixels(pi.base.textwidth,
|
||||
int o = offset.inPixels(pi.base.textwidth,
|
||||
fm.width(char_type('M')));
|
||||
Length width = Length(to_ascii(getParam("width")));
|
||||
int w =
|
||||
width.inPixels(pi.base.textwidth,
|
||||
int w = width.inPixels(pi.base.textwidth,
|
||||
fm.width(char_type('M')));
|
||||
Length height = Length(to_ascii(getParam("height")));
|
||||
int h =
|
||||
height.inPixels(pi.base.textwidth,
|
||||
int h = height.inPixels(pi.base.textwidth,
|
||||
fm.width(char_type('M')));
|
||||
|
||||
// get the surrounding text color
|
||||
|
Loading…
Reference in New Issue
Block a user