coverity#1394295 Unchecked return value

Change-Id: Ie4edbe91ab4f9b9910fc895e47ea8b9fdfc00b7e
This commit is contained in:
Caolán McNamara
2016-11-12 12:23:08 +00:00
parent 20043e3fa2
commit 1ef8ab3ed7

View File

@@ -330,7 +330,7 @@ sal_Int64 toNumericWithoutDecimalPlace(const OUString& sSource)
OUString sNumber(sSource);
// cut off leading 0 eventually ( eg. 0.567 -> .567)
sSource.startsWith("0", &sNumber);
(void)sSource.startsWith("0", &sNumber);
sal_Int32 nDotIndex = sNumber.indexOf((sal_Unicode)'.');