-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() FreetypeManager::FreetypeManager()
: mnMaxFontId( 0 ), mnNextFontId( 0x1000 ) : mnMaxFontId( 0 )
{ {
/*FT_Error rcFT =*/ FT_Init_FreeType( &aLibFT ); /*FT_Error rcFT =*/ FT_Init_FreeType( &aLibFT );
@@ -2153,7 +2153,6 @@ private:
sal_uInt16 mnMaxPoints; sal_uInt16 mnMaxPoints;
sal_uInt16 mnPoints; sal_uInt16 mnPoints;
sal_uInt16 mnPoly; sal_uInt16 mnPoly;
long mnHeight;
bool bHasOffline; bool bHasOffline;
}; };
@@ -2164,7 +2163,6 @@ PolyArgs::PolyArgs( PolyPolygon& rPolyPoly, sal_uInt16 nMaxPoints )
mnMaxPoints(nMaxPoints), mnMaxPoints(nMaxPoints),
mnPoints(0), mnPoints(0),
mnPoly(0), mnPoly(0),
mnHeight(0),
bHasOffline(false) bHasOffline(false)
{ {
mpPointAry = new Point[ mnMaxPoints ]; mpPointAry = new Point[ mnMaxPoints ];

View File

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

View File

@@ -55,7 +55,6 @@ namespace unotools
sal_Int32 m_nAlphaIndex; sal_Int32 m_nAlphaIndex;
sal_Int32 m_nIndexIndex; sal_Int32 m_nIndexIndex;
sal_Int8 m_nEndianness; sal_Int8 m_nEndianness;
bool m_bSwap;
bool m_bPalette; bool m_bPalette;
SAL_DLLPRIVATE void setComponentInfo( sal_uLong redShift, sal_uLong greenShift, sal_uLong blueShift ); 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 mfXScale;
double mfYScale; double mfYScale;
sal_Int32 mnErrorCode;
bool m_bQuickJob; bool m_bQuickJob;
private: // private methods private: // private methods

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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