mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
GuiMathMatrix.cpp: fix a compiler warning
This commit is contained in:
parent
cc00530743
commit
1112a17372
@ -125,7 +125,7 @@ void GuiMathMatrix::slotOK()
|
|||||||
}
|
}
|
||||||
// only if a special alignment is set create a 1x1 AMS array in which
|
// only if a special alignment is set create a 1x1 AMS array in which
|
||||||
// a normal array will be created, otherwise create just a normal AMS array
|
// a normal array will be created, otherwise create just a normal AMS array
|
||||||
if (sh.contains('l') > 0 || sh.contains('r') > 0) {
|
if (sh.contains('l') || sh.contains('r')) {
|
||||||
string const str_ams = fromqstr(
|
string const str_ams = fromqstr(
|
||||||
QString("%1 %2 %3").arg(int(1)).arg(int(1)).arg(deco_name));
|
QString("%1 %2 %3").arg(int(1)).arg(int(1)).arg(deco_name));
|
||||||
dispatch(FuncRequest(LFUN_MATH_AMS_MATRIX, str_ams));
|
dispatch(FuncRequest(LFUN_MATH_AMS_MATRIX, str_ams));
|
||||||
|
Loading…
Reference in New Issue
Block a user