summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/toolbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/toolbar.cxx')
-rw-r--r--extensions/source/bibliography/toolbar.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index daab0798c75e..71de2963862b 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -639,8 +639,10 @@ void BibToolBar::AdjustToolBox()
aSize.Height() = aOldSize.Height();
Size aTbSize = 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())
+ )
{
SetPosSizePixel( GetPosPixel(), aSize );
Invalidate();