summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-26 09:16:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 11:51:16 +0000
commitc5bcfe902d1c4be488a1ce0ffb44a4f54734b2d5 (patch)
tree005e92bd01b8677581d8c38dbbaedf9e6ad8415a /svx
parent598d02d71f40901eab9275704c8bc0e1641b56e3 (diff)
callcatcher: update unused code
Change-Id: I2d79938465800a6bfe8cc120b85dc449ff04a960
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/svxpixelctlaccessiblecontext.cxx16
-rw-r--r--svx/source/inc/svxpixelctlaccessiblecontext.hxx11
2 files changed, 0 insertions, 27 deletions
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index 45a3df4250f4..2893521fbea2 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -379,22 +379,6 @@ void SvxPixelCtlAccessible::ensureIsAlive() const
throw lang::DisposedException();
}
-void SvxPixelCtlAccessible::ensureIsValidRow( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException )
-{
- if( nRow >= mrPixelCtl.GetHeight() || nRow <0)
- throw lang::IndexOutOfBoundsException(
- OUString( RTL_CONSTASCII_USTRINGPARAM( "row index is invalid" ) ), *this );
-}
-
-void SvxPixelCtlAccessible::ensureIsValidColumn( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException )
-{
- if( nColumn >= mrPixelCtl.GetWidth() || nColumn <0 )
- throw lang::IndexOutOfBoundsException(
- OUString( RTL_CONSTASCII_USTRINGPARAM("column index is invalid") ), *this );
-}
-
//XAccessibleEventBroadcaster
void SAL_CALL SvxPixelCtlAccessible::addAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw( RuntimeException )
{
diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
index 2c887b73fb54..0b8a8359ced6 100644
--- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx
+++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
@@ -249,17 +249,6 @@ public:
inline sal_Bool IsNotAlive( void ) const;
protected:
- /** @attention This method requires locked mutex's and a living object.
- @throws <type>IndexOutOfBoundsException</type>
- If the specified row index is invalid. */
- void ensureIsValidRow( sal_Int32 nRow )
- throw ( ::com::sun::star::lang::IndexOutOfBoundsException );
- /** @attention This method requires locked mutex's and a living object.
- @throws <type>IndexOutOfBoundsException</type>
- If the specified column index is invalid. */
- void ensureIsValidColumn( sal_Int32 nColumn )
- throw ( ::com::sun::star::lang::IndexOutOfBoundsException );
-
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> m_xCurChild;
public:
void NotifyChild(long nIndex,sal_Bool bSelect ,sal_Bool bCheck);