From 08f5355dee375503167989e21271a4601449a257 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Mar 2017 13:33:15 +0200 Subject: convert RES_FIELDS to scoped enum and rename to SwFieldIds Change-Id: I50d2b7550f68b4b020ffc1603f931c671c8e1de6 Reviewed-on: https://gerrit.libreoffice.org/34924 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/source/uibase/index/toxmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/index') 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( - pSh->GetFieldType(RES_AUTHORITY, aEmptyOUStr)); + pSh->GetFieldType(SwFieldIds::TableOfAuthorities, aEmptyOUStr)); if (!pFType) { SwAuthorityFieldType const type(pSh->GetDoc()); -- cgit