diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-27 15:08:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-28 11:21:17 +0000 |
commit | 48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch) | |
tree | 066f8fc9753bdba62f87f205baface6e729857bf /include | |
parent | f7d6f3e4e3fda3cd4936880918e2831246634a3e (diff) |
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e
Reviewed-on: https://gerrit.libreoffice.org/26738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/package/Inflater.hxx | 2 | ||||
-rw-r--r-- | include/sot/object.hxx | 3 | ||||
-rw-r--r-- | include/svtools/tabbar.hxx | 1 | ||||
-rw-r--r-- | include/tools/b3dtrans.hxx | 8 | ||||
-rw-r--r-- | include/ucbhelper/resultsetmetadata.hxx | 6 | ||||
-rw-r--r-- | include/vcl/pdfwriter.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/XMLTextMasterPageContext.hxx | 4 |
7 files changed, 2 insertions, 24 deletions
diff --git a/include/package/Inflater.hxx b/include/package/Inflater.hxx index ea2f73d73b75..2abfad209341 100644 --- a/include/package/Inflater.hxx +++ b/include/package/Inflater.hxx @@ -32,7 +32,7 @@ class DLLPUBLIC_PACKAGE Inflater typedef struct z_stream_s z_stream; protected: - bool bFinished, bSetParams, bNeedDict; + bool bFinished, bNeedDict; sal_Int32 nOffset, nLength, nLastInflateError; z_stream* pStream; css::uno::Sequence < sal_Int8 > sInBuffer; diff --git a/include/sot/object.hxx b/include/sot/object.hxx index 277f715f6e68..8991a21b7590 100644 --- a/include/sot/object.hxx +++ b/include/sot/object.hxx @@ -28,7 +28,6 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase { sal_uInt16 nOwnerLockCount; - bool bOwner; bool bInClose; // TRUE, in DoClose protected: @@ -38,8 +37,6 @@ protected: public: SotObject(); - bool Owner() const { return bOwner; } - sal_uInt16 GetOwnerLockCount() const { return nOwnerLockCount; } void OwnerLock( bool bLock ); diff --git a/include/svtools/tabbar.hxx b/include/svtools/tabbar.hxx index a83d78df841a..74a372058907 100644 --- a/include/svtools/tabbar.hxx +++ b/include/svtools/tabbar.hxx @@ -320,7 +320,6 @@ private: bool mbFormat : 1; bool mbFirstFormat : 1; bool mbSizeFormat : 1; - bool mbAutoMaxWidth : 1; bool mbInSwitching : 1; bool mbAutoEditMode : 1; bool mbEditCanceled : 1; diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx index a273dad56f9c..6dabf504c310 100644 --- a/include/tools/b3dtrans.hxx +++ b/include/tools/b3dtrans.hxx @@ -91,14 +91,8 @@ private: // of visible viewport area (logical coordinates) Rectangle maSetBound; - // Method of keeping defined aspect ratio - // default: Base3DRatioGrow - Base3DRatio meRatio; - // Flags bool mbPerspective : 1; - bool mbWorldToViewValid : 1; - bool mbInvTransObjectToEyeValid : 1; bool mbObjectToDeviceValid : 1; bool mbProjectionValid : 1; @@ -207,8 +201,6 @@ private: double fFocalLength; double fBankAngle; - bool bUseFocalLength : 1; - public: B3dCamera( const basegfx::B3DPoint& rPos = basegfx::B3DPoint(0.0, 0.0, 1.0), diff --git a/include/ucbhelper/resultsetmetadata.hxx b/include/ucbhelper/resultsetmetadata.hxx index 209e0da4dd0d..6d27da83f697 100644 --- a/include/ucbhelper/resultsetmetadata.hxx +++ b/include/ucbhelper/resultsetmetadata.hxx @@ -51,9 +51,6 @@ namespace ucbhelper */ struct ResultSetColumnData { - /** @see ResultSetMetaData::isAutoIncrement */ - bool isAutoIncrement; - /** @see ResultSetMetaData::isCaseSensitive */ bool isCaseSensitive; @@ -85,8 +82,7 @@ struct ResultSetColumnData // may heavily depend on the behaviour of the default constructor. ResultSetColumnData::ResultSetColumnData() -: isAutoIncrement( false ), - isCaseSensitive( true ), +: isCaseSensitive( true ), columnDisplaySize( 16 ) { } diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 5e503e3a56dc..132c07da93df 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -403,7 +403,6 @@ public: struct ListBoxWidget : public AnyWidget { bool DropDown; - bool Sort; bool MultiSelect; std::vector<OUString> Entries; std::vector<sal_Int32> SelectedEntries; @@ -414,7 +413,6 @@ public: ListBoxWidget() : AnyWidget( vcl::PDFWriter::ListBox ), DropDown( false ), - Sort( false ), MultiSelect( false ) {} diff --git a/include/xmloff/XMLTextMasterPageContext.hxx b/include/xmloff/XMLTextMasterPageContext.hxx index 562174f0f8ac..25adf08521f1 100644 --- a/include/xmloff/XMLTextMasterPageContext.hxx +++ b/include/xmloff/XMLTextMasterPageContext.hxx @@ -46,10 +46,6 @@ class XMLOFF_DLLPUBLIC XMLTextMasterPageContext : public SvXMLStyleContext bool bInsertFooterFirst; bool bHeaderInserted; bool bFooterInserted; - bool bHeaderLeftInserted; - bool bFooterLeftInserted; - bool bHeaderFirstInserted; - bool bFooterFirstInserted; SAL_DLLPRIVATE css::uno::Reference< css::style::XStyle > Create(); protected: |