From 552b1fc70fc2fca2ba3d33929f20c3172e9e8bb4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 May 2020 13:43:41 +0200 Subject: inline some use-once typedefs Change-Id: Idddba2f3fd05265b08dbc88edb6152d34a166052 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94730 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/excel/xilink.cxx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'sc/source/filter/excel/xilink.cxx') diff --git a/sc/source/filter/excel/xilink.cxx b/sc/source/filter/excel/xilink.cxx index c6ce9f58b9aa..0c2297cf8458 100644 --- a/sc/source/filter/excel/xilink.cxx +++ b/sc/source/filter/excel/xilink.cxx @@ -76,10 +76,9 @@ public: private: typedef std::shared_ptr< XclImpCrn > XclImpCrnRef; - typedef std::vector< XclImpCrnRef > XclImpCrnList; - XclImpCrnList maCrnList; /// List of CRN records (cached cell values). - OUString maTabName; /// Name of the external sheet. + std::vector< XclImpCrnRef > maCrnList; /// List of CRN records (cached cell values). + OUString maTabName; /// Name of the external sheet. }; } @@ -126,11 +125,11 @@ public: svl::SharedStringPool& GetSharedStringPool(); private: - typedef std::vector< std::unique_ptr > XclImpSupbookTabList; - typedef std::vector< std::unique_ptr > XclImpExtNameList; - XclImpSupbookTabList maSupbTabList; /// All sheet names of the document. - XclImpExtNameList maExtNameList; /// All external names of the document. + std::vector< std::unique_ptr > + maSupbTabList; /// All sheet names of the document. + std::vector< std::unique_ptr > + maExtNameList; /// All external names of the document. OUString maXclUrl; /// URL of the external document (Excel mode). XclSupbookType meType; /// Type of the supbook record. sal_uInt16 mnSBTab; /// Current Excel sheet index from SUPBOOK for XCT/CRN records. @@ -212,10 +211,10 @@ private: private: typedef std::vector< XclImpXti > XclImpXtiVector; - typedef std::vector< std::unique_ptr > XclImpSupbookList; XclImpXtiVector maXtiList; /// List of all XTI structures. - XclImpSupbookList maSupbookList; /// List of external documents. + std::vector< std::unique_ptr > + maSupbookList; /// List of external documents. }; // *** Implementation *** -- cgit