summaryrefslogtreecommitdiff
path: root/writerfilter/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-06-23 10:31:52 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-06-23 14:14:01 +0200
commitbcbdb64a60d88aa19842582a8a8e3f438a0d0642 (patch)
tree9f756e2d613adf31bda94e307dea572398270ed0 /writerfilter/inc
parentfbd21472afe4c9fd1af3620fc50fcc642ea9ddd6 (diff)
writerfilter: remove redundant virtual keywords in the RTF import
Also use default member initializers where possible. Change-Id: I535c467cb0d604863a47aafbe42dcf3498c8717c Reviewed-on: https://gerrit.libreoffice.org/39155 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'writerfilter/inc')
-rw-r--r--writerfilter/inc/rtftok/RTFDocument.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx b/writerfilter/inc/rtftok/RTFDocument.hxx
index 086b39a8ce5a..2ee3f5fbba41 100644
--- a/writerfilter/inc/rtftok/RTFDocument.hxx
+++ b/writerfilter/inc/rtftok/RTFDocument.hxx
@@ -29,10 +29,10 @@ public:
/// Pointer to this stream.
using Pointer_t = std::shared_ptr<RTFDocument>;
- virtual ~RTFDocument() { }
+ virtual ~RTFDocument() = default;
/// Resolves this document to a stream handler.
- virtual void resolve(Stream& rHandler) override = 0;
+ void resolve(Stream& rHandler) override = 0;
};
/// Interface to create an RTFDocument instance.