diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 11:29:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-01 12:48:50 +0200 |
commit | 08e14eb270ef446c68ac27a3bca49494aa02da2d (patch) | |
tree | f89f100b22dd5b2f714d20d3db57386d64bc7d5a /starmath/inc | |
parent | 1685ff1478b6ded2d9d23120cbd2e3dc3fe97ea7 (diff) |
loplugin:unuseddefaultparam in starmath
Change-Id: I740d931c0236c1a4d40013b458f249692695d6e5
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/cursor.hxx | 12 | ||||
-rw-r--r-- | starmath/inc/dialog.hxx | 6 |
2 files changed, 9 insertions, 9 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 */ diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index fe5ed2a685be..dd1acc8f9be8 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -371,7 +371,7 @@ class SmSymbolDialog : public ModalDialog DECL_LINK_TYPED(GetClickHdl, Button*, void); void SymbolDblClickHdl(); - void FillSymbolSets(bool bDeleteText = true); + void FillSymbolSets(); const SmSym *GetSymbol() const; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; @@ -444,8 +444,8 @@ class SmSymDefineDialog : public ModalDialog void FillSymbols(ComboBox &rComboBox, bool bDeleteText = true); void FillSymbolSets(ComboBox &rComboBox, bool bDeleteText = true); - void FillFonts(bool bDeleteText = true); - void FillStyles(bool bDeleteText = true); + void FillFonts(); + void FillStyles(); void SetSymbolSetManager(const SmSymbolManager &rMgr); void SetFont(const OUString &rFontName, const OUString &rStyleName); |