From 0d36b32755ac662299e6a8165e9fa57311b74a2f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 28 Jul 2019 12:03:35 +0200 Subject: loplugin:sequentialassign Change-Id: I56a9bf698b60bd278c71cc632aacef2bd2f4c13f Reviewed-on: https://gerrit.libreoffice.org/76501 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/externalrefmgr.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sc/inc') diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 7bd670f7cddd..ae6a7f8ab80b 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -305,8 +305,7 @@ private: { const ScAddress& s = rRange.aStart; const ScAddress& e = rRange.aEnd; - size_t hash = 17; - hash = hash * 37 + s.Tab(); + size_t hash = s.Tab(); hash = hash * 37 + s.Col(); hash = hash * 37 + s.Row(); hash = hash * 37 + e.Tab(); -- cgit