summaryrefslogtreecommitdiff
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-06-28 12:51:13 +0000
committerThomas Lange <tl@openoffice.org>2001-06-28 12:51:13 +0000
commit6567e80807269aa888ce764d25a27889b9e737f6 (patch)
treec0b806a1f5e3b27b9edd0bb8f71fd75a2d8d6aa5 /starmath/source/node.cxx
parent1c54e07be0d000ce9c06d8e14ba5ae1ba00823df (diff)
#72677# SmLineNode does no longer take its SmRect settings from the first subnode
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 2c65f7eaeead..09068fb5c761 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: node.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tl $ $Date: 2001-06-19 11:54:24 $
+ * last change: $Author: tl $ $Date: 2001-06-28 13:51:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -774,8 +774,6 @@ void SmLineNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell)
void SmLineNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
// arranges all subnodes in one row with some extra space between
{
- SmRect::operator = (SmRect());
-
SmNode *pNode;
USHORT nSize = GetNumSubNodes();
USHORT i;
@@ -816,7 +814,7 @@ void SmLineNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
aPos.X() += nDist;
pNode->MoveTo(aPos);
- ExtendBy(*pNode, i ? RCP_XOR : RCP_ARG);
+ ExtendBy( *pNode, RCP_XOR );
}
}