summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-05-25 21:28:48 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-05-26 09:07:27 +0200
commite1b247625419515a8aeaf9e1f232f16cb4f59f73 (patch)
treeec4bd1f1718425eed6ce0101b930044df5d1247f /sw/inc
parentb56d1e294d838d4b3d0f237c81325a0d1a1cff83 (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/inc')
-rw-r--r--sw/inc/textboxhelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx
index c2756af9a8d2..db49d276740e 100644
--- a/sw/inc/textboxhelper.hxx
+++ b/sw/inc/textboxhelper.hxx
@@ -45,9 +45,9 @@ class SW_DLLPUBLIC SwTextBoxHelper
{
public:
/// Maps a draw format to a fly format.
- typedef std::map<const SwFrameFormat*, const SwFrameFormat*> SavedLink;
+ using SavedLink = std::map<const SwFrameFormat*, const SwFrameFormat*>;
/// Maps a draw format to content.
- typedef std::map<const SwFrameFormat*, SwFormatContent> SavedContent;
+ using SavedContent = std::map<const SwFrameFormat*, SwFormatContent>;
/// Create a TextBox for a shape.
static void create(SwFrameFormat* pShape);
/// Destroy a TextBox for a shape.