[Libreoffice-commits] core.git: dbaccess/source
Miklos Vajna
vmiklos at suse.cz
Thu May 30 00:33:23 PDT 2013
dbaccess/source/ui/browser/brwctrlr.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 51c18e8e807e12dae94b09b1a517616c4a2a4730
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Thu May 30 09:31:58 2013 +0200
dbaccess: this can happen, that's why we check for it
Change-Id: Icc85dde5cc53a6880ac83d687bad498ab984c4cf
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 9f284e7..6d0cc35 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);
}
More information about the Libreoffice-commits
mailing list