diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 14:24:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 11:57:57 +0100 |
commit | a5be07d6b627a18f104e2feed063ff9020e8c610 (patch) | |
tree | 389ea7a3c163bcafca743373b94cda4fba937552 /connectivity/source/inc/dbase | |
parent | b0cecbfb03dba67f01d1411a1e8b7402c2ca90ce (diff) |
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157
Reviewed-on: https://gerrit.libreoffice.org/46764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc/dbase')
-rw-r--r-- | connectivity/source/inc/dbase/DConnection.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/DIndex.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/dbase/dindexnode.hxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/connectivity/source/inc/dbase/DConnection.hxx b/connectivity/source/inc/dbase/DConnection.hxx index f09eec3ca614..f81f7b494773 100644 --- a/connectivity/source/inc/dbase/DConnection.hxx +++ b/connectivity/source/inc/dbase/DConnection.hxx @@ -27,8 +27,7 @@ namespace connectivity namespace dbase { class ODriver; - typedef file::OConnection ODbaseConnection_Base; - class ODbaseConnection : public ODbaseConnection_Base + class ODbaseConnection : public file::OConnection { protected: virtual ~ODbaseConnection() override; diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx index 8a0f0bff8b1f..32f252b1ccec 100644 --- a/connectivity/source/inc/dbase/DIndex.hxx +++ b/connectivity/source/inc/dbase/DIndex.hxx @@ -72,7 +72,8 @@ namespace connectivity private: SvStream* m_pFileStream; // Stream to read/write the index NDXHeader m_aHeader; - ONDXPageList m_aCollector; // Pool of obsolete pages + std::vector<ONDXPage*> + m_aCollector; // Pool of obsolete pages ONDXPagePtr m_aRoot, // Root of the B+ tree m_aCurLeaf; // Current leaf sal_uInt16 m_nCurNode; // Position of the current node diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx index 481faa1ccbf5..1dc2cad48c6f 100644 --- a/connectivity/source/inc/dbase/dindexnode.hxx +++ b/connectivity/source/inc/dbase/dindexnode.hxx @@ -230,9 +230,6 @@ namespace connectivity SvStream& WriteONDXPage(SvStream &rStream, const ONDXPage& rPage); - typedef std::vector<ONDXPage*> ONDXPageList; - - // Index Node class ONDXNode |