diff options
Diffstat (limited to 'dbaccess/source/ui/misc/UITools.cxx')
-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 9f0f9bd2c85e..47b2a4f2a466 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -1301,8 +1301,8 @@ void adjustToolBoxSize(ToolBox* _pToolBox) aSize.Height() = aOldSize.Height(); Size aTbSize = _pToolBox->GetSizePixel(); - if (aSize.Width() && aSize.Width() != aTbSize.Width() || - aSize.Height() && aSize.Height() != aTbSize.Height()) + if ( (aSize.Width() && aSize.Width() != aTbSize.Width()) || + (aSize.Height() && aSize.Height() != aTbSize.Height()) ) { _pToolBox->SetPosSizePixel( _pToolBox->GetPosPixel(), aSize ); _pToolBox->Invalidate(); |