mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix two thinkos caught by the cppcheck script.
This commit is contained in:
parent
302228625b
commit
84d4d45daa
@ -876,7 +876,7 @@ void Tabular::insertColumn(col_type const col, bool copy)
|
|||||||
setBottomLine(i, bottomLine(j));
|
setBottomLine(i, bottomLine(j));
|
||||||
setTopLine(i, topLine(j));
|
setTopLine(i, topLine(j));
|
||||||
setLeftLine(i, leftLine(j));
|
setLeftLine(i, leftLine(j));
|
||||||
if (rightLine(j) && rightLine(j)) {
|
if (rightLine(i) && rightLine(j)) {
|
||||||
setRightLine(i, true);
|
setRightLine(i, true);
|
||||||
setRightLine(j, false);
|
setRightLine(j, false);
|
||||||
}
|
}
|
||||||
|
@ -346,7 +346,7 @@ void InsetMathPhantom::validate(LaTeXFeatures & features) const
|
|||||||
|
|
||||||
bool InsetMathPhantom::visibleContents() const
|
bool InsetMathPhantom::visibleContents() const
|
||||||
{
|
{
|
||||||
return kind_ == phantom || kind_ == vphantom || kind_ == vphantom;
|
return kind_ == phantom || kind_ == vphantom || kind_ == hphantom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user