diff options
author | Jaskaran Singh <jvsg1303@gmail.com> | 2016-07-22 21:03:43 +0530 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-18 00:15:14 +0200 |
commit | 7c48d3d49463eae8afb4738b9b79f8024f773074 (patch) | |
tree | 96856c0c990223cbc642018dcd1a29108233fdfd /sc | |
parent | 0dae3aacbf46ddd7dbef10b3f376ca2ad7665212 (diff) |
Reform orcus unit warning
Change-Id: Iec221f019a65fcb42281f76b724ea306587f66c8
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 459184332d64..1be812620efa 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -258,7 +258,8 @@ double translateToInternal(double nVal, orcus::length_unit_t unit) return nVal * 20.0 * 72.0 / 2.54; break; case orcus::length_unit_t::unknown: - SAL_WARN("sc.orcus", "unknown unit"); + if (nVal != 0) + SAL_WARN("sc.orcus", "unknown unit"); break; default: break; |