diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-10 11:20:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-11 06:57:26 +0100 |
commit | f26621d468eb19197d76f10779d5edc7dff6022f (patch) | |
tree | fcca1e3eb1aace22ebe547d559621da7c1dbc8d2 /sw/source/uibase/dochdl/swdtflvr.cxx | |
parent | 412ca1ff72d2031d327df658a94e63bdcb8583b0 (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/dochdl/swdtflvr.cxx')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index ffdbd98b4538..bb140e9742af 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -2562,7 +2562,7 @@ bool SwTransferable::PasteDDE( TransferableDataHelper& rData, if( rWrtShell.HasSelection() ) rWrtShell.DelRight(); - SwSectionData aSect( DDE_LINK_SECTION, aName ); + SwSectionData aSect( SectionType::DdeLink, aName ); aSect.SetLinkFileName( aCmd ); aSect.SetProtectFlag(true); rWrtShell.InsertSection( aSect ); @@ -2974,7 +2974,7 @@ bool SwTransferable::PasteFileName( TransferableDataHelper& rData, { // and then pull up the insert-region-dialog SwSectionData aSect( - FILE_LINK_SECTION, + SectionType::FileLink, rSh.GetDoc()->GetUniqueSectionName() ); aSect.SetLinkFileName( sFileURL ); aSect.SetProtectFlag( true ); |