summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-01-30 14:21:06 +0000
committerRüdiger Timm <rt@openoffice.org>2007-01-30 14:21:06 +0000
commite860e28dd8a391867d847de56ecfce06a7e623be (patch)
tree460fb1f5c4600325af1d96ec5e45867ff955e44b /starmath
parent389172a0e45d46950444e910ef244e0792e60fdb (diff)
INTEGRATION: CWS tl25 (1.35.112); FILE MERGED
2006/11/08 22:18:29 tl 1.35.112.2: RESYNC: (1.35-1.36); FILE MERGED 2006/08/17 09:52:44 tl 1.35.112.1: #i68406# valgrind issue fixed
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx60
1 files changed, 58 insertions, 2 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index f3e64c5662c3..b43dfb1ad0e7 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: mathtype.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 07:53:46 $
+ * last change: $Author: rt $ $Date: 2007-01-30 15:21:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -203,6 +203,62 @@ static sal_Unicode Convert(sal_Unicode nIn)
return nIn;
}
+MathType::MathType( String &rIn ) :
+ rRet( rIn ),
+ pTree( NULL ),
+ pS( NULL ),
+ nPendingAttributes( 0 ),
+ nInsertion( 0 ),
+ nPostSup( 0 ),
+ nPostlSup( 0 ),
+ nDefaultSize( 12 ),
+ nLSize( 0 ),
+ nDSize( 0 ),
+ nCurSize( 0 ),
+ nLastSize( 0 ),
+ nSpec( 0 ),
+ bSilent( sal_False ),
+ bReInterpBrace( sal_False ),
+ nTypeFace( 0 ),
+ nHAlign( 0 ),
+ nVAlign( 0 ),
+ nVersion( 0 ),
+ nPlatform( 0 ),
+ nProduct( 0 ),
+ nProdVersion( 0 ),
+ nProdSubVersion( 0 )
+{
+ Init();
+}
+
+MathType::MathType( String &rIn, SmNode *pIn ) :
+ rRet( rIn ),
+ pTree( pIn ),
+ pS( NULL ),
+ nPendingAttributes( 0 ),
+ nInsertion( 0 ),
+ nPostSup( 0 ),
+ nPostlSup( 0 ),
+ nDefaultSize( 12 ),
+ nLSize( 0 ),
+ nDSize( 0 ),
+ nCurSize( 0 ),
+ nLastSize( 0 ),
+ nSpec( 0 ),
+ bSilent( sal_False ),
+ bReInterpBrace( sal_False ),
+ nTypeFace( 0 ),
+ nHAlign( 2 ),
+ nVAlign( 0 ),
+ nVersion( 0 ),
+ nPlatform( 0 ),
+ nProduct( 0 ),
+ nProdVersion( 0 ),
+ nProdSubVersion( 0 )
+{
+ Init();
+}
+
void MathType::Init()
{
//These are the default MathType sizes