From 5ca114ece2774c2eb8f467df8b7ed9e36456765a Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 5 Feb 2014 19:53:30 +0100 Subject: [PATCH] cppcheck: variable reassigned before the old value has been used For more details, see http://nabble.documentfoundation.org/Cppcheck-redundantAssignment-gridcell-cxx-svx-module-td4095032.html Change-Id: I9b74a819a1431f5eada727d14933133fbdf7a47f --- svx/source/fmcomp/gridcell.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 015a873fcdaf..95bdb6dbda5e 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -2145,8 +2145,6 @@ namespace if ( !_rxField->wasNull() ) { _rField.SetValue( fValue ); - BigInt aValue = _rField.GetCorrectedValue(); - sValue = aValue.GetString(); sValue = _rField.GetText(); } }