summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/fieldmappingimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/abpilot/fieldmappingimpl.cxx')
-rw-r--r--extensions/source/abpilot/fieldmappingimpl.cxx60
1 files changed, 30 insertions, 30 deletions
diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx
index c7af76636362..48e0073360f3 100644
--- a/extensions/source/abpilot/fieldmappingimpl.cxx
+++ b/extensions/source/abpilot/fieldmappingimpl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -172,28 +172,28 @@ namespace abp
// So what we need first is a mapping from programmatic names (1) to programmatic names (2)
const sal_Char* pMappingProgrammatics[] =
{
- "FirstName", "FirstName",
- "LastName", "LastName",
- "Street", "HomeAddress",
- "Zip", "HomeZipCode",
- "City", "HomeCity",
- "State", "HomeState",
- "Country", "HomeCountry",
- "PhonePriv", "HomePhone",
- "PhoneComp", "WorkPhone",
- "PhoneCell", "CellularNumber",
- "Pager", "PagerNumber",
- "Fax", "FaxNumber",
- "EMail", "PrimaryEmail",
- "URL", "WebPage1",
- "Note", "Notes",
- "Altfield1", "Custom1",
- "Altfield2", "Custom2",
- "Altfield3", "Custom3",
- "Altfield4", "Custom4",
- "Title", "JobTitle",
- "Company", "Company",
- "Department", "Department"
+ "FirstName", "FirstName",
+ "LastName", "LastName",
+ "Street", "HomeAddress",
+ "Zip", "HomeZipCode",
+ "City", "HomeCity",
+ "State", "HomeState",
+ "Country", "HomeCountry",
+ "PhonePriv", "HomePhone",
+ "PhoneComp", "WorkPhone",
+ "PhoneCell", "CellularNumber",
+ "Pager", "PagerNumber",
+ "Fax", "FaxNumber",
+ "EMail", "PrimaryEmail",
+ "URL", "WebPage1",
+ "Note", "Notes",
+ "Altfield1", "Custom1",
+ "Altfield2", "Custom2",
+ "Altfield3", "Custom3",
+ "Altfield4", "Custom4",
+ "Title", "JobTitle",
+ "Company", "Company",
+ "Department", "Department"
};
// (this list is not complete: both lists of programmatic names are larger in real,
// but this list above is the intersection)
@@ -217,7 +217,7 @@ namespace abp
::rtl::OUString sAddressProgrammatic;
::rtl::OUString sDriverProgrammatic;
::rtl::OUString sDriverUI;
- for ( sal_Int32 i=0;
+ for ( sal_Int32 i=0;
i < nIntersectedProgrammatics;
++i
)
@@ -284,7 +284,7 @@ namespace abp
// do we have a new alias for the programmatic?
MapString2StringIterator aPos = aFieldAssignment.find( *pExistentFields );
if ( aFieldAssignment.end() != aPos )
- { // yes
+ { // yes
// -> set a new value
OConfigurationNode aExistentField = aFields.openNode( *pExistentFields );
aExistentField.setNodeValue( sAssignedNodeName, makeAny( aPos->second ) );
@@ -292,7 +292,7 @@ namespace abp
aFieldAssignment.erase( *pExistentFields );
}
else
- { // no
+ { // no
// -> remove it
aFields.removeNode( *pExistentFields );
}
@@ -300,7 +300,7 @@ namespace abp
// now everything remaining in aFieldAssignment marks a mapping entry which was not present
// in the config before
- for ( ConstMapString2StringIterator aNewMapping = aFieldAssignment.begin();
+ for ( ConstMapString2StringIterator aNewMapping = aFieldAssignment.begin();
aNewMapping != aFieldAssignment.end();
++aNewMapping
)
@@ -319,7 +319,7 @@ namespace abp
}
//.....................................................................
- } // namespace fieldmapping
+ } // namespace fieldmapping
//.....................................................................
//.....................................................................
@@ -364,11 +364,11 @@ namespace abp
}
//.....................................................................
- } // namespace addressconfig
+ } // namespace addressconfig
//.....................................................................
//.........................................................................
-} // namespace abp
+} // namespace abp
//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */