summaryrefslogtreecommitdiff
path: root/filter/source/svg
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-06 16:43:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-06 16:43:16 +0100
commitd96c0ee8e9ad0f777bed009e87401e6f684af446 (patch)
treefa50ec3716f899cec21de2227af14df3ca01180e /filter/source/svg
parentb13abba277397464a2cde3604aaca780191e5d97 (diff)
-Werror,-Wunused-private-field
Change-Id: Ia567a2e7f8089ad193af98443e5d662e744fcff7
Diffstat (limited to 'filter/source/svg')
-rw-r--r--filter/source/svg/svgwriter.cxx5
-rw-r--r--filter/source/svg/svgwriter.hxx3
2 files changed, 3 insertions, 5 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 2f269ba9fda9..332ff7ef58d2 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -440,9 +440,8 @@ void SVGAttributeWriter::setFontFamily()
// - SVGTextWriter -
// -------------------
-SVGTextWriter::SVGTextWriter( SVGExport& rExport, SVGFontExport& rFontExport )
+SVGTextWriter::SVGTextWriter( SVGExport& rExport )
: mrExport( rExport ),
- mrFontExport( rFontExport ),
mpContext( NULL ),
mpVDev( NULL ),
mbIsTextShapeStarted( sal_False ),
@@ -1941,7 +1940,7 @@ SVGActionWriter::SVGActionWriter( SVGExport& rExport, SVGFontExport& rFontExport
mrExport( rExport ),
mrFontExport( rFontExport ),
mpContext( NULL ),
- maTextWriter( rExport, rFontExport ),
+ maTextWriter( rExport ),
mnInnerMtfCount( 0 ),
mbClipAttrChanged( sal_False )
{
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx
index ebffda9a5f10..ce2e441ce8b1 100644
--- a/filter/source/svg/svgwriter.hxx
+++ b/filter/source/svg/svgwriter.hxx
@@ -196,7 +196,6 @@ class SVGTextWriter
private:
SVGExport& mrExport;
- SVGFontExport& mrFontExport;
SVGAttributeWriter* mpContext;
VirtualDevice* mpVDev;
sal_Bool mbIsTextShapeStarted;
@@ -230,7 +229,7 @@ class SVGTextWriter
Font maParentFont;
public:
- SVGTextWriter( SVGExport& rExport, SVGFontExport& rFontExport );
+ SVGTextWriter( SVGExport& rExport );
virtual ~SVGTextWriter();
sal_Int32 setTextPosition( const GDIMetaFile& rMtf, sal_uLong& nCurAction );