]> git.lyx.org Git - lyx.git/commitdiff
InsetLine.cpp: correct coding style
authorUwe Stöhr <uwestoehr@web.de>
Tue, 14 Sep 2010 23:35:12 +0000 (23:35 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 14 Sep 2010 23:35:12 +0000 (23:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35375 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetLine.cpp

index a0110c7a145f941b39b6b704f9b9c64eee037157..991ef5a4db1e7e0525b84ab1d809d253007450f8 100644 (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