[Libreoffice-commits] core.git: svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Feb 8 11:15:50 UTC 2020
svtools/source/control/ctrlbox.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4ffbb6543111a236e9724dd9a3b292584be9e869
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Feb 7 19:54:48 2020 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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)
More information about the Libreoffice-commits
mailing list