diff options
author | Eike Rathke <erack@redhat.com> | 2017-07-17 12:15:47 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-17 12:16:14 +0200 |
commit | cc6c5ae6333ccff08d0d82b36c269112cf55d89b (patch) | |
tree | aef10bf30265adb77c87c4cf4c0c46ed94d15585 /sc | |
parent | 41f098c0a2363f7607516a9fe20706ad4201b45c (diff) |
ScRange has a col,row,tab ctor, use it instead of a temporary ScAddress
Change-Id: I4d095d00254abac3675c2e369ca37df6abd3d341
Diffstat (limited to 'sc')
-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 d37d266d33f0..fb2c6d909df1 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( ScAddress( nCol, nRow, i))); + aMark.SetMarkArea( ScRange( nCol, nRow, i)); rFunc.ApplyAttributes( aMark, aPattern, false); bNumFmtChanged = true; } |