summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-07-17 12:15:47 +0200
committerEike Rathke <erack@redhat.com>2017-07-17 12:16:14 +0200
commitcc6c5ae6333ccff08d0d82b36c269112cf55d89b (patch)
treeaef10bf30265adb77c87c4cf4c0c46ed94d15585 /sc
parent41f098c0a2363f7607516a9fe20706ad4201b45c (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.cxx2
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;
}