diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-30 14:18:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-03 10:19:36 +0200 |
commit | a5c200bddd51cba75d30f37a33541778ba8223b4 (patch) | |
tree | 521c015effb8f5e3089f71122b31bbb959ad4a8b /include | |
parent | 09a4d2faa429cc52d603abc55d99723f39dc9023 (diff) |
loplugin:unusedfields in svx
Change-Id: I027b70ee92ab07eb68452457c3ee45de3ad22c8b
Reviewed-on: https://gerrit.libreoffice.org/39412
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/camera3d.hxx | 5 | ||||
-rw-r--r-- | include/svx/cube3d.hxx | 1 | ||||
-rw-r--r-- | include/svx/deflt3d.hxx | 1 | ||||
-rw-r--r-- | include/svx/fmsrcimp.hxx | 1 | ||||
-rw-r--r-- | include/svx/obj3d.hxx | 4 | ||||
-rw-r--r-- | include/svx/srchdlg.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdoedge.hxx | 4 | ||||
-rw-r--r-- | include/svx/view3d.hxx | 5 | ||||
-rw-r--r-- | include/svx/viewpt3d.hxx | 7 |
9 files changed, 3 insertions, 27 deletions
diff --git a/include/svx/camera3d.hxx b/include/svx/camera3d.hxx index e263acc32120..e5cf1537f13f 100644 --- a/include/svx/camera3d.hxx +++ b/include/svx/camera3d.hxx @@ -36,8 +36,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC Camera3D : public Viewport3D protected: basegfx::B3DPoint aResetPos; basegfx::B3DPoint aResetLookAt; - double fResetFocalLength; - double fResetBankAngle; basegfx::B3DPoint aPosition; basegfx::B3DPoint aLookAt; @@ -51,8 +49,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC Camera3D : public Viewport3D double fFocalLen = 35.0); Camera3D(); - void SetDefaults(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLookAt, - double fFocalLen); + void SetDefaults(const basegfx::B3DPoint& rPos, const basegfx::B3DPoint& rLookAt); void SetViewWindow(double fX, double fY, double fW, double fH); diff --git a/include/svx/cube3d.hxx b/include/svx/cube3d.hxx index 2cb6569b8e53..4a467c1bb3cc 100644 --- a/include/svx/cube3d.hxx +++ b/include/svx/cube3d.hxx @@ -67,7 +67,6 @@ private: // Parameter basegfx::B3DPoint aCubePos; basegfx::B3DVector aCubeSize; - CubeFaces nSideFlags; // BOOLeans bool bPosIsCenter : 1; diff --git a/include/svx/deflt3d.hxx b/include/svx/deflt3d.hxx index 5aaa0b8bdcdc..7641727e3cc4 100644 --- a/include/svx/deflt3d.hxx +++ b/include/svx/deflt3d.hxx @@ -52,7 +52,6 @@ private: basegfx::B3DVector aDefaultSphereSize; // Lathe object - long nDefaultLatheEndAngle; bool bDefaultLatheSmoothed; bool bDefaultLatheSmoothFrontBack; bool bDefaultLatheCharacterMode; diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx index a56933533b63..7a2b96048895 100644 --- a/include/svx/fmsrcimp.hxx +++ b/include/svx/fmsrcimp.hxx @@ -169,7 +169,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine final { css::uno::Reference< css::sdb::XColumn > xContents; sal_uInt32 nFormatKey; - bool bDoubleHandling; }; typedef std::vector<FieldInfo> FieldCollection; diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx index 58d1813d35ed..22a3f9e5db8e 100644 --- a/include/svx/obj3d.hxx +++ b/include/svx/obj3d.hxx @@ -229,10 +229,6 @@ protected: // material of the object Color aMaterialAmbientColor; - // attributes for geometry creation - bool bCreateNormals : 1; - bool bCreateTexture : 1; - protected: void SetDefaultAttributes(E3dDefaultAttributes& rDefault); diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 6c30e4bcbe9d..8042aaffe190 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -231,8 +231,6 @@ private: SvxSearchController* pSearchController; SvxSearchController* pOptionsController; SvxSearchController* pFamilyController; - SvxSearchController* pSearchSetController; - SvxSearchController* pReplaceSetController; mutable TransliterationFlags nTransliterationFlags; diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx index c4d390ea0f04..670c7ff6894f 100644 --- a/include/svx/svdoedge.hxx +++ b/include/svx/svdoedge.hxx @@ -91,7 +91,6 @@ public: sal_uInt16 nObj1Lines; // 1..3 sal_uInt16 nObj2Lines; // 1..3 sal_uInt16 nMiddleLine; // 0xFFFF=none, otherwiese point number of the beginning of the line - char cOrthoForm; // form of the right-angled connector, e.g., 'Z','U',I','L','S',... public: SdrEdgeInfoRec() @@ -99,8 +98,7 @@ public: nAngle2(0), nObj1Lines(0), nObj2Lines(0), - nMiddleLine(0xFFFF), - cOrthoForm(0) + nMiddleLine(0xFFFF) {} Point& ImpGetLineOffsetPoint(SdrEdgeLineCode eLineCode); diff --git a/include/svx/view3d.hxx b/include/svx/view3d.hxx index 9397b683e1f8..0a25eef18051 100644 --- a/include/svx/view3d.hxx +++ b/include/svx/view3d.hxx @@ -46,11 +46,6 @@ protected: Color aDefaultLightColor; // The parameters for the last colors Color aDefaultAmbientColor; - double fDefaultScaleY; - double fDefaultScaleZ; - double fDefaultRotateY; - double fDefaultRotateZ; - E3dDragConstraint eDragConstraint; // Migrate selections diff --git a/include/svx/viewpt3d.hxx b/include/svx/viewpt3d.hxx index 4d08d40c6af6..6ca043ea2db7 100644 --- a/include/svx/viewpt3d.hxx +++ b/include/svx/viewpt3d.hxx @@ -52,8 +52,7 @@ class SVX_DLLPUBLIC Viewport3D basegfx::B3DVector aVPN; // View Plane Normal basegfx::B3DVector aVUV; // View Up Vector basegfx::B3DPoint aPRP; // Projection Reference Point(View-coordinates) - // up to now only the z-coordinate is considered - double fVPD; // View Plane Distance + // up to now only the z-coordinate is considered ProjectionType eProjection; // kind of the projection tools::Rectangle aDeviceRect; // position and size of the output area @@ -67,9 +66,6 @@ class SVX_DLLPUBLIC Viewport3D // is calculated by the transformation bool bTfValid; // flag, if transformation is valid - double fWRatio; // device/view aspect ratio - double fHRatio; - public: Viewport3D(); @@ -77,7 +73,6 @@ class SVX_DLLPUBLIC Viewport3D void SetVPN(const basegfx::B3DVector& rNewVPN); void SetVUV(const basegfx::B3DVector& rNewVUV); void SetPRP(const basegfx::B3DPoint& rNewPRP); - void SetVPD(double fNewVPD); const basegfx::B3DPoint& GetVRP() const { return aVRP; } const basegfx::B3DVector& GetVUV() const { return aVUV; } |