[LyX/master] Whitespace

Juergen Spitzmueller spitz at lyx.org
Tue Jan 14 15:06:14 UTC 2020


commit 218731c3eb35c39858665d28ab5b3b5969d24a56
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Tue Jan 14 16:23:09 2020 +0100

    Whitespace
---
 src/insets/InsetTabular.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index d06090c..dc8645a 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -2582,7 +2582,7 @@ void Tabular::TeXTopHLine(otexstream & os, row_type row, list<col_type> columns,
 				for (col_type j = cstart ; j < c ; ++j)
 					if (column_info[j].alignment == LYX_ALIGN_DECIMAL)
 						++offset;
-				col_type lastcol =(*it1 == *it2) ? c + 1 + offset : columns.size() - c + offset;
+				col_type lastcol = (*it1 == *it2) ? c + 1 + offset : columns.size() - c + offset;
 				if (toprtrims.find(c) != toprtrims.end()
 				    && toprtrims.find(c)->second)
 					trim += "r";
@@ -2655,7 +2655,7 @@ void Tabular::TeXBottomHLine(otexstream & os, row_type row, list<col_type> colum
 			bottomline[c] = bottomline.find(c)->second || topline.find(c)->second;
 		bottomltrims[c] = (bottomltrims.find(c) != bottomltrims.end() && bottomltrims.find(c)->second)
 				|| (topltrims.find(c) != topltrims.end() && topltrims.find(c)->second);
-		bottomrtrims[c] =(bottomrtrims.find(c) != bottomrtrims.end() && bottomrtrims.find(c)->second)
+		bottomrtrims[c] = (bottomrtrims.find(c) != bottomrtrims.end() && bottomrtrims.find(c)->second)
 				|| (toprtrims.find(c) != toprtrims.end() && toprtrims.find(c)->second);
 		if (bottomline.find(c)->second)
 			++nset;
@@ -2718,7 +2718,7 @@ void Tabular::TeXBottomHLine(otexstream & os, row_type row, list<col_type> colum
 				for (col_type j = cstart ; j < c ; ++j)
 					if (column_info[j].alignment == LYX_ALIGN_DECIMAL)
 						++offset;
-				col_type lastcol =(*it1 == *it2) ? c + 1 + offset : columns.size() - c + offset;
+				col_type lastcol = (*it1 == *it2) ? c + 1 + offset : columns.size() - c + offset;
 				if (bottomrtrims.find(c) != bottomrtrims.end()
 				    && bottomrtrims.find(c)->second)
 					trim += "r";


More information about the lyx-cvs mailing list