sc/source/filter/xml/XMLExportDatabaseRanges.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dc148335a6a438848325f24c49198fba81043279 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Nov 17 17:45:48 2015 +0100 Assume this wants to append the numerical representation ...not a single sal_Unicode char (aParam.nUserIndex is of type sal_uInt16), just the same as 2211ad695920526e9acf473f342d0732ce1112a8 "First cut on getting ODS import/export of sheet-local anonymous ranges" did in a very similar place in the same file. (And Kohei, author of both places, assumes this is the right thing to do, too.) Change-Id: I12cd8abf1b4aaab7baa54f21d8c5a7ff2e171275 diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx index 2084767..72e2207 100644 --- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx +++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx @@ -354,7 +354,7 @@ private: { OUStringBuffer aBuf; aBuf.append(SC_USERLIST); - aBuf.append(aParam.nUserIndex); + aBuf.append(static_cast<sal_Int32>(aParam.nUserIndex)); mrExport.AddAttribute(XML_NAMESPACE_TABLE, XML_DATA_TYPE, aBuf.makeStringAndClear()); } else _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits