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

Takeshi Abe tabe at fixedpoint.jp
Fri Mar 11 07:27:53 UTC 2016


 starmath/source/ElementsDockingWindow.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d31df8fb80ee7408b9c79ffd7acaf2561f75432d
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Feb 16 17:33:59 2016 +0900

    starmath: Make examples of exponential function consistent
    
    ... by prefixing "func" so that it is the same as Exponential Function
    in Functions of the Elements window (RID_EX in commands.src).
    
    Change-Id: I823c345a0f376f0679930aa7975bdeb03575cd43
    Reviewed-on: https://gerrit.libreoffice.org/22389
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index feb89f1..86266d6 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -668,7 +668,7 @@ void SmElementsControl::build()
             addElement(aEquation, aEquation, "");
             aEquation = "f ( x ) = sum from { { i = 0 } } to { infinity } { {f^{(i)}(0)} over {i!} x^i}";
             addElement(aEquation, aEquation, "");
-            aEquation = "f ( x ) = {1} over {%sigma sqrt{2%pi} }e^-{{(x-%mu)^2} over {2%sigma^2}}";
+            aEquation = "f ( x ) = {1} over {%sigma sqrt{2%pi} }func e^-{{(x-%mu)^2} over {2%sigma^2}}";
             addElement(aEquation, aEquation, "");
         }
         break;


More information about the Libreoffice-commits mailing list