Kaydet (Commit) 60795a7f authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in include/oox/

Change-Id: Ie7a53f3ecc05d1d4f6f71aa8165315f9155c60dc
üst 73b7c503
...@@ -53,7 +53,6 @@ public: ...@@ -53,7 +53,6 @@ public:
}; };
protected: protected:
CryptoType mType;
#if USE_TLS_OPENSSL #if USE_TLS_OPENSSL
EVP_CIPHER_CTX mContext; EVP_CIPHER_CTX mContext;
#endif #endif
...@@ -75,7 +74,7 @@ protected: ...@@ -75,7 +74,7 @@ protected:
#endif #endif
protected: protected:
Crypto(CryptoType type); Crypto();
public: public:
virtual ~Crypto(); virtual ~Crypto();
......
...@@ -251,46 +251,6 @@ struct ItemFormat ...@@ -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. */ /** Static helper functions for formatted output to strings. */
......
...@@ -135,10 +135,6 @@ private: ...@@ -135,10 +135,6 @@ private:
/** Stream property for a picture or mouse icon. */ /** Stream property for a picture or mouse icon. */
struct PictureProperty : public ComplexProperty struct PictureProperty : public ComplexProperty
{ {
StreamDataSequence& mrPicData;
explicit PictureProperty( StreamDataSequence& rPicData ) :
mrPicData( rPicData ) {}
virtual bool writeProperty( AxAlignedOutputStream& rOutStrm ) override; virtual bool writeProperty( AxAlignedOutputStream& rOutStrm ) override;
}; };
...@@ -149,10 +145,6 @@ private: ...@@ -149,10 +145,6 @@ private:
ComplexPropVector maLargeProps; ///< Stores info for all used large properties. ComplexPropVector maLargeProps; ///< Stores info for all used large properties.
ComplexPropVector maStreamProps; ///< Stores info for all used stream data properties. ComplexPropVector maStreamProps; ///< Stores info for all used stream data properties.
AxPairData maDummyPairData; ///< Dummy pair for unsupported 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_Int16 mnBlockSize;
sal_Int64 mnPropFlagsStart; ///< pos of Prop flags sal_Int64 mnPropFlagsStart; ///< pos of Prop flags
sal_Int64 mnPropFlags; ///< Flags specifying existing properties. sal_Int64 mnPropFlags; ///< Flags specifying existing properties.
......
...@@ -96,7 +96,6 @@ struct StdHlinkInfo ...@@ -96,7 +96,6 @@ struct StdHlinkInfo
OUString maTarget; OUString maTarget;
OUString maLocation; OUString maLocation;
OUString maDisplay; OUString maDisplay;
OUString maFrame;
}; };
......
...@@ -206,7 +206,6 @@ struct ShapeModel ...@@ -206,7 +206,6 @@ struct ShapeModel
OUString maControl1; ///< Bezier control point 1 OUString maControl1; ///< Bezier control point 1
OUString maControl2; ///< Bezier control point 2 OUString maControl2; ///< Bezier control point 2
OUString maVmlPath; ///< VML path for this shape OUString maVmlPath; ///< VML path for this shape
OUString maEditAs; ///< VML EditAs for shape
explicit ShapeModel(); explicit ShapeModel();
~ShapeModel(); ~ShapeModel();
......
...@@ -41,7 +41,6 @@ struct GPUEnv ...@@ -41,7 +41,6 @@ struct GPUEnv
{ {
//share vb in all modules in hb library //share vb in all modules in hb library
cl_platform_id mpPlatformID; cl_platform_id mpPlatformID;
cl_device_type mDevType;
cl_context mpContext; cl_context mpContext;
cl_device_id mpDevID; cl_device_id mpDevID;
cl_command_queue mpCmdQueue[OPENCL_CMDQUEUE_SIZE]; cl_command_queue mpCmdQueue[OPENCL_CMDQUEUE_SIZE];
......
...@@ -16,10 +16,9 @@ namespace core { ...@@ -16,10 +16,9 @@ namespace core {
using namespace std; using namespace std;
Crypto::Crypto(CryptoType type) Crypto::Crypto()
: mType(type)
#if USE_TLS_NSS #if USE_TLS_NSS
, mContext(nullptr) : mContext(nullptr)
, mSecParam(nullptr) , mSecParam(nullptr)
, mSymKey(nullptr) , mSymKey(nullptr)
#endif #endif
...@@ -111,7 +110,7 @@ void Crypto::setupContext(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoT ...@@ -111,7 +110,7 @@ void Crypto::setupContext(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoT
// DECRYPT // DECRYPT
Decrypt::Decrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) : Decrypt::Decrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) :
Crypto(type) Crypto()
{ {
#if USE_TLS_OPENSSL #if USE_TLS_OPENSSL
EVP_CIPHER_CTX_init( &mContext ); EVP_CIPHER_CTX_init( &mContext );
...@@ -159,7 +158,7 @@ sal_uInt32 Decrypt::aes128ecb(vector<sal_uInt8>& output, vector<sal_uInt8>& inpu ...@@ -159,7 +158,7 @@ sal_uInt32 Decrypt::aes128ecb(vector<sal_uInt8>& output, vector<sal_uInt8>& inpu
// ENCRYPT // ENCRYPT
Encrypt::Encrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) : Encrypt::Encrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) :
Crypto(type) Crypto()
{ {
#if USE_TLS_OPENSSL #if USE_TLS_OPENSSL
EVP_CIPHER_CTX_init( &mContext ); EVP_CIPHER_CTX_init( &mContext );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment