diff options
author | Caolán McNamara <cmc@openoffice.org> | 2002-01-15 11:40:35 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2002-01-15 11:40:35 +0000 |
commit | 8b2494f965224a62c7a8003a4fae99e9ba0089bd (patch) | |
tree | 25c4d4b9fb30a3c31cef75e6c1f34d7fd2c23e80 /sw/source/filter/ww8 | |
parent | 4588ac096bdb9dabc1f7c944cac796abeb1e2260 (diff) |
#96401# Setting distances in HORI_LEFT orientation doesn't make sense, so an element won't move
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 7a608e5d6706..8d2bb04f89b0 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ww8par2.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: cmc $ $Date: 2002-01-15 11:44:10 $ + * last change: $Author: cmc $ $Date: 2002-01-15 12:40:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1811,13 +1811,14 @@ void WW8TabDesc::CreateSwTable() aL.SetLeft( GetMinLeft() ); pFrmFmt->SetAttr( aL ); } - else if (pIo->pSFlyPara->pFlyFmt) + else if ((pIo->pSFlyPara->pFlyFmt) && (GetMinLeft())) { //If we are inside a frame and we have a border, the frames //placement does not consider the tables border, which word //displays outside the frame, so adjust here. SwFmtHoriOrient aHori(pIo->pSFlyPara->pFlyFmt->GetHoriOrient()); aHori.SetPos(aHori.GetPos()+GetMinLeft()); + aHori.SetHoriOrient(HORI_NONE); pIo->pSFlyPara->pFlyFmt->SetAttr( aHori ); } } |