From ab465b90f6c6da5595393a0ba73f33a1e71a2b65 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Wed, 20 May 2015 13:05:49 +0200 Subject: bin/rename-sw-abbreviations.sh renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9 --- sw/source/uibase/index/toxmgr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/index/toxmgr.cxx') 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( - pSh->GetFldType(RES_AUTHORITY, aEmptyOUStr)); + pSh->GetFieldType(RES_AUTHORITY, aEmptyOUStr)); if (!pFType) { SwAuthorityFieldType const type(pSh->GetDoc()); pFType = static_cast( - 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))) -- cgit v1.2.3