summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-12-02 19:36:51 +0100
committerAlbert Astals Cid <aacid@kde.org>2019-12-02 19:36:51 +0100
commit53a4fbbbbbcb5d2a48a140b70af9d3177ebe02c2 (patch)
tree3bcc71d9694f306ecb169444d060ddf888f8b232 /splash
parent3caf1a7a54372f74090caf284ddd3e8e94286d49 (diff)
Enable modernize-use-override
not claiming copyright for this since it's a mechanical change
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashFTFont.h2
-rw-r--r--splash/SplashFTFontFile.h2
-rw-r--r--splash/SplashPattern.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/splash/SplashFTFont.h b/splash/SplashFTFont.h
index b2c90c42..70e697f9 100644
--- a/splash/SplashFTFont.h
+++ b/splash/SplashFTFont.h
@@ -43,7 +43,7 @@ public:
SplashFTFont(SplashFTFontFile *fontFileA, SplashCoord *matA,
const SplashCoord *textMatA);
- virtual ~SplashFTFont();
+ ~SplashFTFont() override;
// Munge xFrac and yFrac before calling SplashFont::getGlyph.
bool getGlyph(int c, int xFrac, int yFrac,
diff --git a/splash/SplashFTFontFile.h b/splash/SplashFTFontFile.h
index b2217004..141702a2 100644
--- a/splash/SplashFTFontFile.h
+++ b/splash/SplashFTFontFile.h
@@ -52,7 +52,7 @@ public:
int codeToGIDLenA,
int faceIndexA=0);
- ~SplashFTFontFile();
+ ~SplashFTFontFile() override;
// Create a new SplashFTFont, i.e., a scaled instance of this font
// file.
diff --git a/splash/SplashPattern.h b/splash/SplashPattern.h
index 3304ae70..ce7eb446 100644
--- a/splash/SplashPattern.h
+++ b/splash/SplashPattern.h
@@ -68,7 +68,7 @@ public:
SplashPattern *copy() override { return new SplashSolidColor(color); }
- ~SplashSolidColor();
+ ~SplashSolidColor() override;
bool getColor(int x, int y, SplashColorPtr c) override;