connectivity/source/drivers/macab/MacabRecords.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a12b484be3ebddd75cd5c3429cf596298cd82f83 Author: Stephan Bergmann <[email protected]> Date: Thu Mar 23 20:00:15 2017 +0100 loplugin:redundantcast Change-Id: Icc700698711174246c5fc800105ac5b7c6102296 diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx index 76c6a8ab5cc5..6894b1e1ecd4 100644 --- a/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/connectivity/source/drivers/macab/MacabRecords.cxx @@ -730,7 +730,7 @@ MacabHeader *MacabRecords::createHeaderForProperty(const ABPropertyType _propert */ for(i = 0; i < numRecords; i++) { - dictType = (ABPropertyType) getABTypeFromCFType( CFGetTypeID(dictValues[i]) ); + dictType = getABTypeFromCFType( CFGetTypeID(dictValues[i]) ); localizedDictKey = ABCopyLocalizedPropertyOrLabel(dictKeys[i]); dictKeyString = CFStringToOUString(localizedDictKey); dictLabelString = propertyNameString + ": " + fixLabel(dictKeyString); @@ -797,7 +797,7 @@ MacabHeader *MacabRecords::createHeaderForProperty(const ABPropertyType _propert for(i = 0; i < arrLength; i++) { arrValue = CFArrayGetValueAtIndex(static_cast<CFArrayRef>(_propertyValue), i); - arrType = (ABPropertyType) getABTypeFromCFType( CFGetTypeID(arrValue) ); + arrType = getABTypeFromCFType( CFGetTypeID(arrValue) ); arrLabelString = propertyNameString + OUString::number(i); arrLabel = OUStringToCFString(arrLabelString); auto hdr = std::unique_ptr<MacabHeader>(createHeaderForProperty(arrType, arrValue, arrLabel)); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
