summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/dbase/DIndexIter.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-24 11:02:42 +0200
committerNoel Grandin <noel@peralex.com>2016-05-24 11:02:42 +0200
commit95d20a3799998b9816bd2e8aebdbc96c61cead3e (patch)
tree8206ecc848631432cb8b027d5e780483734f808a /connectivity/source/inc/dbase/DIndexIter.hxx
parent3caf31b05d7bbf3d50a1bbda6c8b95982cb5c2b5 (diff)
Revert "remove some manual ref-counting"
until I have a better understanding of the UNO reference counting. This reverts commit 111de438ea3e512a541281dc0716cc728ea8d152.
Diffstat (limited to 'connectivity/source/inc/dbase/DIndexIter.hxx')
-rw-r--r--connectivity/source/inc/dbase/DIndexIter.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/inc/dbase/DIndexIter.hxx b/connectivity/source/inc/dbase/DIndexIter.hxx
index 7b950fdd0923..0b70f96e0c25 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;
- css::uno::Reference<ODbaseIndex> m_xIndex;
+ ODbaseIndex* m_pIndex;
ONDXPagePtr m_aRoot,
m_aCurLeaf;
sal_uInt16 m_nCurNode;
@@ -57,9 +57,10 @@ namespace connectivity
const file::OOperand* pOper)
:m_pOperator(pOp)
,m_pOperand(pOper)
- ,m_xIndex(pInd)
+ ,m_pIndex(pInd)
,m_nCurNode(NODE_NOTFOUND)
{
+ pInd->acquire();
}
virtual ~OIndexIterator();