diff options
author | jp <jp@openoffice.org> | 2001-05-11 12:01:56 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-05-11 12:01:56 +0000 |
commit | bfdc119cabb73ea98fd29998935840ec73234060 (patch) | |
tree | 8f65718ab17b1427088cf90ab8dc93615636aad6 /starmath | |
parent | 9ce6cb5688b32a724fe7e372202619ddb91a1fd3 (diff) |
remove compiler warning
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/node.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index 47e54752548b..dac560b03677 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -2,9 +2,9 @@ * * $RCSfile: node.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: tl $ $Date: 2001-04-19 14:45:26 $ + * last change: $Author: jp $ $Date: 2001-05-11 13:01:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -188,8 +188,8 @@ public: virtual void Draw(OutputDevice &rDev, const Point &rPosition) const; - USHORT GetRow() const { return aNodeToken.nRow; } - USHORT GetColumn() const { return aNodeToken.nCol; } + USHORT GetRow() const { return (USHORT)aNodeToken.nRow; } + USHORT GetColumn() const { return (USHORT)aNodeToken.nCol; } SmScaleMode GetScaleMode() const { return eScaleMode; } void SetScaleMode(SmScaleMode eMode) { eScaleMode = eMode; } |