summaryrefslogtreecommitdiff
path: root/vcl
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 /vcl
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 'vcl')
-rw-r--r--vcl/source/treelist/transfer2.cxx5
-rw-r--r--vcl/unx/generic/print/glyphset.hxx4
2 files changed, 2 insertions, 7 deletions
diff --git a/vcl/source/treelist/transfer2.cxx b/vcl/source/treelist/transfer2.cxx
index 26407021ff52..cb1cd18cd114 100644
--- a/vcl/source/treelist/transfer2.cxx
+++ b/vcl/source/treelist/transfer2.cxx
@@ -314,12 +314,9 @@ struct TDataCntnrEntry_Impl
}
-typedef ::std::vector< TDataCntnrEntry_Impl > TDataCntnrEntryList;
-
-
struct TransferDataContainer_Impl
{
- TDataCntnrEntryList aFmtList;
+ std::vector< TDataCntnrEntry_Impl > aFmtList;
Link<sal_Int8,void> aFinshedLnk;
std::unique_ptr<INetBookmark> pBookmk;
diff --git a/vcl/unx/generic/print/glyphset.hxx b/vcl/unx/generic/print/glyphset.hxx
index 272825933beb..33b928d759f9 100644
--- a/vcl/unx/generic/print/glyphset.hxx
+++ b/vcl/unx/generic/print/glyphset.hxx
@@ -44,9 +44,7 @@ private:
OString maBaseName;
typedef std::unordered_map< sal_GlyphId, sal_uInt8 > glyph_map_t;
- typedef std::vector< glyph_map_t > glyph_list_t;
-
- glyph_list_t maGlyphList;
+ std::vector< glyph_map_t > maGlyphList;
OString GetGlyphSetName (sal_Int32 nGlyphSetID);