[Libreoffice-commits] core.git: svx/source

Julien Nabet serval2412 at yahoo.fr
Wed Feb 5 11:02:20 PST 2014


 svx/source/fmcomp/gridcell.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 5ca114ece2774c2eb8f467df8b7ed9e36456765a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Feb 5 19:53:30 2014 +0100

    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

diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 015a873..95bdb6d 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();
                 }
             }


More information about the Libreoffice-commits mailing list