diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 19:54:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-08 12:15:18 +0100 |
commit | 4ffbb6543111a236e9724dd9a3b292584be9e869 (patch) | |
tree | 025f58d1782b127bf872dcd1ee00697705ec148b /svtools | |
parent | 7591ef66c6de25762d85e45365e598ff586df65c (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |