diff options
Diffstat (limited to 'connectivity/source/inc/dbase')
-rw-r--r-- | connectivity/source/inc/dbase/DIndexIter.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/dindexnode.hxx | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/connectivity/source/inc/dbase/DIndexIter.hxx b/connectivity/source/inc/dbase/DIndexIter.hxx index 141b4bed83ba..55305bf3c74a 100644 --- a/connectivity/source/inc/dbase/DIndexIter.hxx +++ b/connectivity/source/inc/dbase/DIndexIter.hxx @@ -52,11 +52,9 @@ namespace connectivity ONDXKey* GetNextKey(); public: - OIndexIterator(ODbaseIndex* pInd, - file::OBoolOperator* pOp, - const file::OOperand* pOper) - :m_pOperator(pOp) - ,m_pOperand(pOper) + OIndexIterator(ODbaseIndex* pInd) + :m_pOperator(nullptr) + ,m_pOperand(nullptr) ,m_xIndex(pInd) ,m_nCurNode(NODE_NOTFOUND) { diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx index 9d5977e3a384..53d079c4c83a 100644 --- a/connectivity/source/inc/dbase/dindexnode.hxx +++ b/connectivity/source/inc/dbase/dindexnode.hxx @@ -48,7 +48,7 @@ namespace connectivity ORowSetValue xValue; /* Key values */ public: - ONDXKey(sal_uInt32 nRec=0); + ONDXKey(); ONDXKey(const ORowSetValue& rVal, sal_Int32 eType, sal_uInt32 nRec); ONDXKey(const OUString& aStr, sal_uInt32 nRec = 0); ONDXKey(double aVal, sal_uInt32 nRec = 0); @@ -90,7 +90,7 @@ namespace connectivity sal_uInt32 nPagePos; // Position in the index file public: - ONDXPagePtr(sal_uInt32 nPos = 0) : mpPage(nullptr), nPagePos(nPos) {} + ONDXPagePtr() : mpPage(nullptr), nPagePos(0) {} ONDXPagePtr(const ONDXPagePtr& rRef); ONDXPagePtr(ONDXPage* pRefPage); inline ~ONDXPagePtr(); |