diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-09-01 11:32:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-09-06 16:28:17 +0200 |
commit | 5c365c62aafc12f16bfcfe3804f95f2bb45c7421 (patch) | |
tree | d85976cea2f125db22f500003aea2b1cc332fec4 /sc/source/core/tool | |
parent | 64f673238cf9b645a751e8f8137ca14e595a779a (diff) |
cid#1509199 silence Constant expression result
rename IsEqualData -> HasSameData
Change-Id: I6294c847c284888e5537e04dc4f84314586c4b85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139514
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r-- | sc/source/core/tool/autoform.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index 55676816bc15..32fde79e5735 100644 --- a/sc/source/core/tool/autoform.cxx +++ b/sc/source/core/tool/autoform.cxx @@ -378,7 +378,7 @@ const ScNumFormatAbbrev& ScAutoFormatData::GetNumFormat( sal_uInt16 nIndex ) con return GetField( nIndex ).GetNumFormat(); } -bool ScAutoFormatData::IsEqualData( sal_uInt16 nIndex1, sal_uInt16 nIndex2 ) const +bool ScAutoFormatData::HasSameData( sal_uInt16 nIndex1, sal_uInt16 nIndex2 ) const { bool bEqual = true; const ScAutoFormatDataField& rField1 = GetField( nIndex1 ); |