diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-25 21:28:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-26 09:07:27 +0200 |
commit | e1b247625419515a8aeaf9e1f232f16cb4f59f73 (patch) | |
tree | ec4bd1f1718425eed6ce0101b930044df5d1247f /sw/source | |
parent | b56d1e294d838d4b3d0f237c81325a0d1a1cff83 (diff) |
RTF filter: use 'using' instead of 'typedef'
Change-Id: Ie7182fa30155a8090421cf9a669525be99f0e0a7
Reviewed-on: https://gerrit.libreoffice.org/38042
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.hxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfstringbuffer.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx index 72a0a5bc45f4..106d615d3ae2 100644 --- a/sw/source/filter/ww8/rtfexport.hxx +++ b/sw/source/filter/ww8/rtfexport.hxx @@ -26,7 +26,7 @@ class RtfAttributeOutput; class RtfExportFilter; class RtfSdrExport; -typedef std::map<sal_uInt16,Color> RtfColorTable; +using RtfColorTable = std::map<sal_uInt16, Color>; class SwNode; class SwTextNode; class SwGrfNode; diff --git a/sw/source/filter/ww8/rtfstringbuffer.hxx b/sw/source/filter/ww8/rtfstringbuffer.hxx index dd9300657f5f..c1d90041e33b 100644 --- a/sw/source/filter/ww8/rtfstringbuffer.hxx +++ b/sw/source/filter/ww8/rtfstringbuffer.hxx @@ -56,7 +56,7 @@ public: /// Append all contained buffers and clear the argument. void appendAndClear(RtfStringBuffer& rBuf); private: - typedef std::vector<RtfStringBufferValue> Values_t; + using Values_t = std::vector<RtfStringBufferValue>; Values_t m_aValues; }; |