diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-04 11:35:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-04 11:48:05 +0200 |
commit | 03614918c028e82df353308837864c6fc7ff992c (patch) | |
tree | 631bc863274856e739e9d15c05f302e87383e751 /sc/source/ui/view/viewfun4.cxx | |
parent | fb6c99f21e03afb85d00459ca1e1abb07e71d126 (diff) |
loplugin:unuseddefaultparam in sc
Change-Id: Id461fc600bec5fe372875c2dcf405997fcf9f0b4
Diffstat (limited to 'sc/source/ui/view/viewfun4.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun4.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index a4fe4b81e5cc..6fac2e8b6fed 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -425,7 +425,7 @@ void ScViewFunc::DoHangulHanjaConversion() DoSheetConversion( aConvParam ); } -void ScViewFunc::DoSheetConversion( const ScConversionParam& rConvParam, bool bRecord ) +void ScViewFunc::DoSheetConversion( const ScConversionParam& rConvParam ) { SCCOL nCol; SCROW nRow; @@ -437,7 +437,8 @@ void ScViewFunc::DoSheetConversion( const ScConversionParam& rConvParam, bool bR ScSplitPos eWhich = rViewData.GetActivePart(); EditView* pEditView = nullptr; bool bIsEditMode = rViewData.HasEditView(eWhich); - if (bRecord && !rDoc.IsUndoEnabled()) + bool bRecord = true; + if (!rDoc.IsUndoEnabled()) bRecord = false; if (bIsEditMode) // edit mode active { |