summaryrefslogtreecommitdiff
path: root/starmath/inc/cursor.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 11:29:12 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 12:48:50 +0200
commit08e14eb270ef446c68ac27a3bca49494aa02da2d (patch)
treef89f100b22dd5b2f714d20d3db57386d64bc7d5a /starmath/inc/cursor.hxx
parent1685ff1478b6ded2d9d23120cbd2e3dc3fe97ea7 (diff)
loplugin:unuseddefaultparam in starmath
Change-Id: I740d931c0236c1a4d40013b458f249692695d6e5
Diffstat (limited to 'starmath/inc/cursor.hxx')
-rw-r--r--starmath/inc/cursor.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx
index 761415fb99d0..1194967bb959 100644
--- a/starmath/inc/cursor.hxx
+++ b/starmath/inc/cursor.hxx
@@ -164,11 +164,11 @@ public:
* This method only work if the caret is inside an SmOperNode, or to the right of one.
* Notice also that this method ignores any selection made.
*
- * @param bMoveCaret If true that caret will be moved into the limit.
+ * The caret will be moved into the limit.
*
* @returns True, if the caret was in a context where this operation was possible.
*/
- bool InsertLimit(SmSubSup eSubSup, bool bMoveCaret = true);
+ bool InsertLimit(SmSubSup eSubSup);
/** Insert a new row or newline
*
@@ -217,7 +217,7 @@ public:
void Draw(OutputDevice& pDev, Point Offset, bool isCaretVisible);
bool IsAtTailOfBracket(SmBracketType eBracketType, SmBraceNode** ppBraceNode = nullptr) const;
- void MoveAfterBracket(SmBraceNode* pBraceNode, bool bMoveAnchor = true);
+ void MoveAfterBracket(SmBraceNode* pBraceNode);
private:
friend class SmDocShell;
@@ -414,11 +414,11 @@ public:
SmNodeListParser(){
pList = nullptr;
}
- /** Parse a list of nodes to an expression
+ /** Parse a list of nodes to an expression.
*
- * If bDeleteErrorNodes is true, old error nodes will be deleted.
+ * Old error nodes will be deleted.
*/
- SmNode* Parse(SmNodeList* list, bool bDeleteErrorNodes = true);
+ SmNode* Parse(SmNodeList* list);
/** True, if the token is an operator */
static bool IsOperator(const SmToken &token);
/** True, if the token is a relation operator */