summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-08 13:53:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-09 07:28:18 +0100
commitccb6b8967ce3d84bb141379e51a339544f753446 (patch)
treed355f45a0f366b172da16337e627036c024da1d2 /include
parentuitest for bug tdf#123547 (diff)
downloadcore-ccb6b8967ce3d84bb141379e51a339544f753446.tar.gz
core-ccb6b8967ce3d84bb141379e51a339544f753446.zip
loplugin:unnecessaryvirtual
Change-Id: I1fcde14b66ce80157cbebe7f3ec8c5ced1e13143 Reviewed-on: https://gerrit.libreoffice.org/68937 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/filter/PngImageReader.hxx2
-rw-r--r--include/xmloff/xmlstyle.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/include/vcl/filter/PngImageReader.hxx b/include/vcl/filter/PngImageReader.hxx
index 262a09bd7934..d15e7d8e31c7 100644
--- a/include/vcl/filter/PngImageReader.hxx
+++ b/include/vcl/filter/PngImageReader.hxx
@@ -26,8 +26,6 @@ class VCL_DLLPUBLIC PngImageReader
public:
PngImageReader(SvStream& rStream);
- virtual ~PngImageReader() {}
-
bool read(BitmapEx& rBitmap);
};
diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx
index 00e9d7b285bc..271f75bde520 100644
--- a/include/xmloff/xmlstyle.hxx
+++ b/include/xmloff/xmlstyle.hxx
@@ -214,7 +214,7 @@ public:
sal_uInt16 nFamily,
const OUString& rName,
bool bCreateIndex = false ) const;
- virtual sal_uInt16 GetFamily( const OUString& rFamily ) const;
+ static sal_uInt16 GetFamily( const OUString& rFamily );
virtual rtl::Reference < SvXMLImportPropertyMapper > GetImportPropertyMapper(
sal_uInt16 nFamily ) const;