diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-24 14:10:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-24 14:20:26 +0200 |
commit | 60795a7fd1c467882a9038a91a09953148a448ad (patch) | |
tree | 6a27d746b6c2e1ebaf72f892c5581574b9560aef /include | |
parent | 73b7c5034fcc024c6b5d50f4a78c2b3a855bc73e (diff) |
loplugin:unusedfields in include/oox/
Change-Id: Ie7a53f3ecc05d1d4f6f71aa8165315f9155c60dc
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/crypto/CryptTools.hxx | 3 | ||||
-rw-r--r-- | include/oox/dump/dumperbase.hxx | 40 | ||||
-rw-r--r-- | include/oox/ole/axbinarywriter.hxx | 8 | ||||
-rw-r--r-- | include/oox/ole/olehelper.hxx | 1 | ||||
-rw-r--r-- | include/oox/vml/vmlshape.hxx | 1 | ||||
-rw-r--r-- | include/opencl/openclwrapper.hxx | 1 |
6 files changed, 1 insertions, 53 deletions
diff --git a/include/oox/crypto/CryptTools.hxx b/include/oox/crypto/CryptTools.hxx index eaf531f4d439..898c47db438d 100644 --- a/include/oox/crypto/CryptTools.hxx +++ b/include/oox/crypto/CryptTools.hxx @@ -53,7 +53,6 @@ public: }; protected: - CryptoType mType; #if USE_TLS_OPENSSL EVP_CIPHER_CTX mContext; #endif @@ -75,7 +74,7 @@ protected: #endif protected: - Crypto(CryptoType type); + Crypto(); public: virtual ~Crypto(); diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx index 3fe5512c81cb..0f274356b834 100644 --- a/include/oox/dump/dumperbase.hxx +++ b/include/oox/dump/dumperbase.hxx @@ -251,46 +251,6 @@ struct ItemFormat -struct Address -{ - sal_Int32 mnCol; - sal_Int32 mnRow; - Address() : mnCol( 0 ), mnRow( 0 ) {} - explicit Address( sal_Int32 nCol, sal_Int32 nRow ) : mnCol( nCol ), mnRow( nRow ) {} -}; - - - -struct Range -{ - Address maFirst; - Address maLast; - Range() {} -}; - - - -typedef ::std::vector< Range > RangeList; - - - -struct TokenAddress : public Address -{ - bool mbRelCol; - bool mbRelRow; - TokenAddress() : mbRelCol( false ), mbRelRow( false ) {} -}; - - - -struct TokenRange -{ - TokenAddress maFirst; - TokenAddress maLast; - TokenRange() {} -}; - - /** Static helper functions for formatted output to strings. */ diff --git a/include/oox/ole/axbinarywriter.hxx b/include/oox/ole/axbinarywriter.hxx index ae3cdc124a45..d3c22c2f90f3 100644 --- a/include/oox/ole/axbinarywriter.hxx +++ b/include/oox/ole/axbinarywriter.hxx @@ -135,10 +135,6 @@ private: /** Stream property for a picture or mouse icon. */ struct PictureProperty : public ComplexProperty { - StreamDataSequence& mrPicData; - - explicit PictureProperty( StreamDataSequence& rPicData ) : - mrPicData( rPicData ) {} virtual bool writeProperty( AxAlignedOutputStream& rOutStrm ) override; }; @@ -149,10 +145,6 @@ private: ComplexPropVector maLargeProps; ///< Stores info for all used large properties. ComplexPropVector maStreamProps; ///< Stores info for all used stream data properties. AxPairData maDummyPairData; ///< Dummy pair for unsupported properties. - StreamDataSequence maDummyPicData; ///< Dummy picture for unsupported properties. - OUString maDummyString; ///< Dummy string for unsupported properties. - ::std::vector< OUString > - maDummyStringArray; ///< Dummy string array for unsupported properties. sal_Int16 mnBlockSize; sal_Int64 mnPropFlagsStart; ///< pos of Prop flags sal_Int64 mnPropFlags; ///< Flags specifying existing properties. diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx index 974e6ce6f7cb..12ae732ebf6c 100644 --- a/include/oox/ole/olehelper.hxx +++ b/include/oox/ole/olehelper.hxx @@ -96,7 +96,6 @@ struct StdHlinkInfo OUString maTarget; OUString maLocation; OUString maDisplay; - OUString maFrame; }; diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx index 5c955dc171be..927f8c1ab9ad 100644 --- a/include/oox/vml/vmlshape.hxx +++ b/include/oox/vml/vmlshape.hxx @@ -206,7 +206,6 @@ struct ShapeModel OUString maControl1; ///< Bezier control point 1 OUString maControl2; ///< Bezier control point 2 OUString maVmlPath; ///< VML path for this shape - OUString maEditAs; ///< VML EditAs for shape explicit ShapeModel(); ~ShapeModel(); diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx index 1541739e7c95..24d8714ec7ce 100644 --- a/include/opencl/openclwrapper.hxx +++ b/include/opencl/openclwrapper.hxx @@ -41,7 +41,6 @@ struct GPUEnv { //share vb in all modules in hb library cl_platform_id mpPlatformID; - cl_device_type mDevType; cl_context mpContext; cl_device_id mpDevID; cl_command_queue mpCmdQueue[OPENCL_CMDQUEUE_SIZE]; |