summaryrefslogtreecommitdiff
path: root/sw/source/uibase/index
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-06 13:33:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-07 08:42:04 +0000
commit08f5355dee375503167989e21271a4601449a257 (patch)
tree051ae7e50b005417f77ee0fd909fc3c27cbb3bbf /sw/source/uibase/index
parent14f982775cdff2e3779f9a9bcbc0341247ed90aa (diff)
convert RES_FIELDS to scoped enum
and rename to SwFieldIds Change-Id: I50d2b7550f68b4b020ffc1603f931c671c8e1de6 Reviewed-on: https://gerrit.libreoffice.org/34924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/index')
-rw-r--r--sw/source/uibase/index/toxmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx
index 067c0690af18..ca81f0c73dc3 100644
--- a/sw/source/uibase/index/toxmgr.cxx
+++ b/sw/source/uibase/index/toxmgr.cxx
@@ -348,7 +348,7 @@ bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
if(TOX_AUTHORITIES == eCurTOXType)
{
SwAuthorityFieldType* pFType = static_cast<SwAuthorityFieldType*>(
- pSh->GetFieldType(RES_AUTHORITY, aEmptyOUStr));
+ pSh->GetFieldType(SwFieldIds::TableOfAuthorities, aEmptyOUStr));
if (!pFType)
{
SwAuthorityFieldType const type(pSh->GetDoc());