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

Caolán McNamara caolanm at redhat.com
Wed Apr 9 07:43:03 PDT 2014


 sc/source/ui/vba/vbarange.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 57abbae632071326bf5f949cdbe1c76768509996
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 9 15:26:05 2014 +0100

    coverity#708099 unused mTypeClass member
    
    Change-Id: I75a88c9fffb3d2d5c6c12e6df89ba85a8eb92d34

diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index d71551f..08d504f 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -714,7 +714,6 @@ class CellValueSetter : public ValueSetter
 {
 protected:
     uno::Any maValue;
-    uno::TypeClass mTypeClass;
 public:
     CellValueSetter( const uno::Any& aValue );
     virtual bool processValue( const uno::Any& aValue,  const uno::Reference< table::XCell >& xCell ) SAL_OVERRIDE;
@@ -722,7 +721,7 @@ public:
 
 };
 
-CellValueSetter::CellValueSetter( const uno::Any& aValue ): maValue( aValue ), mTypeClass( aValue.getValueTypeClass() ) {}
+CellValueSetter::CellValueSetter( const uno::Any& aValue ): maValue( aValue ) {}
 
 void
 CellValueSetter::visitNode( sal_Int32 /*i*/, sal_Int32 /*j*/, const uno::Reference< table::XCell >& xCell )
@@ -810,7 +809,6 @@ class CellValueGetter : public ValueGetter
 {
 protected:
     uno::Any maValue;
-    uno::TypeClass mTypeClass;
 public:
     CellValueGetter() {}
     virtual void visitNode( sal_Int32 x, sal_Int32 y, const uno::Reference< table::XCell >& xCell ) SAL_OVERRIDE;


More information about the Libreoffice-commits mailing list