summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-12-18 12:42:33 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-12-18 12:42:46 +0100
commit5b7810581c573c4406a0e4529193dd3a7871a56c (patch)
treef31689e52aae65209fe49ddda9dbe2d97c123428 /sw
parent1b67d91b0065c46ca7b36db0836c9159ca8b50cf (diff)
SwFrm::CheckPageDescs: if bOdd is false, we want left format
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/pagechg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 2c9a4b7aa654..54b2f223f1b9 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -1195,7 +1195,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, sal_Bool bNotifyFields )
{
//Format mit verdrehter Logic besorgen.
if (bFirst)
- pFmtWish = bOdd ? pDesc->GetRightFmt() : pDesc->GetRightFmt();
+ pFmtWish = bOdd ? pDesc->GetRightFmt() : pDesc->GetLeftFmt();
if (!pFmtWish)
pFmtWish = bOdd ? pDesc->GetLeftFmt() : pDesc->GetRightFmt();
if ( pPage->GetFmt() != pFmtWish )