diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 1da77046d5cf..80c77c4e4781 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -200,6 +200,7 @@ public: virtual bool Compare( int nIdx1, int nIdx2 ) const = 0; virtual int GetLen1() const = 0; virtual int GetLen2() const = 0; + virtual ~ArrayComparator() {} }; // Consider two lines equal if similar enough (e.g. look like different