diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 08:32:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 08:57:05 +0000 |
commit | f606a6b248956094a14c15d8154af5f8522e415b (patch) | |
tree | 706e1c8708627fd3819f84972e7baf17036fe720 /include | |
parent | 98460e7a502e61f8885c6fb960f0f9fa69de4f3e (diff) |
loplugin:unnecessaryvirtual in basctl..chart2
Change-Id: Id4eeb12792c3a66b68a907cb459ab437e3d64e4c
Reviewed-on: https://gerrit.libreoffice.org/30680
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/basic/codecompletecache.hxx | 4 | ||||
-rw-r--r-- | include/codemaker/global.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/basic/codecompletecache.hxx b/include/basic/codecompletecache.hxx index 07e6c37f3e43..f1c3a9f107d4 100644 --- a/include/basic/codecompletecache.hxx +++ b/include/basic/codecompletecache.hxx @@ -70,7 +70,7 @@ public: static void SetAutoCorrectOn( bool b ); }; -class BASIC_DLLPUBLIC CodeCompleteDataCache +class BASIC_DLLPUBLIC CodeCompleteDataCache final { /* * cache to store data for @@ -82,7 +82,7 @@ private: public: CodeCompleteDataCache(){} - virtual ~CodeCompleteDataCache(){} + ~CodeCompleteDataCache(){} friend BASIC_DLLPUBLIC std::ostream& operator<< (std::ostream& aStream, const CodeCompleteDataCache& aCache); diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx index d9dc636e4475..f17141178139 100644 --- a/include/codemaker/global.hxx +++ b/include/codemaker/global.hxx @@ -37,11 +37,11 @@ typedef ::std::set< ::rtl::OString > StringSet; // FileStream -class FileStream +class FileStream final { public: FileStream(); - virtual ~FileStream(); + ~FileStream(); bool isValid(); @@ -84,11 +84,11 @@ bool removeTypeFile(const ::rtl::OString& fileName); ::rtl::OUString convertToFileUrl(const ::rtl::OString& fileName); -class CannotDumpException { +class CannotDumpException final { public: CannotDumpException(OUString const & message): message_(message) {} - virtual ~CannotDumpException() throw (); + ~CannotDumpException() throw (); const OUString& getMessage() const { return message_; } |