summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-10 11:47:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 06:57:45 +0100
commit544b5bf273b501f9deeed01684ad685e4bac6b55 (patch)
tree8ed831f581feecff3123fa740ae7f5265166cfe9 /sw/inc
parentf26621d468eb19197d76f10779d5edc7dff6022f (diff)
convert LinkCreateType to scoped enum
Change-Id: Ia31648d2dbd6eb5d878d7dcc904d1b05b6c1619c Reviewed-on: https://gerrit.libreoffice.org/84852 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/section.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 6cb83b9962db..f911923ab41a 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -50,11 +50,11 @@ enum class SectionType { Content,
FileLink = OBJECT_CLIENT_FILE
};
-enum LinkCreateType
+enum class LinkCreateType
{
- CREATE_NONE, // Do nothing.
- CREATE_CONNECT, // Connect created link.
- CREATE_UPDATE // Connect created link and update it.
+ NONE, // Do nothing.
+ Connect, // Connect created link.
+ Update // Connect created link and update it.
};
class SW_DLLPUBLIC SwSectionData