Kaydet (Commit) 9deabca9 authored tarafından Julien Nabet's avatar Julien Nabet

tdf#120773: simplify condition in sbagrid.cxx:1265

Change-Id: If907fe0310f4983ddf1917c6ca88f2cebf4c45aa
Reviewed-on: https://gerrit.libreoffice.org/62206
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst ae9f37ba
......@@ -1262,7 +1262,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
if (IsCurrentAppending())
--nCorrectRowCount; // the current data record doesn't really exist, we are appending a new one
if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) || nCol == 0 || nCol == BROWSER_INVALIDID )
if ( (nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) || (nCol == 0) )
// no valid cell under the mouse cursor
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment