[Libreoffice-commits] core.git: include/vcl include/xmloff xmloff/source

Noel Grandin noel at peralex.com
Tue Dec 22 01:45:14 PST 2015


 include/vcl/animate.hxx              |    2 --
 include/vcl/opengl/OpenGLContext.hxx |    3 ---
 include/vcl/print.hxx                |    4 +---
 include/xmloff/shapeimport.hxx       |    2 --
 xmloff/source/draw/shapeimport.cxx   |    1 -
 5 files changed, 1 insertion(+), 11 deletions(-)

New commits:
commit 44f2edbf7a4f6f369a670ba32e7d1cc354c4fd6d
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Dec 22 10:12:28 2015 +0200

    loplugin:unusedfields in include/vcl
    
    Change-Id: I61fc04e00970ea0d398ff80f6b1f81ec2f62dd5e
    Reviewed-on: https://gerrit.libreoffice.org/20868
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index 52e81fb..9938240 100644
--- a/include/vcl/animate.hxx
+++ b/include/vcl/animate.hxx
@@ -93,8 +93,6 @@ struct VCL_DLLPUBLIC AnimationBitmap
 
 struct AInfo
 {
-    Bitmap          aLastSaveBitmap;
-    Bitmap          aBackBitmap;
     Point           aStartOrg;
     Size            aStartSize;
     VclPtr<OutputDevice>   pOutDev;
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index d744bfb..6f5ba5f 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -242,9 +242,6 @@ private:
     typedef std::unordered_map< rtl::OString, std::shared_ptr<OpenGLProgram>, ProgramHash > ProgramCollection;
     ProgramCollection maPrograms;
     OpenGLProgram* mpCurrentProgram;
-#ifdef DBG_UTIL
-    std::set<SalGraphicsImpl*> maParents;
-#endif
 
 public:
     vcl::Region maClipRegion;
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index bb30f8e..6340095 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -63,13 +63,11 @@ enum PrinterSupport
 class VCL_DLLPUBLIC PrinterPage
 {
     GDIMetaFile*    mpMtf;
-    JobSetup        maJobSetup;
 
 public:
 
                     PrinterPage() : mpMtf( new GDIMetaFile() ) {}
-                    PrinterPage( GDIMetaFile* pMtf, const JobSetup& rSetup )
-                        : mpMtf( pMtf ), maJobSetup( rSetup ) {}
+                    PrinterPage( GDIMetaFile* pMtf ) : mpMtf( pMtf ) {}
                     ~PrinterPage() { delete mpMtf; }
 };
 
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index b347ec4..bad4b36 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -273,8 +273,6 @@ class XMLOFF_DLLPUBLIC XMLShapeImportHelper : public salhelper::SimpleReferenceO
 
     XMLShapeImportPageContextImpl*  mpPageContext;
 
-    css::uno::Reference< css::frame::XModel > mxModel;
-
     // PropertySetMappers and factory
     XMLSdPropHdlFactory*        mpSdPropHdlFactory;
     SvXMLImportPropertyMapper*      mpPropertySetMapper;
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 8ff67a3..18b7dd9 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -110,7 +110,6 @@ XMLShapeImportHelper::XMLShapeImportHelper(
         SvXMLImportPropertyMapper *pExtMapper )
 :   mpImpl( new XMLShapeImportHelperImpl() ),
     mpPageContext(nullptr),
-    mxModel(rModel),
 
     mpPropertySetMapper(nullptr),
     mpPresPagePropsMapper(nullptr),


More information about the Libreoffice-commits mailing list