diff options
Diffstat (limited to 'svx/source/dialog/page.cxx')
-rw-r--r-- | svx/source/dialog/page.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/dialog/page.cxx b/svx/source/dialog/page.cxx index ceef751a5ea6..140a7cb646ab 100644 --- a/svx/source/dialog/page.cxx +++ b/svx/source/dialog/page.cxx @@ -1137,8 +1137,10 @@ IMPL_LINK( SvxPageDescPage, PaperSizeModify_Impl, Edit *, EMPTYARG ) IMPL_LINK( SvxPageDescPage, SwapOrientation_Impl, RadioButton *, pBtn ) { - if ( !bLandscape && pBtn == &aLandscapeBtn || - bLandscape && pBtn == &aPortraitBtn ) + if ( + (!bLandscape && pBtn == &aLandscapeBtn) || + (bLandscape && pBtn == &aPortraitBtn) + ) { bLandscape = aLandscapeBtn.IsChecked(); |