summaryrefslogtreecommitdiff
path: root/sw/inc/dcontact.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-17 14:15:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-20 06:52:34 +0000
commitd99d143900081dd14e070c7373ba204739d80496 (patch)
tree72fb5e8523e29399d0aff96d3a6fb37dafeaabd6 /sw/inc/dcontact.hxx
parent8e5437ea859e78f7de2730bfa60ab6d27534f286 (diff)
convert RndStdIds to scoped enum
Change-Id: I029ad67dfcbc40f3953adf485957efcbd97f23d0 Reviewed-on: https://gerrit.libreoffice.org/35328 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/dcontact.hxx')
-rw-r--r--sw/inc/dcontact.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index fe2a7f0dfe17..9021f5b7796d 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -153,11 +153,11 @@ public:
}
RndStdIds GetAnchorId() const { return GetAnchorFormat().GetAnchorId(); }
- bool ObjAnchoredAtPage() const { return GetAnchorId() == FLY_AT_PAGE; }
- bool ObjAnchoredAtFly() const { return GetAnchorId() == FLY_AT_FLY; }
- bool ObjAnchoredAtPara() const { return GetAnchorId() == FLY_AT_PARA; }
- bool ObjAnchoredAtChar() const { return GetAnchorId() == FLY_AT_CHAR; }
- bool ObjAnchoredAsChar() const { return GetAnchorId() == FLY_AS_CHAR; }
+ bool ObjAnchoredAtPage() const { return GetAnchorId() == RndStdIds::FLY_AT_PAGE; }
+ bool ObjAnchoredAtFly() const { return GetAnchorId() == RndStdIds::FLY_AT_FLY; }
+ bool ObjAnchoredAtPara() const { return GetAnchorId() == RndStdIds::FLY_AT_PARA; }
+ bool ObjAnchoredAtChar() const { return GetAnchorId() == RndStdIds::FLY_AT_CHAR; }
+ bool ObjAnchoredAsChar() const { return GetAnchorId() == RndStdIds::FLY_AS_CHAR; }
const SwPosition& GetContentAnchor() const
{