summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/DocumentFieldsManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/DocumentFieldsManager.cxx')
-rw-r--r--sw/source/core/doc/DocumentFieldsManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentFieldsManager.cxx b/sw/source/core/doc/DocumentFieldsManager.cxx
index e1746a22b216..847a96b1d0b5 100644
--- a/sw/source/core/doc/DocumentFieldsManager.cxx
+++ b/sw/source/core/doc/DocumentFieldsManager.cxx
@@ -290,13 +290,13 @@ SwFieldType* DocumentFieldsManager::GetFldType(
}
/// Remove field type
-void DocumentFieldsManager::RemoveFldType(sal_uInt16 nFld)
+void DocumentFieldsManager::RemoveFldType(size_t nFld)
{
OSL_ENSURE( INIT_FLDTYPES <= nFld, "don't remove InitFlds" );
/*
* Dependent fields present -> ErrRaise
*/
- sal_uInt16 nSize = mpFldTypes->size();
+ size_t nSize = mpFldTypes->size();
if(nFld < nSize)
{
SwFieldType* pTmp = (*mpFldTypes)[nFld];