summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoportenum.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-11 12:45:00 +0200
committerNoel Grandin <noel@peralex.com>2015-03-11 13:40:46 +0200
commit10a1b861853bc7c53d03d372f913134f9a9065ad (patch)
tree06b64d8ff302995ae2f78247a9ce7499e8aa9ee5 /sw/source/core/unocore/unoportenum.cxx
parent67ff4ba5294352b7ed948b196551dea331ee0877 (diff)
convert MarkType to enum class
Change-Id: I73c23d327104b377834013a0a6bd2de18de2900b
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r--sw/source/core/unocore/unoportenum.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 61a64dffe811..964d1f49f374 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -216,7 +216,8 @@ namespace
continue;
IDocumentMarkAccess::MarkType eType = IDocumentMarkAccess::GetType(*pBkmk);
// These are the types stored in the container otherwise accessible via getBookmarks*()
- if (eType != IDocumentMarkAccess::BOOKMARK && eType != IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK && eType != IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK)
+ if (eType != IDocumentMarkAccess::MarkType::BOOKMARK && eType != IDocumentMarkAccess::MarkType::CROSSREF_NUMITEM_BOOKMARK &&
+ eType != IDocumentMarkAccess::MarkType::CROSSREF_HEADING_BOOKMARK)
continue;
// Only handle bookmarks once, if they start and end at this node as well.
if (aSeenMarks.find(pBkmk) != aSeenMarks.end())