[Libreoffice-commits] core.git: starmath/source

Frédéric Wang fred.wang at free.fr
Wed Jul 3 03:39:10 PDT 2013


 starmath/source/mathmlexport.cxx |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

New commits:
commit 477f5880039830885b12831ba2995e63953384aa
Author: Frédéric Wang <fred.wang at free.fr>
Date:   Wed Jul 3 12:17:53 2013 +0200

     fdo#66281 - followup: fix a comment for overbrace.
    
    Change-Id: Ia88a1585a6ade94b1ecc95bf4b3d0a38881b71dd
    Reviewed-on: https://gerrit.libreoffice.org/4699
    Reviewed-by: Khaled Hosny <khaledhosny at eglug.org>
    Tested-by: Khaled Hosny <khaledhosny at eglug.org>

diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 1dd1634..12f7f5a 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)


More information about the Libreoffice-commits mailing list