[Libreoffice-commits] core.git: starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Tue Mar 15 09:35:38 UTC 2016
starmath/source/dialog.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 36389d83d7eaa9b14236b14c46f1e5101a471b8f
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Mar 14 18:15:31 2016 +0900
starmath: odd number of columns is fine
This can save horizontal spaces in every row but last.
Change-Id: I092d24f311517cd9d31e3f72bd51f5b1040d43f3
Reviewed-on: https://gerrit.libreoffice.org/23236
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 5e81954..7b56427 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1289,8 +1289,6 @@ void SmShowSymbolSetWindow::calccols()
Size aOutputSize = GetOutputSizePixel();
nColumns = aOutputSize.Width() / nLen;
- if (nColumns > 2 && nColumns % 2 != 0)
- --nColumns;
nRows = aOutputSize.Height() / nLen;
nColumns = std::max<long>(1, nColumns);
nRows = std::max<long>(1, nRows);
More information about the Libreoffice-commits
mailing list