sc/source/ui/view/viewfunc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89805d2846298cfa7345aef2673666649a42773b
Author: Eike Rathke <er...@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;
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to