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

New commits:
commit cc6c5ae6333ccff08d0d82b36c269112cf55d89b
Author: Eike Rathke <er...@redhat.com>
Date:   Mon Jul 17 12:15:47 2017 +0200

    ScRange has a col,row,tab ctor, use it instead of a temporary ScAddress
    
    Change-Id: I4d095d00254abac3675c2e369ca37df6abd3d341

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;
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to