CWS-TOOLING: integrate CWS vcl112

This commit is contained in:
obo
2010-06-21 15:48:10 +02:00
3 changed files with 5 additions and 21 deletions

View File

@@ -173,14 +173,6 @@ public:
protected:
// internal helper methods ------------------------------------------------
/** @attention This method requires locked mutex's and a living object.
@param nColumn
the position of the column in the Accessible world
@return
the position of the column in VCL the Accessible world
*/
sal_uInt16 implToVCLColumnPos( sal_Int32 nColumn ) const;
/** @attention This method requires locked mutex's and a living object.
@return The number of cells of the table. */
sal_Int32 implGetChildCount() const;

View File

@@ -220,19 +220,6 @@ Sequence< sal_Int8 > SAL_CALL AccessibleGridControlTableBase::getImplementationI
// internal helper methods ----------------------------------------------------
sal_uInt16 AccessibleGridControlTableBase::implToVCLColumnPos( sal_Int32 nColumn ) const
{
sal_uInt16 nVCLPos = 0;
if( (0 <= nColumn) && (nColumn < m_aTable.GetColumnCount()) )
{
// regard "handle column"
if( m_aTable.HasRowHeader() )
++nColumn;
nVCLPos = static_cast< sal_uInt16 >( nColumn );
}
return nVCLPos;
}
sal_Int32 AccessibleGridControlTableBase::implGetChildCount() const
{
return m_aTable.GetRowCount()*m_aTable.GetColumnCount();

View File

@@ -642,6 +642,11 @@ BOOL Sane::Start( BitmapTransporter& rBitmap )
nStatus = p_get_parameters( maHandle, &aParams );
DUMP_STATE( nStatus, "sane_get_parameters" );
CheckConsistency( "sane_get_parameters" );
if (nStatus != SANE_STATUS_GOOD || aParams.bytes_per_line == 0)
{
bSuccess = FALSE;
break;
}
#if (OSL_DEBUG_LEVEL > 1) || defined DBG_UTIL
const char* ppFormats[] = { "SANE_FRAME_GRAY", "SANE_FRAME_RGB",
"SANE_FRAME_RED", "SANE_FRAME_GREEN",