diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-05-30 09:31:58 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-05-30 09:33:02 +0200 |
commit | 51c18e8e807e12dae94b09b1a517616c4a2a4730 (patch) | |
tree | f5f182290b3e73382aaf8184237ae591fd3b1f50 /dbaccess | |
parent | 73a809cba87eefbb495c5ba53f89b48d671f8230 (diff) |
dbaccess: this can happen, that's why we check for it
Change-Id: Icc85dde5cc53a6880ac83d687bad498ab984c4cf
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/brwctrlr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index 9f284e7d4d70..6d0cc35db670 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -2560,7 +2560,7 @@ IMPL_LINK(SbaXDataBrowserController, OnSearchContextRequest, FmSearchContext*, p IMPL_LINK(SbaXDataBrowserController, OnFoundData, FmFoundRecordInformation*, pInfo) { Reference< ::com::sun::star::sdbcx::XRowLocate > xCursor(getRowSet(), UNO_QUERY); - OSL_ENSURE(xCursor.is(), "SbaXDataBrowserController::OnFoundData : this is simply impossible !"); + OSL_ENSURE(xCursor.is(), "SbaXDataBrowserController::OnFoundData : xCursor is empty"); // move the cursor xCursor->moveToBookmark(pInfo->aPosition); @@ -2601,7 +2601,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio try { - OSL_ENSURE(xCursor.is(), "SbaXDataBrowserController::OnCanceledNotFound : this is simply impossible !"); + OSL_ENSURE(xCursor.is(), "SbaXDataBrowserController::OnCanceledNotFound : xCursor is empty"); // move the cursor xCursor->moveToBookmark(pInfo->aPosition); } |