diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 17:45:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 17:45:48 +0100 |
commit | dc148335a6a438848325f24c49198fba81043279 (patch) | |
tree | d308c5c2cb842b62f133ad6e5389eeabd3af575a | |
parent | 6d00110674452c66ca6192fbf46b41331b2c7066 (diff) |
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
-rw-r--r-- | sc/source/filter/xml/XMLExportDatabaseRanges.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx index 208476751da2..72e220761ce2 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 |