diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:17 +0200 |
commit | e5da350e4dd9b175c2f50cb392b23a805dac9a27 (patch) | |
tree | 1abf5f6a2342a09895ade05a92a3550897c14e38 /sfx2/source/doc/SfxDocumentMetaData.cxx | |
parent | c85cda1eb461d1b27b49ad746e2b2299908b9e75 (diff) |
loplugin: defaultparams
Change-Id: Ibff26c023655d36f0fa71ead399a6116c2988607
Diffstat (limited to 'sfx2/source/doc/SfxDocumentMetaData.cxx')
-rw-r--r-- | sfx2/source/doc/SfxDocumentMetaData.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index 75254c4275c6..27e31f02e0fd 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -1730,8 +1730,7 @@ SfxDocumentMetaData::getDocumentStatistics() throw (css::uno::RuntimeException, stat.Name = OUString::createFromAscii(s_stdStats[i]); sal_Int32 val; css::uno::Any any; - if (!::sax::Converter::convertNumber(val, text, 0, - std::numeric_limits<sal_Int32>::max()) || (val < 0)) { + if (!::sax::Converter::convertNumber(val, text, 0) || (val < 0)) { val = 0; SAL_WARN("sfx.doc", "Invalid number: " << text); } |