diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2018-08-07 17:07:05 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2018-09-25 14:34:42 +0000 |
commit | 8d26f701456332427d0d42e342458bc4249aad4f (patch) | |
tree | 9c8e1764fdf973b3319b0dd8ebad263d54122d06 /src/gui/text/qtextodfwriter.cpp | |
parent | 264ad32827f3e65bd2730f6e4e6a22d41209b5b9 (diff) |
Remove excess "virtual" keyword from destructors in Qt Gui
Destructors whose base class have a virtual destructor are
automatically virtual and do not need to be marked as such.
Change-Id: I84c73ab965077bbb03f4213e53c241569213cae0
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/text/qtextodfwriter.cpp')
-rw-r--r-- | src/gui/text/qtextodfwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextodfwriter.cpp b/src/gui/text/qtextodfwriter.cpp index d8218ab613..5f6a24cc5d 100644 --- a/src/gui/text/qtextodfwriter.cpp +++ b/src/gui/text/qtextodfwriter.cpp @@ -89,7 +89,7 @@ public: contentStream = device; } - virtual ~QXmlStreamStrategy() + ~QXmlStreamStrategy() { if (contentStream) contentStream->close(); |