diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-13 17:15:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-14 10:39:13 +0200 |
commit | bc8a8443a4c9f85dbfa8e064d14c603f5a2d160f (patch) | |
tree | c5cd5fd55fde31c0a2d0870f74aff717428f739c | |
parent | 0cbc03f46828296b06bb58ae7e7face7bc1a6364 (diff) |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 4 | ||||
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/canvasbitmap.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/generic/printerjob.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/impfont.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/impoct.hxx | 5 | ||||
-rw-r--r-- | vcl/inc/vcl/field.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/lineinfo.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/vcl/settings.hxx | 5 | ||||
-rw-r--r-- | vcl/source/gdi/impanmvw.hxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/pngread.cxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/pngwrite.cxx | 5 | ||||
-rw-r--r-- | vcl/source/helper/canvasbitmap.cxx | 1 | ||||
-rw-r--r-- | vcl/source/window/scrwnd.hxx | 1 |
14 files changed, 2 insertions, 30 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index ca35f54c0648..8ac55e40b28b 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -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 ]; diff --git a/vcl/generic/glyphs/gcach_ftyp.hxx b/vcl/generic/glyphs/gcach_ftyp.hxx index 8dd292f15128..192704faaf1a 100644 --- a/vcl/generic/glyphs/gcach_ftyp.hxx +++ b/vcl/generic/glyphs/gcach_ftyp.hxx @@ -170,7 +170,6 @@ private: FontList maFontList; sal_IntPtr mnMaxFontId; - sal_IntPtr mnNextFontId; }; // ----------------------------------------------------------------------- diff --git a/vcl/inc/canvasbitmap.hxx b/vcl/inc/canvasbitmap.hxx index c57c6ed1f82b..68deab218699 100644 --- a/vcl/inc/canvasbitmap.hxx +++ b/vcl/inc/canvasbitmap.hxx @@ -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 ); diff --git a/vcl/inc/generic/printerjob.hxx b/vcl/inc/generic/printerjob.hxx index aa05394ed995..831fda471830 100644 --- a/vcl/inc/generic/printerjob.hxx +++ b/vcl/inc/generic/printerjob.hxx @@ -78,7 +78,6 @@ private: // private data double mfXScale; double mfYScale; - sal_Int32 mnErrorCode; bool m_bQuickJob; private: // private methods diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index 9173771b3e4c..5ea1cd78b645 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -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, diff --git a/vcl/inc/impoct.hxx b/vcl/inc/impoct.hxx index de6d6f27ab62..81431c0b2336 100644 --- a/vcl/inc/impoct.hxx +++ b/vcl/inc/impoct.hxx @@ -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: diff --git a/vcl/inc/vcl/field.hxx b/vcl/inc/vcl/field.hxx index c9d991168322..03809e1fd4ca 100644 --- a/vcl/inc/vcl/field.hxx +++ b/vcl/inc/vcl/field.hxx @@ -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(); diff --git a/vcl/inc/vcl/lineinfo.hxx b/vcl/inc/vcl/lineinfo.hxx index 069a1f015e9f..124ab3a84842 100644 --- a/vcl/inc/vcl/lineinfo.hxx +++ b/vcl/inc/vcl/lineinfo.hxx @@ -72,9 +72,6 @@ class VCL_DLLPUBLIC LineInfo private: ImplLineInfo* mpImplLineInfo; - long n1; - long n2; - long n3; SAL_DLLPRIVATE void ImplMakeUnique(); diff --git a/vcl/inc/vcl/settings.hxx b/vcl/inc/vcl/settings.hxx index 2f62cee8efc9..b8713d536d29 100644 --- a/vcl/inc/vcl/settings.hxx +++ b/vcl/inc/vcl/settings.hxx @@ -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; }; diff --git a/vcl/source/gdi/impanmvw.hxx b/vcl/source/gdi/impanmvw.hxx index 455a6eec7888..fe728a5b6532 100644 --- a/vcl/source/gdi/impanmvw.hxx +++ b/vcl/source/gdi/impanmvw.hxx @@ -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; diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index a7cf7eceb9c8..a01b66d110a8 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -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; diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index 3d8de49003c8..9a90fd9e08d3 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -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() ) { diff --git a/vcl/source/helper/canvasbitmap.cxx b/vcl/source/helper/canvasbitmap.cxx index b2f145de07c5..d54240b9897d 100644 --- a/vcl/source/helper/canvasbitmap.cxx +++ b/vcl/source/helper/canvasbitmap.cxx @@ -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() ) diff --git a/vcl/source/window/scrwnd.hxx b/vcl/source/window/scrwnd.hxx index efcb7b77bc58..7acc2f5a3f78 100644 --- a/vcl/source/window/scrwnd.hxx +++ b/vcl/source/window/scrwnd.hxx @@ -62,7 +62,6 @@ private: sal_uLong mnTimeout; sal_uLong mnWheelMode; sal_uLong mnMaxWidth; - sal_uLong mnActWidth; sal_uLong mnActDist; long mnActDeltaX; long mnActDeltaY; |