summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
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;
}