summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
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(),