Fix typo in code

It passed "make check" on Linux

Change-Id: Ide85943961b6f5102294356ff623c6be8d7bc790
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101813
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2020-08-31 21:06:02 +02:00 committed by Julien Nabet
parent 7c0009fa74
commit c26acd15a6
3 changed files with 26 additions and 26 deletions

View File

@ -1387,7 +1387,7 @@ void CallbackFlushHandler::callback(const int type, const char* payload, void* d
void CallbackFlushHandler::queue(const int type, const char* data)
{
comphelper::ProfileZone aZone("CallbackFlushHander::queue");
comphelper::ProfileZone aZone("CallbackFlushHandler::queue");
CallbackData aCallbackData(type, (data ? data : "(nil)"));
const std::string& payload = aCallbackData.PayloadString;
@ -1945,7 +1945,7 @@ bool CallbackFlushHandler::processWindowEvent(CallbackData& aCallbackData)
void CallbackFlushHandler::Invoke()
{
comphelper::ProfileZone aZone("CallbackFlushHander::Invoke");
comphelper::ProfileZone aZone("CallbackFlushHandler::Invoke");
if (!m_pCallback)
return;

View File

@ -87,9 +87,9 @@ public class OfficeStylesReadHandler extends ElementReadHandler
return xrh;
}
final SectionReadHandler genericReadHander = new SectionReadHandler();
otherStyleChildren.add(genericReadHander);
return genericReadHander;
final SectionReadHandler genericReadHandler = new SectionReadHandler();
otherStyleChildren.add(genericReadHandler);
return genericReadHandler;
}
/**

View File

@ -61,13 +61,13 @@ const unsigned int SELECTION_WITH_NUM = 10;
namespace {
class SwAccTableSelHander_Impl
class SwAccTableSelHandler_Impl
{
public:
virtual void Unselect( sal_Int32 nRowOrCol, sal_Int32 nExt ) = 0;
protected:
~SwAccTableSelHander_Impl() {}
~SwAccTableSelHandler_Impl() {}
};
}
@ -89,7 +89,7 @@ class SwAccessibleTableData_Impl
void GetSelection( const Point& rTabPos, const SwRect& rArea,
const SwSelBoxes& rSelBoxes, const SwFrame *pFrame,
SwAccTableSelHander_Impl& rSelHdl,
SwAccTableSelHandler_Impl& rSelHdl,
bool bColumns ) const;
// #i77106#
@ -121,7 +121,7 @@ public:
void GetSelection( sal_Int32 nStart, sal_Int32 nEnd,
const SwSelBoxes& rSelBoxes,
SwAccTableSelHander_Impl& rSelHdl,
SwAccTableSelHandler_Impl& rSelHdl,
bool bColumns ) const;
/// @throws lang::IndexOutOfBoundsException
@ -220,7 +220,7 @@ void SwAccessibleTableData_Impl::GetSelection(
const SwRect& rArea,
const SwSelBoxes& rSelBoxes,
const SwFrame *pFrame,
SwAccTableSelHander_Impl& rSelHdl,
SwAccTableSelHandler_Impl& rSelHdl,
bool bColumns ) const
{
const SwAccessibleChildSList aList( *pFrame, mrAccMap );
@ -296,7 +296,7 @@ const SwFrame *SwAccessibleTableData_Impl::GetCell(
void SwAccessibleTableData_Impl::GetSelection(
sal_Int32 nStart, sal_Int32 nEnd,
const SwSelBoxes& rSelBoxes,
SwAccTableSelHander_Impl& rSelHdl,
SwAccTableSelHandler_Impl& rSelHdl,
bool bColumns ) const
{
SwRect aArea( mpTabFrame->getFrameArea() );
@ -410,15 +410,15 @@ void SwAccessibleTableData_Impl::CheckRowAndCol(
namespace {
class SwAccSingleTableSelHander_Impl : public SwAccTableSelHander_Impl
class SwAccSingleTableSelHandler_Impl : public SwAccTableSelHandler_Impl
{
bool m_bSelected;
public:
inline SwAccSingleTableSelHander_Impl();
inline SwAccSingleTableSelHandler_Impl();
virtual ~SwAccSingleTableSelHander_Impl() {}
virtual ~SwAccSingleTableSelHandler_Impl() {}
bool IsSelected() const { return m_bSelected; }
@ -427,26 +427,26 @@ public:
}
inline SwAccSingleTableSelHander_Impl::SwAccSingleTableSelHander_Impl() :
inline SwAccSingleTableSelHandler_Impl::SwAccSingleTableSelHandler_Impl() :
m_bSelected( true )
{
}
void SwAccSingleTableSelHander_Impl::Unselect( sal_Int32, sal_Int32 )
void SwAccSingleTableSelHandler_Impl::Unselect( sal_Int32, sal_Int32 )
{
m_bSelected = false;
}
namespace {
class SwAccAllTableSelHander_Impl : public SwAccTableSelHander_Impl
class SwAccAllTableSelHandler_Impl : public SwAccTableSelHandler_Impl
{
std::vector< bool > m_aSelected;
sal_Int32 m_nCount;
public:
explicit SwAccAllTableSelHander_Impl(sal_Int32 nSize)
explicit SwAccAllTableSelHandler_Impl(sal_Int32 nSize)
: m_aSelected(nSize, true)
, m_nCount(nSize)
{
@ -455,16 +455,16 @@ public:
uno::Sequence < sal_Int32 > GetSelSequence();
virtual void Unselect( sal_Int32 nRowOrCol, sal_Int32 nExt ) override;
virtual ~SwAccAllTableSelHander_Impl();
virtual ~SwAccAllTableSelHandler_Impl();
};
}
SwAccAllTableSelHander_Impl::~SwAccAllTableSelHander_Impl()
SwAccAllTableSelHandler_Impl::~SwAccAllTableSelHandler_Impl()
{
}
uno::Sequence < sal_Int32 > SwAccAllTableSelHander_Impl::GetSelSequence()
uno::Sequence < sal_Int32 > SwAccAllTableSelHandler_Impl::GetSelSequence()
{
OSL_ENSURE( m_nCount >= 0, "underflow" );
uno::Sequence < sal_Int32 > aRet( m_nCount );
@ -485,7 +485,7 @@ uno::Sequence < sal_Int32 > SwAccAllTableSelHander_Impl::GetSelSequence()
return aRet;
}
void SwAccAllTableSelHander_Impl::Unselect( sal_Int32 nRowOrCol,
void SwAccAllTableSelHandler_Impl::Unselect( sal_Int32 nRowOrCol,
sal_Int32 nExt )
{
OSL_ENSURE( o3tl::make_unsigned( nRowOrCol ) < m_aSelected.size(),
@ -924,7 +924,7 @@ uno::Sequence< sal_Int32 > SAL_CALL SwAccessibleTable::getSelectedAccessibleRows
if( pSelBoxes )
{
sal_Int32 nRows = GetTableData().GetRowCount();
SwAccAllTableSelHander_Impl aSelRows( nRows );
SwAccAllTableSelHandler_Impl aSelRows( nRows );
GetTableData().GetSelection( 0, nRows, *pSelBoxes, aSelRows,
false );
@ -947,7 +947,7 @@ uno::Sequence< sal_Int32 > SAL_CALL SwAccessibleTable::getSelectedAccessibleColu
if( pSelBoxes )
{
sal_Int32 nCols = GetTableData().GetColumnCount();
SwAccAllTableSelHander_Impl aSelCols( nCols );
SwAccAllTableSelHandler_Impl aSelCols( nCols );
GetTableData().GetSelection( 0, nCols, *pSelBoxes, aSelCols, true );
@ -971,7 +971,7 @@ sal_Bool SAL_CALL SwAccessibleTable::isAccessibleRowSelected( sal_Int32 nRow )
const SwSelBoxes *pSelBoxes = GetSelBoxes();
if( pSelBoxes )
{
SwAccSingleTableSelHander_Impl aSelRow;
SwAccSingleTableSelHandler_Impl aSelRow;
GetTableData().GetSelection( nRow, nRow+1, *pSelBoxes, aSelRow,
false );
bRet = aSelRow.IsSelected();
@ -997,7 +997,7 @@ sal_Bool SAL_CALL SwAccessibleTable::isAccessibleColumnSelected(
const SwSelBoxes *pSelBoxes = GetSelBoxes();
if( pSelBoxes )
{
SwAccSingleTableSelHander_Impl aSelCol;
SwAccSingleTableSelHandler_Impl aSelCol;
GetTableData().GetSelection( nColumn, nColumn+1, *pSelBoxes, aSelCol,
true );