diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 09:05:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 09:24:41 +0000 |
commit | 8c1bac8d8eb39e78a2e10993c0cd52ec28ae24de (patch) | |
tree | 72903d844a18564e79dd9a9badc367803542ca24 | |
parent | ae8d4fd4fd049fa020d59bf4c743c4f7d0788d43 (diff) |
loplugin:unnecessaryvirtual
Change-Id: I5076f8700ee29cfec3875dfbc4b149229d776712
Reviewed-on: https://gerrit.libreoffice.org/35823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/oox/core/fastparser.hxx | 5 | ||||
-rw-r--r-- | include/svl/undo.hxx | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/oox/core/fastparser.hxx b/include/oox/core/fastparser.hxx index bbfd28dffa8b..6af112d18d93 100644 --- a/include/oox/core/fastparser.hxx +++ b/include/oox/core/fastparser.hxx @@ -28,6 +28,7 @@ #include <rtl/ustring.hxx> #include <rtl/ref.hxx> #include <sal/types.h> +#include <oox/dllapi.h> namespace com { namespace sun { namespace star { namespace io { class XInputStream; } @@ -54,7 +55,7 @@ namespace core { /** Wrapper for a fast SAX parser that works on automatically generated OOXML token and namespace identifiers. */ -class FastParser +class OOX_DLLPUBLIC FastParser { public: /// @throws css::uno::RuntimeException @@ -63,7 +64,7 @@ public: FastParser(const FastParser&) = delete; FastParser& operator=(const FastParser&) = delete; - virtual ~FastParser(); + ~FastParser(); /** Registers an OOXML namespace at the parser. @throws css::lang::IllegalArgumentException diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx index abb892788cbf..b3301f6f6166 100644 --- a/include/svl/undo.hxx +++ b/include/svl/undo.hxx @@ -154,7 +154,7 @@ public: /// See SfxUndoAction::GetViewShellId(). ViewShellId GetViewShellId() const override; virtual OUString GetRepeatComment(SfxRepeatTarget&) const override; - virtual sal_uInt16 GetId() const; + sal_uInt16 GetId() const; void SetComment(const OUString& rComment); void dumpAsXml(struct _xmlTextWriter* pWriter) const override; |