compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6464 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-03-12 11:22:53 +00:00
parent c4bda8ac16
commit d5abf45c1d

View File

@ -322,8 +322,7 @@ void ParagraphParameters::read(LyXLex & lex)
int tmpret = lex.findToken(string_align);
if (tmpret == -1)
++tmpret;
int const tmpret2 = int(pow(2.0, tmpret));
align(LyXAlignment(tmpret2));
align(LyXAlignment(1 << tmpret));
} else if (token == "\\added_space_top") {
lex.nextToken();
VSpace value = VSpace(lex.getString());