diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 13:55:48 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 13:55:48 +0000 |
commit | 39b70a5c0e197e0fb8428776f55a39e9e0553721 (patch) | |
tree | 582642e4d61362b2226803e3d41414e98f696ede /xmloff/source/text/txtvfldi.cxx | |
parent | 7163aa60eaf7c71e18c8e8f2df200ba85e075453 (diff) |
INTEGRATION: CWS sb59 (1.26.6); FILE MERGED
2006/08/09 12:54:00 sb 1.26.6.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'xmloff/source/text/txtvfldi.cxx')
-rw-r--r-- | xmloff/source/text/txtvfldi.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx index 650d1ad98f14..5103abe6b92b 100644 --- a/xmloff/source/text/txtvfldi.cxx +++ b/xmloff/source/text/txtvfldi.cxx @@ -4,9 +4,9 @@ * * $RCSfile: txtvfldi.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: obo $ $Date: 2006-09-17 11:20:24 $ + * last change: $Author: obo $ $Date: 2006-10-12 14:55:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -992,7 +992,8 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster( // rename field // currently: no family in use! Use 0. - OUString sName = rImportHelper.GetRenameMap().Get(eVarType, sVarName); + OUString sName = rImportHelper.GetRenameMap().Get( + sal::static_int_cast< USHORT >(eVarType), sVarName); // get text fields supplier and field masters Reference<XTextFieldsSupplier> xTextFieldsSupp(rImport.GetModel(), @@ -1043,7 +1044,8 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster( aBuf.append(nCollisionCount); sNew = aBuf.makeStringAndClear(); - rImportHelper.GetRenameMap().Add(eVarType, sName, sNew); + rImportHelper.GetRenameMap().Add( + sal::static_int_cast< USHORT >(eVarType), sName, sNew); // call FindFieldMaster recursively to create new master return FindFieldMaster(xMaster, rImport, rImportHelper, @@ -1067,7 +1069,8 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster( aBuf.append(nCollisionCount); sNew = aBuf.makeStringAndClear(); - rImportHelper.GetRenameMap().Add(eVarType, sName, sNew); + rImportHelper.GetRenameMap().Add( + sal::static_int_cast< USHORT >(eVarType), sName, sNew); // call FindFieldMaster recursively to create new master return FindFieldMaster(xMaster, rImport, rImportHelper, |