Kaydet (Commit) b89da4bb authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

Type: BROWSER_INVALID_ID -> BROWSER_INVALIDID

üst f7ed67f2
...@@ -1415,7 +1415,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt ) ...@@ -1415,7 +1415,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
if (IsCurrentAppending()) if (IsCurrentAppending())
--nCorrectRowCount; // the current data record doesn't really exist, we are appending a new one --nCorrectRowCount; // the current data record doesn't really exist, we are appending a new one
if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) || GetColumnId(nCol) == 0 || GetColumnId(nCol) == BROWSER_INVALID_ID ) if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) || GetColumnId(nCol) == 0 || GetColumnId(nCol) == BROWSER_INVALIDID )
// no valid cell under the mouse cursor // no valid cell under the mouse cursor
break; break;
......
...@@ -284,7 +284,7 @@ void BrowseBox::InsertDataColumn( sal_uInt16 nItemId, const XubString& rText, ...@@ -284,7 +284,7 @@ void BrowseBox::InsertDataColumn( sal_uInt16 nItemId, const XubString& rText,
DBG_CHKTHIS(BrowseBox,BrowseBoxCheckInvariants); DBG_CHKTHIS(BrowseBox,BrowseBoxCheckInvariants);
OSL_ENSURE( nItemId != HandleColumnId, "BrowseBox::InsertDataColumn: nItemId is HandleColumnId" ); OSL_ENSURE( nItemId != HandleColumnId, "BrowseBox::InsertDataColumn: nItemId is HandleColumnId" );
OSL_ENSURE( nItemId != BROWSER_INVALIDID, "BrowseBox::InsertDataColumn: nItemId is reserved value BROWSER_INVALID_ID" ); OSL_ENSURE( nItemId != BROWSER_INVALIDID, "BrowseBox::InsertDataColumn: nItemId is reserved value BROWSER_INVALIDID" );
#if OSL_DEBUG_LEVEL > 0 #if OSL_DEBUG_LEVEL > 0
{ {
......
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