diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/GraphCtlAccessibleContext.cxx | 27 | ||||
-rw-r--r-- | svx/source/inc/GraphCtlAccessibleContext.hxx | 7 | ||||
-rw-r--r-- | svx/source/svdraw/svdlayer.cxx | 24 |
3 files changed, 0 insertions, 58 deletions
diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx index 208106e56e96..43960d3e1bed 100644 --- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx +++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx @@ -735,39 +735,12 @@ void SAL_CALL SvxGraphCtrlAccessibleContext::deselectAccessibleChild( sal_Int32 //===== internals ======================================================== -void SvxGraphCtrlAccessibleContext::checkChildIndex( long nIndex ) throw( lang::IndexOutOfBoundsException ) -{ - if( nIndex < 0 || nIndex >= getAccessibleChildCount() ) - throw lang::IndexOutOfBoundsException(); -} - -//----------------------------------------------------------------------------- - void SvxGraphCtrlAccessibleContext::checkChildIndexOnSelection( long nIndex ) throw( lang::IndexOutOfBoundsException ) { if( nIndex < 0 || nIndex >= getSelectedAccessibleChildCount() ) throw lang::IndexOutOfBoundsException(); } -//----------------------------------------------------------------------------- - -void SvxGraphCtrlAccessibleContext::setName( const OUString& rName ) -{ - ::SolarMutexGuard aGuard; - - msName = rName; -} - -//----------------------------------------------------------------------------- - -void SvxGraphCtrlAccessibleContext::setDescription( const OUString& rDescr ) -{ - ::SolarMutexGuard aGuard; - - msDescription = rDescr; -} - - /** Replace the model, page, and view pointers by the ones provided diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx index e52e4865997f..fe248f43c6ea 100644 --- a/svx/source/inc/GraphCtlAccessibleContext.hxx +++ b/svx/source/inc/GraphCtlAccessibleContext.hxx @@ -191,17 +191,10 @@ public: protected: //===== internals ======================================================== - void checkChildIndex( long nIndexOfChild ) throw (::com::sun::star::lang::IndexOutOfBoundsException ); void checkChildIndexOnSelection( long nIndexOfChild ) throw (::com::sun::star::lang::IndexOutOfBoundsException ); public: - /// Sets the name - void setName( const ::rtl::OUString& rName ); - - /// Sets the description - void setDescription( const ::rtl::OUString& rDescr ); - /** This method is used by the graph control to tell the accessibility object about a new model and view. */ diff --git a/svx/source/svdraw/svdlayer.cxx b/svx/source/svdraw/svdlayer.cxx index f9a3f373b341..f946fc01a90e 100644 --- a/svx/source/svdraw/svdlayer.cxx +++ b/svx/source/svdraw/svdlayer.cxx @@ -48,30 +48,6 @@ sal_Bool SetOfByte::IsEmpty() const return sal_True; } -sal_uInt16 SetOfByte::GetSetCount() const -{ - sal_uInt16 nRet(0); - - for(sal_uInt16 i(0); i < 32; i++) - { - sal_uInt8 a(aData[i]); - - if(a != 0) - { - if(a & 0x80) nRet++; - if(a & 0x40) nRet++; - if(a & 0x20) nRet++; - if(a & 0x10) nRet++; - if(a & 0x08) nRet++; - if(a & 0x04) nRet++; - if(a & 0x02) nRet++; - if(a & 0x01) nRet++; - } - } - - return nRet; -} - void SetOfByte::operator&=(const SetOfByte& r2ndSet) { for(sal_uInt16 i(0); i < 32; i++) |