From e1b247625419515a8aeaf9e1f232f16cb4f59f73 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 25 May 2017 21:28:48 +0200 Subject: RTF filter: use 'using' instead of 'typedef' Change-Id: Ie7182fa30155a8090421cf9a669525be99f0e0a7 Reviewed-on: https://gerrit.libreoffice.org/38042 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- writerfilter/inc/dmapper/GraphicZOrderHelper.hxx | 2 +- writerfilter/inc/rtftok/RTFDocument.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'writerfilter/inc') diff --git a/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx b/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx index 60c6b493fe85..d73f7cc532b1 100644 --- a/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx +++ b/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx @@ -22,7 +22,7 @@ public: void addItem(css::uno::Reference const& props, sal_Int32 relativeHeight); sal_Int32 findZOrder(sal_Int32 relativeHeight, bool bOldStyle = false); private: - typedef std::map< sal_Int32, css::uno::Reference > Items; + using Items = std::map< sal_Int32, css::uno::Reference >; Items items; }; diff --git a/writerfilter/inc/rtftok/RTFDocument.hxx b/writerfilter/inc/rtftok/RTFDocument.hxx index c3f65b7d5be4..086b39a8ce5a 100644 --- a/writerfilter/inc/rtftok/RTFDocument.hxx +++ b/writerfilter/inc/rtftok/RTFDocument.hxx @@ -27,7 +27,7 @@ class RTFDocument { public: /// Pointer to this stream. - typedef std::shared_ptr Pointer_t; + using Pointer_t = std::shared_ptr; virtual ~RTFDocument() { } -- cgit