summaryrefslogtreecommitdiff
path: root/vcl/source/control/field2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-15 15:36:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-16 09:54:10 +0200
commit873dbd2c3a1a2fa3c27f4ecb8fe4e219f25f5751 (patch)
treedc6ef0f7e0e15722f88ecb8495fb814a9b4f40d3 /vcl/source/control/field2.cxx
parent3e39db02020632e559ea33bec83162d3b6aa8510 (diff)
coverity#1435605 silence Unchecked return value
Change-Id: I1617ff8157ad69b467a0feaad5680e90e2c08a47 Reviewed-on: https://gerrit.libreoffice.org/54382 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/control/field2.cxx')
-rw-r--r--vcl/source/control/field2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 12a4e7dc4ff9..5b8b4b5cf767 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -2514,7 +2514,7 @@ void TimeFormatter::Reformat()
if ( !aStr.isEmpty() )
{
ImplSetText( aStr );
- TextToTime( aStr, maLastTime, GetFormat(), IsDuration(), ImplGetLocaleDataWrapper() );
+ (void)TextToTime(aStr, maLastTime, GetFormat(), IsDuration(), ImplGetLocaleDataWrapper());
}
else
SetTime( maLastTime );