summaryrefslogtreecommitdiff
path: root/starmath/inc/node.hxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-11-03 15:50:00 +0100
committerThomas Lange [tl] <tl@openoffice.org>2010-11-03 15:50:00 +0100
commitefc013d327e4268fc2258bebf9bab0f298679251 (patch)
treebf915aa08dbc93db68d2e4d5bf65b76f2465e4eb /starmath/inc/node.hxx
parentcf71abf8511eb5348233fc0022c9a5a2159f7ea4 (diff)
cws tlmath01: #i972# Math baseline alignment
Diffstat (limited to 'starmath/inc/node.hxx')
-rw-r--r--starmath/inc/node.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 2f2d0f770af1..e2a21238064d 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -180,8 +180,9 @@ public:
const SmNode * FindTokenAt(USHORT nRow, USHORT nCol) const;
const SmNode * FindRectClosestTo(const Point &rPoint) const;
+
// --> 4.7.2010 #i972#
- virtual long GetFormulaBaseline() const { return (long)0; } //dummy, used in SmTableNode
+ virtual long GetFormulaBaseline() const;
// <--
};
@@ -471,7 +472,7 @@ public:
virtual SmNode * GetLeftMost();
virtual void Arrange(const OutputDevice &rDev, const SmFormat &rFormat);
- long GetFormulaBaseline() const { return nFormulaBaseline; }
+ virtual long GetFormulaBaseline() const;
};