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:
};
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();
......
......@@ -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. */
......
......@@ -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.
......
......@@ -96,7 +96,6 @@ struct StdHlinkInfo
OUString maTarget;
OUString maLocation;
OUString maDisplay;
OUString maFrame;
};
......
......@@ -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();
......
......@@ -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];
......
......@@ -16,10 +16,9 @@ namespace core {
using namespace std;
Crypto::Crypto(CryptoType type)
: mType(type)
Crypto::Crypto()
#if USE_TLS_NSS
, mContext(nullptr)
: mContext(nullptr)
, mSecParam(nullptr)
, mSymKey(nullptr)
#endif
......@@ -111,7 +110,7 @@ void Crypto::setupContext(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoT
// DECRYPT
Decrypt::Decrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) :
Crypto(type)
Crypto()
{
#if USE_TLS_OPENSSL
EVP_CIPHER_CTX_init( &mContext );
......@@ -159,7 +158,7 @@ sal_uInt32 Decrypt::aes128ecb(vector<sal_uInt8>& output, vector<sal_uInt8>& inpu
// ENCRYPT
Encrypt::Encrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) :
Crypto(type)
Crypto()
{
#if USE_TLS_OPENSSL
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