starmath/source/dialog.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit 36389d83d7eaa9b14236b14c46f1e5101a471b8f Author: Takeshi Abe <t...@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 <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits