svtools/source/control/ctrlbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4ffbb6543111a236e9724dd9a3b292584be9e869 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Feb 7 19:54:48 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Feb 8 12:15:18 2020 +0100 cid#1458164 silence Unchecked return value Change-Id: If5c77b40195e7f6599fa24c1317c22507043de32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88240 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 3b79d98abd52..ea75417b75c9 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1184,7 +1184,7 @@ int FontSizeBox::get_value() const const SvtSysLocale aSysLocale; const LocaleDataWrapper& rLocaleData = aSysLocale.GetLocaleData(); double fResult(0.0); - MetricFormatter::TextToValue(aStr, fResult, 0, GetDecimalDigits(), rLocaleData, GetUnit()); + (void)MetricFormatter::TextToValue(aStr, fResult, 0, GetDecimalDigits(), rLocaleData, GetUnit()); if (!aStr.isEmpty()) { if (fResult < nMin) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits