summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xilink.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-21 13:43:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-24 10:19:49 +0200
commit552b1fc70fc2fca2ba3d33929f20c3172e9e8bb4 (patch)
treee43efc255428dd52d1f174d1b4c9bd0e1d17de38 /sc/source/filter/excel/xilink.cxx
parent9a453051639be4bee9339bface0bb4678eb58bf4 (diff)
inline some use-once typedefs
Change-Id: Idddba2f3fd05265b08dbc88edb6152d34a166052 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94730 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/xilink.cxx')
-rw-r--r--sc/source/filter/excel/xilink.cxx17
1 files changed, 8 insertions, 9 deletions
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<XclImpSupbookTab> > XclImpSupbookTabList;
- typedef std::vector< std::unique_ptr<XclImpExtName> > XclImpExtNameList;
- XclImpSupbookTabList maSupbTabList; /// All sheet names of the document.
- XclImpExtNameList maExtNameList; /// All external names of the document.
+ std::vector< std::unique_ptr<XclImpSupbookTab> >
+ maSupbTabList; /// All sheet names of the document.
+ std::vector< std::unique_ptr<XclImpExtName> >
+ 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<XclImpSupbook> > XclImpSupbookList;
XclImpXtiVector maXtiList; /// List of all XTI structures.
- XclImpSupbookList maSupbookList; /// List of external documents.
+ std::vector< std::unique_ptr<XclImpSupbook> >
+ maSupbookList; /// List of external documents.
};
// *** Implementation ***