diff options
author | Michael Stahl <mst@openoffice.org> | 2010-07-30 15:00:13 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-07-30 15:00:13 +0200 |
commit | 5ebb5aab64a1c59f945a950db01a4bf7caa76b25 (patch) | |
tree | 428d3a6ade34cc44d57a3d63c5a0f5d2181ad0d0 /sw/source/ui/frmdlg | |
parent | c6fce63a3572f3a1f9fc70a98943b1666c2f63ac (diff) |
sw34bf01: #i113314#: frmpage.cxx: apply patch by cmc
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index 5bff86b1a4c7..49bd1b2a0c7e 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -1080,7 +1080,7 @@ BOOL SwFrmPage::FillItemSet(SfxItemSet &rSet) aWidthED .GetValue() == aWidthED .GetMin() && aHeightED.GetValue() == aHeightED.GetMin()); - if ((bNew && !bFormat) || (bValueModified || bCheckChanged) && bLegalValue) + if ((bNew && !bFormat) || ((bValueModified || bCheckChanged) && bLegalValue)) { sal_Int64 nNewWidth = aWidthED.DenormalizePercent(aWidthED.GetRealValue(FUNIT_TWIP)); sal_Int64 nNewHeight = aHeightED.DenormalizePercent(aHeightED.GetRealValue(FUNIT_TWIP)); |