diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-05 12:03:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-05 11:56:06 +0000 |
commit | a40278562557828634886924c82f58e215be9756 (patch) | |
tree | cab700911bbcfbf280d962cbcac433e2892a337b /starmath | |
parent | loplugin:countusersofdefaultparams in editeng..fpicker (diff) | |
download | core-a40278562557828634886924c82f58e215be9756.tar.gz core-a40278562557828634886924c82f58e215be9756.zip |
loplugin:countusersofdefaultparams in sfx2..svgio
Change-Id: Ia01f3a9aa21c88df5fe5242ad4a3c0acbe68fda0
Reviewed-on: https://gerrit.libreoffice.org/27903
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/cursor.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx index cd36b4ee5a97..9fd913969185 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -107,7 +107,7 @@ public: void Move(OutputDevice* pDev, SmMovementDirection direction, bool bMoveAnchor = true); /** Move to the caret position closet to a given point */ - void MoveTo(OutputDevice* pDev, Point pos, bool bMoveAnchor = true); + void MoveTo(OutputDevice* pDev, Point pos, bool bMoveAnchor); /** Delete the current selection or do nothing */ void Delete(); @@ -216,7 +216,7 @@ public: /** Draw the caret */ void Draw(OutputDevice& pDev, Point Offset, bool isCaretVisible); - bool IsAtTailOfBracket(SmBracketType eBracketType, SmBraceNode** ppBraceNode = nullptr) const; + bool IsAtTailOfBracket(SmBracketType eBracketType, SmBraceNode** ppBraceNode) const; void MoveAfterBracket(SmBraceNode* pBraceNode); private: @@ -257,7 +257,7 @@ private: * that includes pLine! * This method also deletes SmErrorNode's as they're just meta info in the line. */ - static SmNodeList* LineToList(SmStructureNode* pLine, SmNodeList* pList = new SmNodeList()); + static SmNodeList* LineToList(SmStructureNode* pLine, SmNodeList* pList); /** Auxiliary function for calling LineToList on a node * |