sc/inc/compressedarray.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dcf98b570fc33bc9ee3bdf5591c6cc92cfbf3aa1 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Sat Feb 26 14:04:35 2022 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Sat Feb 26 19:54:45 2022 +0100 ScCompressedArray doesn't need to be polymorphic It's value-based, and only inherited by ScBitMaskCompressedArray, which is also value-based and doesn't need a virtual destructor. Change-Id: I0814702107d50208aaff19690c989a501d2c4e3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130605 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/inc/compressedarray.hxx b/sc/inc/compressedarray.hxx index 010200068be5..d10db1269b6a 100644 --- a/sc/inc/compressedarray.hxx +++ b/sc/inc/compressedarray.hxx @@ -72,7 +72,7 @@ public: /** Construct with nMaxAccess=MAXROW, for example. */ ScCompressedArray( A nMaxAccess, const D& rValue ); - virtual ~ScCompressedArray(); + ~ScCompressedArray(); void Reset( const D& rValue ); void SetValue( A nPos, const D& rValue ); void SetValue( A nStart, A nEnd, const D& rValue );