[Libreoffice-commits] core.git: include/drawinglayer

Noel Grandin noel at peralex.com
Wed Jul 15 04:34:11 PDT 2015


 include/drawinglayer/attribute/fontattribute.hxx         |    3 ---
 include/drawinglayer/attribute/materialattribute3d.hxx   |    3 ---
 include/drawinglayer/attribute/sdrlightattribute3d.hxx   |    3 ---
 include/drawinglayer/attribute/sdrobjectattribute3d.hxx  |    3 ---
 include/drawinglayer/geometry/viewinformation2d.hxx      |    3 ---
 include/drawinglayer/primitive2d/graphicprimitive2d.hxx  |    1 -
 include/drawinglayer/primitive2d/textbreakuphelper.hxx   |    1 -
 include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx |   12 ------------
 include/drawinglayer/processor2d/hittestprocessor2d.hxx  |    7 -------
 include/drawinglayer/processor3d/cutfindprocessor3d.hxx  |    6 ------
 include/drawinglayer/processor3d/geometry2dextractor.hxx |    1 -
 include/drawinglayer/texture/texture.hxx                 |    4 ----
 include/drawinglayer/texture/texture3d.hxx               |    3 ---
 13 files changed, 50 deletions(-)

New commits:
commit b303f274ab385887bd1e57c6a4e608c8d075b551
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Jul 15 10:37:10 2015 +0200

    loplugin:unusedmethods drawinglayer
    
    Change-Id: If28de80a09fbc8e72df9e919cce66cf425134d4c
    Reviewed-on: https://gerrit.libreoffice.org/17062
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/drawinglayer/attribute/fontattribute.hxx b/include/drawinglayer/attribute/fontattribute.hxx
index 001aa0b..d053e42 100644
--- a/include/drawinglayer/attribute/fontattribute.hxx
+++ b/include/drawinglayer/attribute/fontattribute.hxx
@@ -72,9 +72,6 @@ namespace drawinglayer
             FontAttribute& operator=(const FontAttribute& rCandidate);
             ~FontAttribute();
 
-            // checks if the incarnation is default constructed
-            bool isDefault() const;
-
             // compare operator
             bool operator==(const FontAttribute& rCandidate) const;
 
diff --git a/include/drawinglayer/attribute/materialattribute3d.hxx b/include/drawinglayer/attribute/materialattribute3d.hxx
index 69dfbc6..7ab2432 100644
--- a/include/drawinglayer/attribute/materialattribute3d.hxx
+++ b/include/drawinglayer/attribute/materialattribute3d.hxx
@@ -63,9 +63,6 @@ namespace drawinglayer
             // assignment operator
             MaterialAttribute3D& operator=(const MaterialAttribute3D& rCandidate);
 
-            // checks if the incarnation is default constructed
-            bool isDefault() const;
-
             // compare operator
             bool operator==(const MaterialAttribute3D& rCandidate) const;
 
diff --git a/include/drawinglayer/attribute/sdrlightattribute3d.hxx b/include/drawinglayer/attribute/sdrlightattribute3d.hxx
index a05343c..2db3690 100644
--- a/include/drawinglayer/attribute/sdrlightattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrlightattribute3d.hxx
@@ -62,9 +62,6 @@ namespace drawinglayer
             // assignment operator
             Sdr3DLightAttribute& operator=(const Sdr3DLightAttribute& rCandidate);
 
-            // checks if the incarnation is default constructed
-            bool isDefault() const;
-
             // compare operator
             bool operator==(const Sdr3DLightAttribute& rCandidate) const;
 
diff --git a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
index 8728235..f1fee75 100644
--- a/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
+++ b/include/drawinglayer/attribute/sdrobjectattribute3d.hxx
@@ -70,9 +70,6 @@ namespace drawinglayer
             // assignment operator
             Sdr3DObjectAttribute& operator=(const Sdr3DObjectAttribute& rCandidate);
 
-            // checks if the incarnation is default constructed
-            bool isDefault() const;
-
             // compare operator
             bool operator==(const Sdr3DObjectAttribute& rCandidate) const;
 
diff --git a/include/drawinglayer/geometry/viewinformation2d.hxx b/include/drawinglayer/geometry/viewinformation2d.hxx
index 2358c75..967959f 100644
--- a/include/drawinglayer/geometry/viewinformation2d.hxx
+++ b/include/drawinglayer/geometry/viewinformation2d.hxx
@@ -118,9 +118,6 @@ namespace drawinglayer
             /// destructor
             ~ViewInformation2D();
 
-            // checks if the incarnation is default constructed
-            bool isDefault() const;
-
             /// assignment operator
             ViewInformation2D& operator=(const ViewInformation2D& rCandidate);
 
diff --git a/include/drawinglayer/primitive2d/graphicprimitive2d.hxx b/include/drawinglayer/primitive2d/graphicprimitive2d.hxx
index 91cc44e..8546c6b 100644
--- a/include/drawinglayer/primitive2d/graphicprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/graphicprimitive2d.hxx
@@ -77,7 +77,6 @@ namespace drawinglayer
             const basegfx::B2DHomMatrix& getTransform() const { return maTransform; }
             const GraphicObject& getGraphicObject() const { return maGraphicObject; }
             const GraphicAttr& getGraphicAttr() const { return maGraphicAttr; }
-            bool isTransparent() const;
 
             /// compare operator
             virtual bool operator==(const BasePrimitive2D& rPrimitive) const SAL_OVERRIDE;
diff --git a/include/drawinglayer/primitive2d/textbreakuphelper.hxx b/include/drawinglayer/primitive2d/textbreakuphelper.hxx
index b511e94..1f6d598 100644
--- a/include/drawinglayer/primitive2d/textbreakuphelper.hxx
+++ b/include/drawinglayer/primitive2d/textbreakuphelper.hxx
@@ -63,7 +63,6 @@ namespace drawinglayer
 
             /// allow read access to evtl. useful local parts
             const TextLayouterDevice& getTextLayouter() const { return maTextLayouter; }
-            const basegfx::tools::B2DHomMatrixBufferedOnDemandDecompose& getDecTrans() const { return maDecTrans; }
             const TextSimplePortionPrimitive2D& getSource() const { return mrSource; }
 
         public:
diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
index a321d90..6b4c922 100644
--- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx
@@ -75,18 +75,6 @@ namespace drawinglayer
             const Slice3DVector& getSlices() const;
 
         protected:
-            /// local helpers
-            void impCreateOutlines(
-                const geometry::ViewInformation3D& rViewInformation,
-                const basegfx::B3DPolygon& rLoopA,
-                const basegfx::B3DPolygon& rLoopB,
-                basegfx::B3DPolyPolygon& rTarget) const;
-
-            bool impHasCutWith(
-                const basegfx::B2DPolygon& rPoly,
-                const basegfx::B2DPoint& rStart,
-                const basegfx::B2DPoint& rEnd) const;
-
             /// local decomposition.
             virtual Primitive3DSequence create3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const SAL_OVERRIDE;
 
diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
index 66bd119..b79187c 100644
--- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx
+++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx
@@ -83,17 +83,10 @@ namespace drawinglayer
                 bool bTiledRendering);
             virtual ~HitTestProcessor2D();
 
-            /// data write access
-            void setUseInvisiblePrimitiveContent(bool bNew)
-            {
-                if((bool)mbUseInvisiblePrimitiveContent != bNew) mbUseInvisiblePrimitiveContent = bNew;
-            }
-
             /// data read access
             const basegfx::B2DPoint& getDiscreteHitPosition() const { return maDiscreteHitPosition; }
             double getDiscreteHitTolerance() const { return mfDiscreteHitTolerance; }
             bool getHit() const { return mbHit; }
-            bool getHitToleranceUsed() const { return mbHitToleranceUsed; }
             bool getUseInvisiblePrimitiveContent() const { return mbUseInvisiblePrimitiveContent;}
             bool getHitTextOnly() const { return mbHitTextOnly; }
         };
diff --git a/include/drawinglayer/processor3d/cutfindprocessor3d.hxx b/include/drawinglayer/processor3d/cutfindprocessor3d.hxx
index 1d6b76a..23cd58a 100644
--- a/include/drawinglayer/processor3d/cutfindprocessor3d.hxx
+++ b/include/drawinglayer/processor3d/cutfindprocessor3d.hxx
@@ -70,12 +70,6 @@ namespace drawinglayer
                 const basegfx::B3DPoint& rBack,
                 bool bAnyHit);
 
-            /// data write access
-            void setUseInvisiblePrimitiveContent(bool bNew)
-            {
-                if((bool)mbUseInvisiblePrimitiveContent != bNew) mbUseInvisiblePrimitiveContent = bNew;
-            }
-
             /// data read access
             const ::std::vector< basegfx::B3DPoint >& getCutPoints() const { return maResult; }
             bool getAnyHit() const { return mbAnyHit; }
diff --git a/include/drawinglayer/processor3d/geometry2dextractor.hxx b/include/drawinglayer/processor3d/geometry2dextractor.hxx
index 194f38c..a09d5e7 100644
--- a/include/drawinglayer/processor3d/geometry2dextractor.hxx
+++ b/include/drawinglayer/processor3d/geometry2dextractor.hxx
@@ -65,7 +65,6 @@ namespace drawinglayer
             // data read access
             const primitive2d::Primitive2DSequence& getPrimitive2DSequence() const { return maPrimitive2DSequence; }
             const basegfx::B2DHomMatrix& getObjectTransformation() const { return maObjectTransformation; }
-            const basegfx::BColorModifierStack& getBColorModifierStack() const { return maBColorModifierStack; }
         };
     } // end of namespace processor3d
 } // end of namespace drawinglayer
diff --git a/include/drawinglayer/texture/texture.hxx b/include/drawinglayer/texture/texture.hxx
index daa0348..69289e1 100644
--- a/include/drawinglayer/texture/texture.hxx
+++ b/include/drawinglayer/texture/texture.hxx
@@ -97,10 +97,6 @@ namespace drawinglayer
             virtual void appendTransformationsAndColors(
                 std::vector< B2DHomMatrixAndBColor >& rEntries,
                 basegfx::BColor& rOuterColor) = 0;
-
-            // data access
-            const basegfx::BColor& getStart() const { return maStart; }
-            const basegfx::BColor& getEnd() const { return maEnd; }
         };
     } // end of namespace texture
 } // end of namespace drawinglayer
diff --git a/include/drawinglayer/texture/texture3d.hxx b/include/drawinglayer/texture/texture3d.hxx
index 9a033c7..e92eb78 100644
--- a/include/drawinglayer/texture/texture3d.hxx
+++ b/include/drawinglayer/texture/texture3d.hxx
@@ -142,9 +142,6 @@ namespace drawinglayer
             virtual ~GeoTexSvxMultiHatch();
             virtual void modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor, double& rfOpacity) const SAL_OVERRIDE;
             virtual void modifyOpacity(const basegfx::B2DPoint& rUV, double& rfOpacity) const SAL_OVERRIDE;
-
-            // dada access
-            bool getFillBackground() const { return mbFillBackground; }
         };
     } // end of namespace texture
 } // end of namespace drawinglayer


More information about the Libreoffice-commits mailing list