summaryrefslogtreecommitdiff
path: root/filter/source/svg/svgwriter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 09:53:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 12:24:28 +0200
commit5dd762ddc1829a86e7b4e23076143bc01d6073ad (patch)
tree90ac69d1bab369bc054ac84ede13ec3c87075642 /filter/source/svg/svgwriter.cxx
parent9bd372218dfea3fb70d503d7532ee2b144ada136 (diff)
hold MetaAction by rtl::Reference
instead of yet another private implementation of manual reference counting Change-Id: Iefb1d2e595e45a2dfdc3be54e1c51b64afeaf9d8 Reviewed-on: https://gerrit.libreoffice.org/52753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/svg/svgwriter.cxx')
-rw-r--r--filter/source/svg/svgwriter.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 12b872a0a588..b414cc573f46 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -1871,7 +1871,6 @@ BitmapChecksum SVGActionWriter::GetChecksum( const MetaAction* pAction )
{
GDIMetaFile aMtf;
MetaAction* pA = const_cast<MetaAction*>(pAction);
- pA->Duplicate();
aMtf.AddAction( pA );
return aMtf.GetChecksum();
}