-Werror,-Wunused-private-field (Clang towards 3.2)

Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
This commit is contained in:
Stephan Bergmann 2012-08-13 17:15:34 +02:00
parent 0cbc03f468
commit bc8a8443a4
14 changed files with 2 additions and 30 deletions

View File

@ -500,7 +500,7 @@ void FtFontInfo::AnnounceFont( ImplDevFontList* pFontList )
// =======================================================================
FreetypeManager::FreetypeManager()
: mnMaxFontId( 0 ), mnNextFontId( 0x1000 )
: mnMaxFontId( 0 )
{
/*FT_Error rcFT =*/ FT_Init_FreeType( &aLibFT );
@ -2153,7 +2153,6 @@ private:
sal_uInt16 mnMaxPoints;
sal_uInt16 mnPoints;
sal_uInt16 mnPoly;
long mnHeight;
bool bHasOffline;
};
@ -2164,7 +2163,6 @@ PolyArgs::PolyArgs( PolyPolygon& rPolyPoly, sal_uInt16 nMaxPoints )
mnMaxPoints(nMaxPoints),
mnPoints(0),
mnPoly(0),
mnHeight(0),
bHasOffline(false)
{
mpPointAry = new Point[ mnMaxPoints ];

View File

@ -170,7 +170,6 @@ private:
FontList maFontList;
sal_IntPtr mnMaxFontId;
sal_IntPtr mnNextFontId;
};
// -----------------------------------------------------------------------

View File

@ -55,7 +55,6 @@ namespace unotools
sal_Int32 m_nAlphaIndex;
sal_Int32 m_nIndexIndex;
sal_Int8 m_nEndianness;
bool m_bSwap;
bool m_bPalette;
SAL_DLLPRIVATE void setComponentInfo( sal_uLong redShift, sal_uLong greenShift, sal_uLong blueShift );

View File

@ -78,7 +78,6 @@ private: // private data
double mfXScale;
double mfYScale;
sal_Int32 mnErrorCode;
bool m_bQuickJob;
private: // private methods

View File

@ -79,7 +79,6 @@ private:
FontStrikeout meStrikeout;
FontRelief meRelief;
FontEmphasisMark meEmphasisMark;
FontType meType; // used by metrics only
short mnOrientation;
FontKerning mnKerning;
sal_Bool mbWordLine:1,

View File

@ -31,7 +31,6 @@ class ImpErrorQuad
long nRed;
long nGreen;
long nBlue;
long nReserved;
public:
@ -124,10 +123,6 @@ inline BitmapColor ImpErrorQuad::ImplGetColor()
class ImpNodeCache
{
OctreeNode* pActNode;
sal_uLong nNew;
sal_uLong nDelete;
sal_uLong nGet;
sal_uLong nRelease;
public:

View File

@ -321,7 +321,6 @@ private:
Date maMax;
Date maCorrectedDate;
sal_Bool mbLongFormat;
sal_Bool mbEmptyDate;
sal_Bool mbShowDateCentury;
sal_uInt16 mnDateFormat;
sal_uLong mnExtDateFormat;
@ -419,7 +418,6 @@ private:
TimeFieldFormat meFormat;
sal_uInt16 mnTimeFormat;
sal_Bool mbDuration;
sal_Bool mbEmptyTime;
sal_Bool mbEnforceValidValue;
SAL_DLLPRIVATE void ImplInit();

View File

@ -72,9 +72,6 @@ class VCL_DLLPUBLIC LineInfo
private:
ImplLineInfo* mpImplLineInfo;
long n1;
long n2;
long n3;
SAL_DLLPRIVATE void ImplMakeUnique();

View File

@ -79,7 +79,6 @@ private:
sal_uLong mnFollow;
sal_uInt16 mnMiddleButtonAction;
sal_uInt16 mnWheelBehavior;
sal_Bool mbAlign1;
};
// -----------------
@ -227,8 +226,6 @@ class ImplStyleData
private:
sal_uLong mnRefCount;
void* mpStyleData_NotUsedYet;
Color maActiveBorderColor;
Color maActiveColor;
Color maActiveColor2;
@ -947,7 +944,6 @@ public:
// -----------------------
// - ImplAllSettingsData -
// -----------------------
class LocaleConfigurationListener;
class ImplAllSettingsData
{
friend class AllSettings;
@ -972,7 +968,6 @@ private:
LocaleDataWrapper* mpUILocaleDataWrapper;
vcl::I18nHelper* mpI18nHelper;
vcl::I18nHelper* mpUII18nHelper;
LocaleConfigurationListener* mpLocaleCfgListener;
SvtSysLocale maSysLocale;
};

View File

@ -52,7 +52,6 @@ private:
sal_uLong mnActPos;
Disposal meLastDisposal;
sal_Bool mbPause;
sal_Bool mbFirst;
sal_Bool mbMarked;
sal_Bool mbHMirr;
sal_Bool mbVMirr;

View File

@ -123,7 +123,6 @@ private:
sal_uInt32 mnYAdd; // the increment for input images Y coords for the current pass
int mnPreviewShift; // shift to convert orig image coords into preview image coords
int mnPreviewMask; // == ((1 << mnPreviewShift) - 1)
sal_uInt16 mnIStmOldMode;
sal_uInt16 mnTargetDepth; // pixel depth of target bitmap
sal_uInt8 mnTransRed;
sal_uInt8 mnTransGreen;

View File

@ -98,8 +98,6 @@ private:
sal_uLong mnBBP; // bytes per pixel ( needed for filtering )
sal_Bool mbTrueAlpha;
sal_uLong mnCRC;
long mnChunkDatSize;
sal_uLong mnLastPercent;
void ImplWritepHYs( const BitmapEx& rBitmapEx );
void ImplWriteIDAT();
@ -124,8 +122,7 @@ PNGWriterImpl::PNGWriterImpl( const BitmapEx& rBmpEx,
mpAccess ( NULL ),
mpMaskAccess ( NULL ),
mpZCodec ( new ZCodec( DEFAULT_IN_BUFSIZE, DEFAULT_OUT_BUFSIZE, MAX_MEM_USAGE ) ),
mnCRC(0UL),
mnLastPercent ( 0UL )
mnCRC(0UL)
{
if ( !rBmpEx.IsEmpty() )
{

View File

@ -122,7 +122,6 @@ VclCanvasBitmap::VclCanvasBitmap( const BitmapEx& rBitmap ) :
m_nAlphaIndex(-1),
m_nIndexIndex(-1),
m_nEndianness(0),
m_bSwap(false),
m_bPalette(false)
{
if( m_aBmpEx.IsTransparent() )

View File

@ -62,7 +62,6 @@ private:
sal_uLong mnTimeout;
sal_uLong mnWheelMode;
sal_uLong mnMaxWidth;
sal_uLong mnActWidth;
sal_uLong mnActDist;
long mnActDeltaX;
long mnActDeltaY;