summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 08:48:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 08:25:06 +0200
commit16690220ed6e68f2e9674a09b5008f38c5e6ed8d (patch)
tree2f830b7ac23f136585e7dc4adf5d456f4995cc99 /include
parent86d70dc840b88ed827d6d8febaf512264009951d (diff)
loplugin:singlevalfields
tighten up the handling of binary operators Change-Id: I262ec57bf7142fa094d240738150a94d83fd15ee Reviewed-on: https://gerrit.libreoffice.org/61777 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx3
-rw-r--r--include/svtools/ctrlbox.hxx13
-rw-r--r--include/tools/b3dtrans.hxx4
3 files changed, 2 insertions, 18 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 336a2c23b95f..5dc0e5fbc158 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -243,8 +243,7 @@ class EDITENG_DLLPUBLIC SvxAutoCorrect
LanguageType eCharClassLang;
ACFlags nFlags;
- sal_Unicode cStartDQuote, cEndDQuote, cStartSQuote, cEndSQuote,
- cEmDash, cEnDash;
+ sal_Unicode cStartDQuote, cEndDQuote, cStartSQuote, cEndSQuote;
// private methods
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index f6e56bec7728..b0fa04302f36 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -446,14 +446,7 @@ class SVT_DLLPUBLIC FontSizeBox : public MetricBox
{
FontMetric aFontMetric;
const FontList* pFontList;
- sal_uInt16 nRelMin;
- sal_uInt16 nRelMax;
- sal_uInt16 nRelStep;
- short nPtRelMin;
- short nPtRelMax;
- short nPtRelStep;
- bool bRelativeMode:1,
- bRelative:1,
+ bool bRelative:1,
bPtRelative:1,
bStdSize:1;
@@ -461,19 +454,15 @@ class SVT_DLLPUBLIC FontSizeBox : public MetricBox
SVT_DLLPRIVATE void ImplInit();
protected:
- virtual OUString CreateFieldText( sal_Int64 nValue ) const override;
virtual sal_Int64 GetValueFromStringUnit(const OUString& rStr, FieldUnit eOutUnit) const override;
public:
FontSizeBox( vcl::Window* pParent, WinBits nWinStyle );
void Reformat() override;
- void Modify() override;
void Fill( const FontMetric* pFontMetric, const FontList* pList );
- void SetRelative( bool bRelative );
-
virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit ) override;
virtual void SetValue( sal_Int64 nNewValue ) override;
diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx
index cf35192e757b..181f43ca7bce 100644
--- a/include/tools/b3dtrans.hxx
+++ b/include/tools/b3dtrans.hxx
@@ -58,10 +58,6 @@ private:
double mfBottomBound;
double mfTopBound;
- // Near and far clipping planes
- double mfNearBound;
- double mfFarBound;
-
// Aspect ratio of 3D transformation (Y / X)
// default: 1:1 -> 1.0
// Disable with value 0.0