summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-10 11:20:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 06:57:26 +0100
commitf26621d468eb19197d76f10779d5edc7dff6022f (patch)
treefcca1e3eb1aace22ebe547d559621da7c1dbc8d2 /sw/source/uibase/dialog
parent412ca1ff72d2031d327df658a94e63bdcb8583b0 (diff)
convert SectionType to scoped enum
Change-Id: Ib05b88b05c90b835107128f42c70170660788d00 Reviewed-on: https://gerrit.libreoffice.org/84851 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dialog')
-rw-r--r--sw/source/uibase/dialog/regionsw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dialog/regionsw.cxx b/sw/source/uibase/dialog/regionsw.cxx
index 2aa3c5a93b22..32d9e6e5f3c1 100644
--- a/sw/source/uibase/dialog/regionsw.cxx
+++ b/sw/source/uibase/dialog/regionsw.cxx
@@ -101,7 +101,7 @@ void SwBaseShell::InsertRegionDialog(SfxRequest& rReq)
else
aTmpStr = rSh.GetUniqueSectionName();
- SwSectionData aSection(CONTENT_SECTION, aTmpStr);
+ SwSectionData aSection(SectionType::Content, aTmpStr);
rReq.SetReturnValue(SfxStringItem(FN_INSERT_REGION, aTmpStr));
aSet.Put( *pSet );
@@ -165,7 +165,7 @@ void SwBaseShell::InsertRegionDialog(SfxRequest& rReq)
}
sLinkFileName += aSub;
- aSection.SetType( FILE_LINK_SECTION );
+ aSection.SetType( SectionType::FileLink );
aSection.SetLinkFileName(sLinkFileName);
}
rSh.InsertSection(aSection, aSet.Count() ? &aSet : nullptr);