diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-13 15:24:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 07:27:38 +0100 |
commit | a9ca38bdf7ff9d15529b5903e640987fc14c0fa7 (patch) | |
tree | b8b22298011bdfea9575dc8c761203d5cb54bdf1 /dbaccess/source/ui/misc | |
parent | c8e19544cdc506dfc91dbd8045da208ded7d7d2c (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/misc')
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index f96e6b9fd822..fccb5260b191 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -965,9 +965,9 @@ void adjustToolBoxSize(ToolBox* _pToolBox) Size aOldSize = _pToolBox->GetSizePixel(); Size aSize = _pToolBox->CalcWindowSizePixel(); if ( !aSize.Width() ) - aSize.Width() = aOldSize.Width(); + aSize.setWidth( aOldSize.Width() ); else if ( !aSize.Height() ) - aSize.Height() = aOldSize.Height(); + aSize.setHeight( aOldSize.Height() ); Size aTbSize = _pToolBox->GetSizePixel(); if ( (aSize.Width() && aSize.Width() != aTbSize.Width()) || |