diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-28 16:49:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-28 16:49:11 +0200 |
commit | 7f7e0a668204678b06d711487137a9f8b13c91e1 (patch) | |
tree | bb1d19d5d124027c5c8f413ce93e2d38afe1e901 /accessibility | |
parent | 96fb2453e40f97a0bffcfe7e046b4599beace152 (diff) |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I2a181d1442ef3b41ecba009d160d2d18d6fb71ac
Diffstat (limited to 'accessibility')
3 files changed, 3 insertions, 8 deletions
diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxCheckBoxCell.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxCheckBoxCell.hxx index 3106defa8cdd..c0af4538b19b 100644 --- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxCheckBoxCell.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxCheckBoxCell.hxx @@ -38,7 +38,6 @@ namespace accessibility { private: TriState m_eState; - sal_Bool m_bEnabled; sal_Bool m_bIsTriState; protected: @@ -53,8 +52,7 @@ namespace accessibility sal_Int32 _nRowPos, sal_uInt16 _nColPos, const TriState& _eState, - sal_Bool _bEnabled, - sal_Bool _bIsTriState = sal_True); + sal_Bool _bIsTriState); // XInterface DECLARE_XINTERFACE( ) diff --git a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx index 5241bfe193e8..a5331c31e04b 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx @@ -34,11 +34,9 @@ namespace accessibility sal_Int32 _nRowPos, sal_uInt16 _nColPos ,const TriState& _eState, - sal_Bool _bEnabled, sal_Bool _bIsTriState) :AccessibleBrowseBoxCell(_rxParent, _rBrowseBox, _xFocusWindow, _nRowPos, _nColPos, BBTYPE_CHECKBOXCELL) ,m_eState(_eState) - ,m_bEnabled(_bEnabled) ,m_bIsTriState(_bIsTriState) { } diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx index 92ce2cc43d19..5125ba45e7e1 100644 --- a/accessibility/source/helper/acc_factory.cxx +++ b/accessibility/source/helper/acc_factory.cxx @@ -210,7 +210,6 @@ inline bool hasFloatingChild(Window *pWindow) sal_Int32 _nRowPos, sal_uInt16 _nColPos, const TriState& _eState, - sal_Bool _bEnabled, sal_Bool _bIsTriState ) const; @@ -501,10 +500,10 @@ inline bool hasFloatingChild(Window *pWindow) Reference< XAccessible > AccessibleFactory::createAccessibleCheckBoxCell( const Reference< XAccessible >& _rxParent, IAccessibleTableProvider& _rBrowseBox, const Reference< XWindow >& _xFocusWindow, sal_Int32 _nRowPos, sal_uInt16 _nColPos, - const TriState& _eState, sal_Bool _bEnabled, sal_Bool _bIsTriState ) const + const TriState& _eState, sal_Bool _bIsTriState ) const { return new AccessibleCheckBoxCell( _rxParent, _rBrowseBox, _xFocusWindow, - _nRowPos, _nColPos, _eState, _bEnabled, _bIsTriState ); + _nRowPos, _nColPos, _eState, _bIsTriState ); } //-------------------------------------------------------------------- |