diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-06 12:19:03 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-06 12:20:13 +0200 |
commit | cf1dc8208dfbd1f30ae3547ea944b7e5fe570965 (patch) | |
tree | d70480cb0a1ebebbc3d9a575638bf3abaabd8867 | |
parent | Be more specific in warning (diff) | |
download | core-cf1dc8208dfbd1f30ae3547ea944b7e5fe570965.tar.gz core-cf1dc8208dfbd1f30ae3547ea944b7e5fe570965.zip |
Fix error: call of overloaded 'append(int)' is ambiguous
It is sal_Int32 that we want.
Change-Id: Idbe34ff9c0f39ad73ed7df9185512921294b3b4e
-rw-r--r-- | sc/source/core/tool/calcconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/calcconfig.cxx b/sc/source/core/tool/calcconfig.cxx index 47499d012c32..f6d2e4687d40 100644 --- a/sc/source/core/tool/calcconfig.cxx +++ b/sc/source/core/tool/calcconfig.cxx @@ -141,7 +141,7 @@ OUString SC_DLLPUBLIC ScOpCodeSetToNumberString(const std::set<OpCodeEnum>& rOpC { if (i != rOpCodes.cbegin()) result.append(';'); - result.append(static_cast<int>(*i)); + result.append(static_cast<sal_Int32>(*i)); } return result.toString(); |