diff options
author | Caolán McNamara <cmc@openoffice.org> | 2002-11-18 12:54:46 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2002-11-18 12:54:46 +0000 |
commit | 97161d1b51044058e340a756d06c22d854867ac7 (patch) | |
tree | c32f890a376802893e3a3f46a5177890d54e402d /starmath/source/mathtype.cxx | |
parent | #i9055# friends without type specifier (diff) | |
download | core-97161d1b51044058e340a756d06c22d854867ac7.tar.gz core-97161d1b51044058e340a756d06c22d854867ac7.zip |
#i8837# escape square brackets in importing mathtype text
Diffstat (limited to 'starmath/source/mathtype.cxx')
-rw-r--r-- | starmath/source/mathtype.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 94e4a903b987..c1a0fa05c10f 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -2,9 +2,9 @@ * * $RCSfile: mathtype.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: cmc $ $Date: 2002-09-27 11:52:25 $ + * last change: $Author: cmc $ $Date: 2002-11-18 13:54:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -319,6 +319,12 @@ sal_Bool MathType::LookupChar(sal_Unicode nChar,String &rRet,sal_uInt8 nVersion, case ')': pC = " \\) "; break; + case '[': + pC = " \\[ "; + break; + case ']': + pC = " \\] "; + break; case '.': pC = " \".\" "; break; |