Kaydet (Commit) 2da7ce3b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wundefined-bool-conversion

Change-Id: I373d795951120d19bc7664282741d956d1ec3768
üst dc0b9663
...@@ -320,7 +320,7 @@ bool AccessibleGridControlBase::implIsShowing() ...@@ -320,7 +320,7 @@ bool AccessibleGridControlBase::implIsShowing()
bool AccessibleGridControlBase::isAlive() const bool AccessibleGridControlBase::isAlive() const
{ {
::osl::MutexGuard g(m_aMutex); // guards rBHelper members ::osl::MutexGuard g(m_aMutex); // guards rBHelper members
return !rBHelper.bDisposed && !rBHelper.bInDispose && &m_aTable; return !rBHelper.bDisposed && !rBHelper.bInDispose;
} }
void AccessibleGridControlBase::ensureIsAlive() const void AccessibleGridControlBase::ensureIsAlive() const
......
...@@ -145,11 +145,7 @@ namespace accessibility ...@@ -145,11 +145,7 @@ namespace accessibility
if ( !implIsValidIndex( nIndex, implGetText().getLength() ) ) if ( !implIsValidIndex( nIndex, implGetText().getLength() ) )
throw IndexOutOfBoundsException(); throw IndexOutOfBoundsException();
::com::sun::star::awt::Rectangle aRect; return AWTRectangle( m_aTable.GetFieldCharacterBounds( getRowPos(), getColumnPos(), nIndex ) );
if ( &m_aTable )
aRect = AWTRectangle( m_aTable.GetFieldCharacterBounds( getRowPos(), getColumnPos(), nIndex ) );
return aRect;
} }
sal_Int32 SAL_CALL AccessibleGridControlTableCell::getIndexAtPoint( const ::com::sun::star::awt::Point& _aPoint ) throw (RuntimeException, std::exception) sal_Int32 SAL_CALL AccessibleGridControlTableCell::getIndexAtPoint( const ::com::sun::star::awt::Point& _aPoint ) throw (RuntimeException, std::exception)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment