From a9ca38bdf7ff9d15529b5903e640987fc14c0fa7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 13 Feb 2018 15:24:42 +0200 Subject: loplugin:changetoolsgen in dbaccess..desktop Change-Id: I713a320e46f93dedd11266ac12e52110d13f451a Reviewed-on: https://gerrit.libreoffice.org/49655 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/ui/querydesign/TableConnection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx') 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: -- cgit