summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-02-26 12:34:34 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-02-26 14:06:24 +0100
commit7deb4c93a804b2f17d102f2f24448a5c638a96ea (patch)
treebb59fa2256a5868669e48c77c9aad3303840ccc0 /sw/source
parent3c4f7704e0af64bf967f5f767bf4b4cff7f59d6c (diff)
cppcheck: assuming these to be intended to actually have a scope
Change-Id: Id1af6eb4064a524b12113b5b52b15f2ea4d6ada4
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/frmedt/fetab.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index cef2cee83c70..729de3077041 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -211,7 +211,7 @@ bool SwFEShell::InsertRow( sal_uInt16 nCnt, bool bBehind )
}
GetTblSel( *this, aBoxes, nsSwTblSearchType::TBLSEARCH_ROW );
- TblWait( nCnt, pFrm, *GetDoc()->GetDocShell(), aBoxes.size() );
+ TblWait aWait( nCnt, pFrm, *GetDoc()->GetDocShell(), aBoxes.size() );
bool bRet = false;
if ( aBoxes.size() )
@@ -249,7 +249,7 @@ bool SwFEShell::InsertCol( sal_uInt16 nCnt, bool bBehind )
SwSelBoxes aBoxes;
GetTblSel( *this, aBoxes, nsSwTblSearchType::TBLSEARCH_COL );
- TblWait( nCnt, pFrm, *GetDoc()->GetDocShell(), aBoxes.size() );
+ TblWait aWait( nCnt, pFrm, *GetDoc()->GetDocShell(), aBoxes.size() );
bool bRet = false;
if( !aBoxes.empty() )
@@ -299,7 +299,7 @@ bool SwFEShell::DeleteCol()
GetTblSel( *this, aBoxes, nsSwTblSearchType::TBLSEARCH_COL );
if ( !aBoxes.empty() )
{
- TblWait( aBoxes.size(), pFrm, *GetDoc()->GetDocShell() );
+ TblWait aWait( aBoxes.size(), pFrm, *GetDoc()->GetDocShell() );
// remove crsr from the deletion area.
// Put them behind/on the table; via the
@@ -351,7 +351,7 @@ bool SwFEShell::DeleteRow(bool bCompleteTable)
if( !aBoxes.empty() )
{
- TblWait( aBoxes.size(), pFrm, *GetDoc()->GetDocShell() );
+ TblWait aWait( aBoxes.size(), pFrm, *GetDoc()->GetDocShell() );
// Delete cursors from the deletion area.
// Then the cursor is:
@@ -463,7 +463,7 @@ sal_uInt16 SwFEShell::MergeTab()
SET_CURR_SHELL( this );
StartAllAction();
- TblWait(pTableCrsr->GetSelectedBoxesCount(), 0,
+ TblWait aWait(pTableCrsr->GetSelectedBoxesCount(), 0,
*GetDoc()->GetDocShell(),
pTblNd->GetTable().GetTabLines().size() );
@@ -506,7 +506,7 @@ bool SwFEShell::SplitTab( bool bVert, sal_uInt16 nCnt, bool bSameHeight )
GetTblSel( *this, aBoxes );
if( !aBoxes.empty() )
{
- TblWait( nCnt, pFrm, *GetDoc()->GetDocShell(), aBoxes.size() );
+ TblWait aWait( nCnt, pFrm, *GetDoc()->GetDocShell(), aBoxes.size() );
// now delete the columns
bRet = GetDoc()->SplitTbl( aBoxes, bVert, nCnt, bSameHeight );
@@ -1262,7 +1262,7 @@ bool SwFEShell::DeleteTblSel()
GetTblSelCrs( *this, aBoxes );
if( !aBoxes.empty() )
{
- TblWait( aBoxes.size(), pFrm, *GetDoc()->GetDocShell() );
+ TblWait aWait( aBoxes.size(), pFrm, *GetDoc()->GetDocShell() );
// cursor should be removed from deletion area.
// Put them behind/on the table; via the document