summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorFrédéric Wang <fred.wang@free.fr>2013-07-03 12:17:53 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-07-03 10:38:48 +0000
commit477f5880039830885b12831ba2995e63953384aa (patch)
tree332df565d911c32c032aa6ea7f9cfd9029e0413e /starmath
parentc5887193572ea1295b9d36008af5851127fd9647 (diff)
fdo#66281 - followup: fix a comment for overbrace.
Change-Id: Ia88a1585a6ade94b1ecc95bf4b3d0a38881b71dd Reviewed-on: https://gerrit.libreoffice.org/4699 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlexport.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 1dd16344bb3f..12f7f5af7b50 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -1469,9 +1469,17 @@ void SmXMLExport::ExportFont(const SmNode *pNode, int nLevel)
void SmXMLExport::ExportVerticalBrace(const SmNode *pNode, int nLevel)
{
- // Place the overbrace value OVER a horizontal brace and then place that
- // expression OVER the overbrace value. Similarly for the underbrace
- // construction.
+ // "[body] overbrace [script]"
+ //
+ // Position body, overbrace and script vertically. First place the overbrace
+ // OVER the body and then the script OVER this expression.
+ //
+ // [script]
+ // --[overbrace]--
+ // XXXXXX[body]XXXXXXX
+ //
+ // Similarly for the underbrace construction.
+
XMLTokenEnum which;
switch (pNode->GetToken().eType)