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:
Uwe Stöhr 2010-09-14 23:35:12 +00:00
parent e33e3dd815
commit 573abee2b5

View File

@ -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