[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Mon Jul 17 10:36:01 UTC 2017
sc/source/ui/view/viewfunc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 89805d2846298cfa7345aef2673666649a42773b
Author: Eike Rathke <erack at redhat.com>
Date: Mon Jul 17 12:35:01 2017 +0200
ScAddress aPos is already available, use it
Change-Id: I5d7cb8a4263b454438e7af45192f9008f283150d
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;
}
More information about the Libreoffice-commits
mailing list