summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-15 10:37:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-15 11:33:46 +0000
commitb303f274ab385887bd1e57c6a4e608c8d075b551 (patch)
treed4308cc70fca3cf07ade6f5053628e4a01e308b2
parent269bf161e6904f33dda21e319982bfb119f24592 (diff)
loplugin:unusedmethods drawinglayer
Change-Id: If28de80a09fbc8e72df9e919cce66cf425134d4c Reviewed-on: https://gerrit.libreoffice.org/17062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--include/drawinglayer/attribute/fontattribute.hxx3
-rw-r--r--include/drawinglayer/attribute/materialattribute3d.hxx3
-rw-r--r--include/drawinglayer/attribute/sdrlightattribute3d.hxx3
-rw-r--r--include/drawinglayer/attribute/sdrobjectattribute3d.hxx3
-rw-r--r--include/drawinglayer/geometry/viewinformation2d.hxx3
-rw-r--r--include/drawinglayer/primitive2d/graphicprimitive2d.hxx1
-rw-r--r--include/drawinglayer/primitive2d/textbreakuphelper.hxx1
-rw-r--r--include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx12
-rw-r--r--include/drawinglayer/processor2d/hittestprocessor2d.hxx7
-rw-r--r--include/drawinglayer/processor3d/cutfindprocessor3d.hxx6
-rw-r--r--include/drawinglayer/processor3d/geometry2dextractor.hxx1
-rw-r--r--include/drawinglayer/texture/texture.hxx4
-rw-r--r--include/drawinglayer/texture/texture3d.hxx3
13 files changed, 0 insertions, 50 deletions
diff --git a/include/drawinglayer/attribute/fontattribute.hxx b/include/drawinglayer/attribute/fontattribute.hxx
index 001aa0b20a28..d053e42edd85 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 69dfbc6e4f1a..7ab243214dc8 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 a05343cac680..2db369076538 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 872823505de7..f1fee75eb386 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 2358c759cd85..967959feaa3b 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 91cc44eec6cb..8546c6ba84c3 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 b511e9472ff5..1f6d598f08fa 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 a321d900253a..6b4c9228a8b9 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 66bd119f59fc..b79187c0fcc5 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 1d6b76abc9cd..23cd58a8e678 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 194f38c9422a..a09d5e7f469e 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 daa0348103a3..69289e1be8ef 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 9a033c7422f4..e92eb78a9c8c 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