summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 14:17:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 06:10:13 +0000
commitdda87c6a461174def7334d2c0aac87d4eb8ab7cf (patch)
tree5df11e6c072f4aa8c85570d057bbc2cd1cccb8e5 /sc/source/filter/inc
parentResolves: tdf#103701 bulk-broadcast the correct hint ID for formula groups (diff)
downloadcore-dda87c6a461174def7334d2c0aac87d4eb8ab7cf.tar.gz
core-dda87c6a461174def7334d2c0aac87d4eb8ab7cf.zip
loplugin:unnecessaryvirtual in sc..scaddins
Change-Id: I4a2d333984827f363ea76580993438d704f9738f Reviewed-on: https://gerrit.libreoffice.org/30660 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r--sc/source/filter/inc/fprogressbar.hxx4
-rw-r--r--sc/source/filter/inc/namebuff.hxx4
-rw-r--r--sc/source/filter/inc/xltracer.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/filter/inc/fprogressbar.hxx b/sc/source/filter/inc/fprogressbar.hxx
index dc2fd81a6a3d..862a820d0ed7 100644
--- a/sc/source/filter/inc/fprogressbar.hxx
+++ b/sc/source/filter/inc/fprogressbar.hxx
@@ -100,7 +100,7 @@ const sal_Int32 SCF_INV_SEGMENT = -1;
// not allowed (second segment active): aProgress.Progress();
// not allowed (first segment not empty): aProgress.GetSegmentProgressBar( nSeg1 );
*/
-class ScfProgressBar
+class ScfProgressBar final
{
public:
ScfProgressBar(const ScfProgressBar&) = delete;
@@ -108,7 +108,7 @@ public:
explicit ScfProgressBar( SfxObjectShell* pDocShell, const OUString& rText );
explicit ScfProgressBar( SfxObjectShell* pDocShell, sal_uInt16 nResId );
- virtual ~ScfProgressBar();
+ ~ScfProgressBar();
/** Adds a new segment to the progress bar.
@return the identifier of the segment. */
diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx
index 71c8978a3c44..28167ac2b684 100644
--- a/sc/source/filter/inc/namebuff.hxx
+++ b/sc/source/filter/inc/namebuff.hxx
@@ -127,7 +127,7 @@ public:
const ScTokenArray* Find( const ScAddress& rRefPos ) const;
};
-class RangeNameBufferWK3
+class RangeNameBufferWK3 final
{
private:
struct Entry
@@ -157,7 +157,7 @@ private:
public:
RangeNameBufferWK3(LOTUS_ROOT* pLotRoot);
- virtual ~RangeNameBufferWK3();
+ ~RangeNameBufferWK3();
void Add( const OUString& rName, const ScComplexRefData& rCRD );
inline void Add( const OUString& rName, const ScRange& aScRange );
bool FindRel( const OUString& rRef, sal_uInt16& rIndex );
diff --git a/sc/source/filter/inc/xltracer.hxx b/sc/source/filter/inc/xltracer.hxx
index f3f1b1e4bd07..bc69f89a0485 100644
--- a/sc/source/filter/inc/xltracer.hxx
+++ b/sc/source/filter/inc/xltracer.hxx
@@ -48,11 +48,11 @@ enum XclTracerId
};
/** This class wraps an MSFilterTracer to create trace logs for import/export filters. */
-class XclTracer
+class XclTracer final
{
public:
explicit XclTracer( const OUString& rDocUrl );
- virtual ~XclTracer();
+ ~XclTracer();
/** Returns true, if tracing is enabled. */
inline bool IsEnabled() const { return mbEnabled; }