summaryrefslogtreecommitdiffstats
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-09 08:49:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-10 07:59:40 +0100
commit2cfdf00a9a2f9287a822219bc8ab600edf3c0c35 (patch)
tree6f51262ac5c4add15213f8df1df11cbc8247903c /cppcanvas
parentloplugin:unusedfields (diff)
downloadcore-2cfdf00a9a2f9287a822219bc8ab600edf3c0c35.tar.gz
core-2cfdf00a9a2f9287a822219bc8ab600edf3c0c35.zip
loplugin:unnecessaryvirtual
Change-Id: I15633651aaa914918f1e7739c4f3d4793f7d800a Reviewed-on: https://gerrit.libreoffice.org/64831 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/inc/implrenderer.hxx6
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx2
2 files changed, 0 insertions, 8 deletions
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index 7cb0bb9b12aa..e02b45d20a1a 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -64,11 +64,6 @@ namespace cppcanvas
struct ActionFactoryParameters;
struct XForm;
- struct EMFPObject
- {
- virtual ~EMFPObject() {}
- };
-
// state stack of OutputDevice, to correctly handle
// push/pop actions
class VectorOfOutDevStates
@@ -218,7 +213,6 @@ namespace cppcanvas
/* EMF+ */
XForm aBaseTransform;
- std::unique_ptr<EMFPObject> aObjects [256];
/* EMF+ emf header info */
sal_Int32 nFrameLeft;
sal_Int32 nFrameTop;
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 9a41900a6208..9a88ea81a216 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -2861,8 +2861,6 @@ namespace cppcanvas
, nMmX(0)
, nMmY(0)
{
- memset (aObjects, 0, sizeof (aObjects));
-
SAL_INFO( "cppcanvas.emf", "::cppcanvas::internal::ImplRenderer::ImplRenderer(mtf)" );
OSL_ENSURE( rCanvas.get() != nullptr && rCanvas->getUNOCanvas().is(),