[Libreoffice-commits] .: filter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 6 07:43:45 PST 2012


 filter/source/svg/svgwriter.cxx |    5 ++---
 filter/source/svg/svgwriter.hxx |    3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

New commits:
commit d96c0ee8e9ad0f777bed009e87401e6f684af446
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 6 16:43:16 2012 +0100

    -Werror,-Wunused-private-field
    
    Change-Id: Ia567a2e7f8089ad193af98443e5d662e744fcff7

diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 2f269ba..332ff7e 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 ebffda9..ce2e441 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 );


More information about the Libreoffice-commits mailing list