summaryrefslogtreecommitdiff
path: root/sw/source/uibase/index/toxmgr.cxx
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-05-20 13:05:49 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-05-20 13:05:49 +0200
commitab465b90f6c6da5595393a0ba73f33a1e71a2b65 (patch)
tree36b77192de2799a11b4bf0b269cb3f74d0a0bb1f /sw/source/uibase/index/toxmgr.cxx
parent0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff)
bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-point
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
Diffstat (limited to 'sw/source/uibase/index/toxmgr.cxx')
-rw-r--r--sw/source/uibase/index/toxmgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx
index 76ea0dced9dd..9bde8b126487 100644
--- a/sw/source/uibase/index/toxmgr.cxx
+++ b/sw/source/uibase/index/toxmgr.cxx
@@ -360,12 +360,12 @@ bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
if(TOX_AUTHORITIES == eCurTOXType)
{
SwAuthorityFieldType* pFType = static_cast<SwAuthorityFieldType*>(
- pSh->GetFldType(RES_AUTHORITY, aEmptyOUStr));
+ pSh->GetFieldType(RES_AUTHORITY, aEmptyOUStr));
if (!pFType)
{
SwAuthorityFieldType const type(pSh->GetDoc());
pFType = static_cast<SwAuthorityFieldType*>(
- pSh->InsertFldType(type));
+ pSh->InsertFieldType(type));
}
pFType->SetPreSuffix(rDesc.GetAuthBrackets()[0],
rDesc.GetAuthBrackets()[1]);
@@ -379,7 +379,7 @@ bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
pFType->SetLanguage(rDesc.GetLanguage());
pFType->SetSortAlgorithm(rDesc.GetSortAlgorithm());
- pFType->UpdateFlds();
+ pFType->UpdateFields();
}
// TODO: consider properties of the current TOXType
if(!pCurTOX || (ppBase && !(*ppBase)))