[Libreoffice-commits] .: 3 commits - binfilter/bf_sw binfilter/bf_xmloff filter/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Nov 29 04:04:20 PST 2010


 binfilter/bf_sw/source/core/bastyp/sw_calc.cxx              |    4 ----
 binfilter/bf_xmloff/source/forms/xmloff_valueproperties.cxx |    2 +-
 filter/source/graphicfilter/idxf/dxfgrprd.hxx               |    1 -
 3 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 360f8742ef40349f350d150353204ff347669bc2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 29 12:04:14 2010 +0000

    unused buffer

diff --git a/filter/source/graphicfilter/idxf/dxfgrprd.hxx b/filter/source/graphicfilter/idxf/dxfgrprd.hxx
index e368af3..a0bc850 100644
--- a/filter/source/graphicfilter/idxf/dxfgrprd.hxx
+++ b/filter/source/graphicfilter/idxf/dxfgrprd.hxx
@@ -93,7 +93,6 @@ private:
     void   ReadS(char * ptgt);
 
     SvStream & rIS;
-    char sIBuff[1024];
     USHORT nIBuffSize,nIBuffPos;
     BOOL bStatus;
     USHORT nLastG;
commit 44294d24a37126e9d10603c4f47eea0db6f6a85c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 29 11:23:59 2010 +0000

    cppcheck: missing initializer

diff --git a/binfilter/bf_xmloff/source/forms/xmloff_valueproperties.cxx b/binfilter/bf_xmloff/source/forms/xmloff_valueproperties.cxx
index 8e0734d..4f08b5c 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_valueproperties.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_valueproperties.cxx
@@ -100,7 +100,7 @@ namespace xmloff
     void OValuePropertiesMetaData::getValueLimitPropertyNames(sal_Int16 _nFormComponentType,
         sal_Char const * & _rpMinValuePropertyName, sal_Char const * & _rpMaxValuePropertyName)
     {
-        _rpMinValuePropertyName = _rpMinValuePropertyName = NULL;
+        _rpMinValuePropertyName = _rpMaxValuePropertyName = NULL;
         switch (_nFormComponentType)
         {
             case FormComponentType::DATEFIELD:
commit bcc020e333ba03f5d48fdad9d854025df718bec6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 29 11:23:42 2010 +0000

    drop some dead code

diff --git a/binfilter/bf_sw/source/core/bastyp/sw_calc.cxx b/binfilter/bf_sw/source/core/bastyp/sw_calc.cxx
index 7b50afe..7cee1dd 100644
--- a/binfilter/bf_sw/source/core/bastyp/sw_calc.cxx
+++ b/binfilter/bf_sw/source/core/bastyp/sw_calc.cxx
@@ -437,10 +437,6 @@ static int
 /*N*/ 	if( eError )
 /*?*/ 		nResult.PutDouble( DBL_MAX );
 /*N*/ 
-/*N*/ #ifdef DBG_UTIL
-/*N*/ 	SbxDataType eResDType = nResult.GetType();
-/*N*/ 	const String& rResStr = nResult.GetString();
-/*N*/ #endif
 /*N*/ 	return nResult;
 /*N*/ }
 


More information about the Libreoffice-commits mailing list