summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2020-03-30 15:11:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-31 09:34:38 +0200
commit7d6c67d323a87f1006d84c2a95b45dfbfb03c0c8 (patch)
treea706adf3e58f81b3838a95ccef4669d6d6f769ab /sw/inc
parent1ec7b4ae86a9fe666fc1510636c483d8980d04f6 (diff)
convert enum to scoped in SvBaseLink
Change-Id: Ief399381ac27764fce95ee053c322571a07b671c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91366 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/ndgrf.hxx4
-rw-r--r--sw/inc/section.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 25b184cbd09f..c208552f23ff 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -162,12 +162,12 @@ inline const SwGrfNode *SwNode::GetGrfNode() const
inline bool SwGrfNode::IsLinkedFile() const
{
- return mxLink.is() && OBJECT_CLIENT_GRF == mxLink->GetObjType();
+ return mxLink.is() && sfx2::SvBaseLinkObjectType::ClientGraphic == mxLink->GetObjType();
}
inline bool SwGrfNode::IsLinkedDDE() const
{
- return mxLink.is() && OBJECT_CLIENT_DDE == mxLink->GetObjType();
+ return mxLink.is() && sfx2::SvBaseLinkObjectType::ClientDde == mxLink->GetObjType();
}
#endif
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index f911923ab41a..2b52eb6332cb 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -46,8 +46,8 @@ typedef std::vector<SwSection*> SwSections;
enum class SectionType { Content,
ToxHeader,
ToxContent,
- DdeLink = OBJECT_CLIENT_DDE,
- FileLink = OBJECT_CLIENT_FILE
+ DdeLink = static_cast<int>(sfx2::SvBaseLinkObjectType::ClientDde),
+ FileLink = static_cast<int>(sfx2::SvBaseLinkObjectType::ClientFile)
};
enum class LinkCreateType