diff options
author | jp <jp@openoffice.org> | 2000-12-04 16:28:20 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-12-04 16:28:20 +0000 |
commit | 3a92c41be0b8e0c6a4b5cfe1be47907f8730d6c7 (patch) | |
tree | 88faa8df599f14536631a7040289dcc3a7df3d73 /sw | |
parent | 1809d3e076a9cffdc0f819013bf2e6b92412ee43 (diff) |
Bug #81120#: mirror definition between writer and grafobject are differen
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index a20e6fe09d6f..0c71cd28b12c 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ndgrf.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jp $ $Date: 2000-11-28 20:34:21 $ + * last change: $Author: jp $ $Date: 2000-12-04 17:28:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1129,11 +1129,11 @@ GraphicAttr& SwGrfNode::GetGraphicAttr( GraphicAttr& rGA, { switch( rMirror.GetValue() ) { - case RES_DONT_MIRROR_GRF: nMirror = BMP_MIRROR_VERT; break; + case RES_DONT_MIRROR_GRF: nMirror = BMP_MIRROR_HORZ; break; case RES_MIRROR_GRF_VERT: nMirror = BMP_MIRROR_NONE; break; case RES_MIRROR_GRF_HOR: nMirror = BMP_MIRROR_HORZ|BMP_MIRROR_VERT; break; - default: nMirror = BMP_MIRROR_HORZ; break; + default: nMirror = BMP_MIRROR_VERT; break; } } else @@ -1141,8 +1141,8 @@ GraphicAttr& SwGrfNode::GetGraphicAttr( GraphicAttr& rGA, { case RES_MIRROR_GRF_BOTH: nMirror = BMP_MIRROR_HORZ|BMP_MIRROR_VERT; break; - case RES_MIRROR_GRF_VERT: nMirror = BMP_MIRROR_VERT; break; - case RES_MIRROR_GRF_HOR: nMirror = BMP_MIRROR_HORZ; break; + case RES_MIRROR_GRF_VERT: nMirror = BMP_MIRROR_HORZ; break; + case RES_MIRROR_GRF_HOR: nMirror = BMP_MIRROR_VERT; break; } rGA.SetMirrorFlags( nMirror ); |