summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 14:37:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 06:10:25 +0000
commit990102be61a47a14a73a25ee320ac1033250777e (patch)
tree69ab0c8d40c266a901fd66e99b79d1c00f6c08ba /oox
parentdda87c6a461174def7334d2c0aac87d4eb8ab7cf (diff)
loplugin:unnecessaryvirtual in hwpfilter..rsc
Change-Id: I2e9df8223d503b813b4c458747e8c44bb8ef8868 Reviewed-on: https://gerrit.libreoffice.org/30661 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/drawingml/customshapeproperties.hxx5
-rw-r--r--oox/source/ole/olehelper.cxx3
2 files changed, 3 insertions, 5 deletions
diff --git a/oox/inc/drawingml/customshapeproperties.hxx b/oox/inc/drawingml/customshapeproperties.hxx
index 23feff1fa6ca..912bfd26251e 100644
--- a/oox/inc/drawingml/customshapeproperties.hxx
+++ b/oox/inc/drawingml/customshapeproperties.hxx
@@ -104,12 +104,11 @@ struct Path2D
};
-class CustomShapeProperties
+class CustomShapeProperties final
{
public:
-
CustomShapeProperties();
- virtual ~CustomShapeProperties();
+ ~CustomShapeProperties();
void pushToPropSet( const ::oox::core::FilterBase& rFilterBase,
const css::uno::Reference < css::beans::XPropertySet > & xPropSet,
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx
index 6747bbc51664..bb1ed9ce4f67 100644
--- a/oox/source/ole/olehelper.cxx
+++ b/oox/source/ole/olehelper.cxx
@@ -330,7 +330,7 @@ Reference< css::frame::XFrame > lcl_getFrame( const Reference< css::frame::XMod
return xFrame;
}
-class OleFormCtrlExportHelper
+class OleFormCtrlExportHelper final
{
::oox::ole::EmbeddedControl maControl;
::oox::ole::ControlModelBase* mpModel;
@@ -344,7 +344,6 @@ class OleFormCtrlExportHelper
OUString maGUID;
public:
OleFormCtrlExportHelper( const Reference< XComponentContext >& rxCtx, const Reference< XModel >& xDocModel, const Reference< XControlModel >& xModel );
- virtual ~OleFormCtrlExportHelper() { }
OUString getGUID()
{
OUString sResult;