summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableConnection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-13 15:24:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 07:27:38 +0100
commita9ca38bdf7ff9d15529b5903e640987fc14c0fa7 (patch)
treeb8b22298011bdfea9575dc8c761203d5cb54bdf1 /dbaccess/source/ui/querydesign/TableConnection.cxx
parentc8e19544cdc506dfc91dbd8045da208ded7d7d2c (diff)
loplugin:changetoolsgen in dbaccess..desktop
Change-Id: I713a320e46f93dedd11266ac12e52110d13f451a Reviewed-on: https://gerrit.libreoffice.org/49655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx
index e08020f1ff12..17724bf13ea4 100644
--- a/dbaccess/source/ui/querydesign/TableConnection.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnection.cxx
@@ -158,7 +158,7 @@ namespace dbaui
void OTableConnection::InvalidateConnection()
{
tools::Rectangle rcBounding = GetBoundingRect();
- rcBounding.Bottom() += 1;
+ rcBounding.SetBottom( rcBounding.Bottom() + 1 );
rcBounding.Right() += 1;
// I believe Invalidate and Draw(Rectangle) do not behave consistent: in any case it
// could explain, why without the fake here when deleting a connection a dash remains at the lower end: