#90754# don't unbound bookmark column

This commit is contained in:
Ocke Janssen
2001-08-10 07:11:09 +00:00
parent 21ad4b831f
commit 08746fdcfa

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: RowSetBase.cxx,v $ * $RCSfile: RowSetBase.cxx,v $
* *
* $Revision: 1.44 $ * $Revision: 1.45 $
* *
* last change: $Author: fs $ $Date: 2001-08-06 11:00:09 $ * last change: $Author: oj $ $Date: 2001-08-10 08:11:09 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -919,7 +919,7 @@ void ORowSetBase::setCurrentRow(sal_Bool _bMoved,const ORowSetMatrix::iterator&
if(!(m_bBeforeFirst || m_bAfterLast)) if(!(m_bBeforeFirst || m_bAfterLast))
{ {
m_aBookmark = m_pCache->getBookmark(); m_aBookmark = m_pCache->getBookmark();
OSL_ENSURE(m_aBookmark.hasValue(),"Bookamrk has no value!"); OSL_ENSURE(m_aBookmark.hasValue(),"Bookmark has no value!");
m_aCurrentRow = m_pCache->m_aMatrixIter; m_aCurrentRow = m_pCache->m_aMatrixIter;
m_aCurrentRow.setBookmark(m_aBookmark); m_aCurrentRow.setBookmark(m_aBookmark);
OSL_ENSURE((*(*m_aCurrentRow))[0].makeAny().hasValue(),"Bookamrk has no value!"); OSL_ENSURE((*(*m_aCurrentRow))[0].makeAny().hasValue(),"Bookamrk has no value!");