diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-08-18 15:01:35 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-08-18 15:33:50 +0200 |
commit | 1a4c6931914f0072a2828bf6966606781384d210 (patch) | |
tree | 2be72bca6b9a2e50ec2dcfc80bb5e300ece83f45 /starmath/inc/node.hxx | |
parent | efb9c9000071b9ab2f1757caf810ad43ee259e1d (diff) |
implement sub/sup support for ooxml math export
Diffstat (limited to 'starmath/inc/node.hxx')
-rw-r--r-- | starmath/inc/node.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index 93b2521450b3..38793e7c5148 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -964,6 +964,7 @@ public: * @remarks this method may return NULL. */ SmNode * GetSubSup(SmSubSup eSubSup) { return GetSubNode( sal::static_int_cast< sal_uInt16 >(1 + eSubSup) ); }; + const SmNode * GetSubSup(SmSubSup eSubSup) const { return const_cast< SmSubSupNode* >( this )->GetSubSup( eSubSup ); } /** Set the body */ void SetBody(SmNode* pBody) { SetSubNode(0, pBody); } |