diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-20 13:39:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-20 13:52:18 +0200 |
commit | cc8f854707d751a610dac5a993f7d21a88f63cd8 (patch) | |
tree | 08c83e2a1414fa90a8aec6c52fbf6c826cae5c6a /sw/source/core/unocore/unoobj.cxx | |
parent | eede7d8bbf955f09c15ad59c5994c469924019dd (diff) |
loplugin: defaultparams
Change-Id: I463bbaf86b4a44e8bdf5388404730ab3dcd9b9fe
Diffstat (limited to 'sw/source/core/unocore/unoobj.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index cd4cd0a16216..779f84ab44a5 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -670,7 +670,7 @@ public: : m_rPropSet(*aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_CURSOR)) , m_eType(eType) , m_xParentText(xParent) - , m_pUnoCursor(rDoc.CreateUnoCrsr(rPoint, false), true) + , m_pUnoCursor(rDoc.CreateUnoCrsr(rPoint), true) { if (pMark) { @@ -2002,7 +2002,7 @@ lcl_SelectParaAndReset( SwPaM &rPaM, SwDoc & rDoc, // if we are reseting paragraph attributes, we need to select the full paragraph first SwPosition aStart = *rPaM.Start(); SwPosition aEnd = *rPaM.End(); - auto pTemp ( rDoc.CreateUnoCrsr(aStart, false) ); + auto pTemp ( rDoc.CreateUnoCrsr(aStart) ); if(!SwUnoCursorHelper::IsStartOfPara(*pTemp)) { pTemp->MovePara(fnParaCurr, fnParaStart); @@ -2515,17 +2515,17 @@ throw (uno::RuntimeException, std::exception) if ( text::TextMarkupType::SPELLCHECK == nType ) { txtNode->SetWrongDirty(true); - txtNode->SetWrong(0, true); + txtNode->SetWrong(0); } else if( text::TextMarkupType::PROOFREADING == nType ) { txtNode->SetGrammarCheckDirty(true); - txtNode->SetGrammarCheck(0,true); + txtNode->SetGrammarCheck(0); } else if ( text::TextMarkupType::SMARTTAG == nType ) { txtNode->SetSmartTagDirty(true); - txtNode->SetSmartTags (0, true); + txtNode->SetSmartTags(0); } else return; |