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

Takeshi Abe tabe at fixedpoint.jp
Wed Apr 27 02:58:33 UTC 2016


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

New commits:
commit 1ef1ed40cb45a095ef3458ef6012490242151772
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Apr 26 18:13:37 2016 +0900

    starmath: Drop unnecessary cast
    
    Change-Id: Ia892100507de7365bcecfa0708f76931f84d797b
    Reviewed-on: https://gerrit.libreoffice.org/24389
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 447fdc4..61094fd 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -1532,7 +1532,7 @@ bool SmCursor::IsAtTailOfBracket(SmBracketType eBracketType, SmBraceNode** ppBra
     }
 
     if (ppBraceNode) {
-        *ppBraceNode = static_cast<SmBraceNode*>(pBraceNode);
+        *ppBraceNode = pBraceNode;
     }
 
     return true;


More information about the Libreoffice-commits mailing list