summaryrefslogtreecommitdiff
path: root/include/unoidl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 09:31:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:11:33 +0000
commit0f96b3f33f98ecd56f0fe55a65315d6762ff978a (patch)
treefa4f2b9dd0b7e8e9f30d6fe18c86a3e89a66352f /include/unoidl
parent41ea741cd843776cd600d33b28a7f0e35345e0d0 (diff)
loplugin:unnecessaryvirtual in test..vbahelper
Change-Id: I0e110af6eab798e11f96d0f7d282d59440d91965 Reviewed-on: https://gerrit.libreoffice.org/30649 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unoidl')
-rw-r--r--include/unoidl/unoidl.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index 4ab5d31e0047..7d9af0a0156c 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -24,14 +24,14 @@
namespace unoidl {
-class LO_DLLPUBLIC_UNOIDL NoSuchFileException {
+class LO_DLLPUBLIC_UNOIDL NoSuchFileException final {
public:
SAL_DLLPRIVATE NoSuchFileException(rtl::OUString const & uri): uri_(uri) {}
SAL_DLLPRIVATE NoSuchFileException(NoSuchFileException const & other):
uri_(other.uri_) {}
- virtual SAL_DLLPRIVATE ~NoSuchFileException() throw ();
+ SAL_DLLPRIVATE ~NoSuchFileException() throw ();
const rtl::OUString& getUri() const { return uri_; }
@@ -41,7 +41,7 @@ private:
rtl::OUString uri_;
};
-class LO_DLLPUBLIC_UNOIDL FileFormatException {
+class LO_DLLPUBLIC_UNOIDL FileFormatException final {
public:
SAL_DLLPRIVATE FileFormatException(
rtl::OUString const & uri, rtl::OUString const & detail):
@@ -52,7 +52,7 @@ public:
uri_(other.uri_), detail_(other.detail_)
{}
- virtual SAL_DLLPRIVATE ~FileFormatException() throw ();
+ SAL_DLLPRIVATE ~FileFormatException() throw ();
const rtl::OUString& getUri() const { return uri_; }