summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/dbase/DIndexIter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/dbase/DIndexIter.hxx')
-rw-r--r--connectivity/source/inc/dbase/DIndexIter.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/inc/dbase/DIndexIter.hxx b/connectivity/source/inc/dbase/DIndexIter.hxx
index 0b70f96e0c25..7b950fdd0923 100644
--- a/connectivity/source/inc/dbase/DIndexIter.hxx
+++ b/connectivity/source/inc/dbase/DIndexIter.hxx
@@ -36,7 +36,7 @@ namespace connectivity
protected:
file::OBoolOperator* m_pOperator;
const file::OOperand* m_pOperand;
- ODbaseIndex* m_pIndex;
+ css::uno::Reference<ODbaseIndex> m_xIndex;
ONDXPagePtr m_aRoot,
m_aCurLeaf;
sal_uInt16 m_nCurNode;
@@ -57,10 +57,9 @@ namespace connectivity
const file::OOperand* pOper)
:m_pOperator(pOp)
,m_pOperand(pOper)
- ,m_pIndex(pInd)
+ ,m_xIndex(pInd)
,m_nCurNode(NODE_NOTFOUND)
{
- pInd->acquire();
}
virtual ~OIndexIterator();