diff options
author | Eike Rathke <erack@redhat.com> | 2017-07-17 12:35:01 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-17 12:35:12 +0200 |
commit | 89805d2846298cfa7345aef2673666649a42773b (patch) | |
tree | 1f1e606b99372f234a254c149f8c86e09736930c | |
parent | fe6af0a260301f50a83c0b14a7fabad9fffe78cf (diff) |
ScAddress aPos is already available, use it
Change-Id: I5d7cb8a4263b454438e7af45192f9008f283150d
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index fb2c6d909df1..d287ba5fe63f 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -545,7 +545,7 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, aPattern.GetItemSet().Put( SfxUInt32Item( ATTR_VALUE_FORMAT, nFormat)); ScMarkData aMark; aMark.SelectTable( i, true); - aMark.SetMarkArea( ScRange( nCol, nRow, i)); + aMark.SetMarkArea( ScRange( aPos)); rFunc.ApplyAttributes( aMark, aPattern, false); bNumFmtChanged = true; } |