summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-22 09:52:13 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 14:34:21 +0200
commitdb8067145f0126402be39042934e11228a1b42e9 (patch)
tree0a9d18faaf0c862cc544e6a991b32a68bbb40e28 /filter
parent14420e83296fd393cba956047370564c3517cdae (diff)
loplugin:write only fields
Change-Id: I44f249a17d0a510ec63a488b656d57a1a392f821
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/viscache.hxx3
-rw-r--r--filter/source/svg/svgwriter.cxx2
-rw-r--r--filter/source/svg/svgwriter.hxx1
3 files changed, 0 insertions, 6 deletions
diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx
index cf91eda47103..d4afde6df34d 100644
--- a/filter/source/msfilter/viscache.hxx
+++ b/filter/source/msfilter/viscache.hxx
@@ -29,7 +29,6 @@ class Impl_OlePres
{
SotClipboardFormatId nFormat;
sal_uInt16 nAspect;
- Bitmap * pBmp;
GDIMetaFile * pMtf;
sal_uInt32 nAdvFlags;
@@ -40,7 +39,6 @@ public:
explicit Impl_OlePres( SotClipboardFormatId nF )
: nFormat( nF )
, nAspect( ASPECT_CONTENT )
- , pBmp( nullptr )
, pMtf( nullptr )
, nAdvFlags( 0x2 ) // in Dokument gefunden
, nJobLen( 0 )
@@ -49,7 +47,6 @@ public:
~Impl_OlePres()
{
delete pJob;
- delete pBmp;
delete pMtf;
}
void SetMtf( const GDIMetaFile & rMtf )
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 89d954d6bbbb..6c6ff63ba3b4 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -97,14 +97,12 @@ SVGAttributeWriter::SVGAttributeWriter( SVGExport& rExport, SVGFontExport& rFont
: mrExport( rExport )
, mrFontExport( rFontExport )
, mpElemFont( nullptr )
- , mpElemPaint( nullptr )
{
}
SVGAttributeWriter::~SVGAttributeWriter()
{
- delete mpElemPaint;
delete mpElemFont;
}
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx
index 9eb27d2b96fd..28c9eae65d0b 100644
--- a/filter/source/svg/svgwriter.hxx
+++ b/filter/source/svg/svgwriter.hxx
@@ -88,7 +88,6 @@ private:
SVGExport& mrExport;
SVGFontExport& mrFontExport;
SvXMLElementExport* mpElemFont;
- SvXMLElementExport* mpElemPaint;
SVGAttributeWriter();