summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui
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/dbui
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/dbui')
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 32eaa13fb153..c3b4ef6e7297 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -843,9 +843,9 @@ static void lcl_RemoveSectionLinks( SwWrtShell& rWorkShell )
for (size_t nSection = 0; nSection < nSections; ++nSection)
{
SwSectionData aSectionData( *rWorkShell.GetSectionFormat( nSection ).GetSection() );
- if( aSectionData.GetType() == FILE_LINK_SECTION )
+ if( aSectionData.GetType() == SectionType::FileLink )
{
- aSectionData.SetType( CONTENT_SECTION );
+ aSectionData.SetType( SectionType::Content );
aSectionData.SetLinkFileName( OUString() );
rWorkShell.UpdateSection( nSection, aSectionData );
}