From f2be3d31cde821f5c1128deae7f2b95361ac1db9 Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 21 Oct 2020 07:49:00 +0200 Subject: convert some tools::Long->sal_Int32 in places where it is obvious we only need a sal_Int32, because we are dealing with rows and columns, and not even calc needs more than 32 bits for that. Change-Id: I114417e639c224d45bfd9fc6838122ab195eefa3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104584 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/inc/dialog.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index b6210a1d2537..cb3fcc677069 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -248,7 +248,7 @@ class SmShowSymbolSet final : public weld::CustomWidgetController Link aSelectHdlLink; Link aDblClickHdlLink; tools::Long nLen; - tools::Long nRows, nColumns; + sal_Int32 nRows, nColumns; tools::Long nXOffset, nYOffset; sal_uInt16 nSelectSymbol; std::unique_ptr m_xScrolledWindow; -- cgit