summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/graphicfilter/icgm/actimpr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx
index 6d7b1364b22b..66ff8df07ba9 100644
--- a/filter/source/graphicfilter/icgm/actimpr.cxx
+++ b/filter/source/graphicfilter/icgm/actimpr.cxx
@@ -60,7 +60,7 @@ CGMImpressOutAct::CGMImpressOutAct( CGM& rCGM, const uno::Reference< frame::XMod
mnCurrentPage = 0;
mnGroupActCount = mnGroupLevel = 0;
mpGroupLevel = new sal_uInt32[CGM_OUTACT_MAX_GROUP_LEVEL] ();
- mpPoints = reinterpret_cast<Point*>(new sal_Int8[ 0x2000 * sizeof( Point ) ]);
+ mpPoints = new Point[ 0x2000 ];
mpFlags = new PolyFlags[ 0x2000 ];
mnIndex = 0;
@@ -91,7 +91,7 @@ CGMImpressOutAct::CGMImpressOutAct( CGM& rCGM, const uno::Reference< frame::XMod
CGMImpressOutAct::~CGMImpressOutAct()
{
- delete[] reinterpret_cast<sal_Int8*>(mpPoints);
+ delete[] mpPoints;
delete[] mpFlags;
delete[] mpGroupLevel;
delete mpGradient;
ature/gtktiledviewer&id=f9c45046f39029a69f6ab90a972459d8c12f065e'>create the jnilib in the right dirDavid Tardon 2013-04-22update makefilesDavid Tardon 2013-04-22add missing package nameDavid Tardon 2013-04-15fdo#60724 correct spellingThomas Arnhold 2013-04-11[API CHANGE] WIP: Experimental new binary type.rdb formatStephan Bergmann 2013-04-10workaround IBM java 1.5.0 inconvertible types errorCaolán McNamara 2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks 2013-03-13gbuild: stop using $(OUTDIR)/idlMichael Stahl 2013-03-13fdo#60724: Fix spelling avaliable -> available.Steven Meyer