[Libreoffice-commits] .: dbaccess/source svtools/source

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Mon Sep 12 08:47:33 PDT 2011


 dbaccess/source/ui/browser/sbagrid.cxx |    2 +-
 svtools/source/brwbox/brwbox1.cxx      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b89da4bbb9e4fb2b94bf3d5dcc225a0d88936953
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Sep 12 17:46:56 2011 +0200

    Type: BROWSER_INVALID_ID -> BROWSER_INVALIDID

diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 901d2a3..f64f6c8 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1415,7 +1415,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) || 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
             break;
 
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 9d4acd9..8f473d9 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -284,7 +284,7 @@ void BrowseBox::InsertDataColumn( sal_uInt16 nItemId, const XubString& rText,
     DBG_CHKTHIS(BrowseBox,BrowseBoxCheckInvariants);
 
     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
     {


More information about the Libreoffice-commits mailing list