summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableConnection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-11 08:40:36 +0200
committerNoel Grandin <noel@peralex.com>2016-01-11 10:49:24 +0200
commitf7c23897a354d9856ecaa5f7252520a350229bfa (patch)
tree1e8a006460cdd49683d410eb6352211d38b6f9f7 /dbaccess/source/ui/querydesign/TableConnection.cxx
parent889fc93087ae1b57348803014c0a6090fd48c06f (diff)
loplugin:unusedmethods unused return value in dbaccess
Change-Id: Ia7ec0209a635f8482b6ccbaa7ba48a8c6da79090
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableConnection.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx
index 2d43b018a594..062158ee232b 100644
--- a/dbaccess/source/ui/querydesign/TableConnection.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnection.cxx
@@ -108,12 +108,11 @@ namespace dbaui
return *this;
}
- bool OTableConnection::RecalcLines()
+ void OTableConnection::RecalcLines()
{
// call RecalcLines on each line
for( const auto& pLine : m_vConnLine )
pLine->RecalcLine();
- return true;
}
OTableWindow* OTableConnection::GetSourceWin() const
{
@@ -158,7 +157,7 @@ namespace dbaui
{ return pLine->CheckHit( rMousePos ); } );
}
- bool OTableConnection::InvalidateConnection()
+ void OTableConnection::InvalidateConnection()
{
Rectangle rcBounding = GetBoundingRect();
rcBounding.Bottom() += 1;
@@ -168,8 +167,6 @@ namespace dbaui
// Invalidate records obviously one pixel line less as Draw.
// Or everything works differently ..... in any case it works ....
m_pParent->Invalidate( rcBounding, InvalidateFlags::NoChildren );
-
- return true;
}
Rectangle OTableConnection::GetBoundingRect() const