[Libreoffice-commits] .: binfilter/bf_sch binfilter/inc

Caolán McNamara caolan at kemper.freedesktop.org
Tue Oct 4 07:33:09 PDT 2011


 binfilter/bf_sch/source/core/sch_chtmode3.cxx |    8 +-------
 binfilter/inc/bf_sch/axisid.hxx               |    2 +-
 2 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 6b3760f186b3219ae8ee2940c2fdf0e01d219227
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 4 15:32:59 2011 +0100

    WaE: new warnings

diff --git a/binfilter/bf_sch/source/core/sch_chtmode3.cxx b/binfilter/bf_sch/source/core/sch_chtmode3.cxx
index f21efa6..272021c 100644
--- a/binfilter/bf_sch/source/core/sch_chtmode3.cxx
+++ b/binfilter/bf_sch/source/core/sch_chtmode3.cxx
@@ -256,7 +256,7 @@ namespace binfilter {
 /*N*/       PutDataRowAttr(nCnt,rAttr,bMerge,bClearPoints);
 /*N*/ }
 
-/*N*/ void ChartModel::PutDataRowAttr(long nRow, const SfxItemSet& rAttr,BOOL bMerge,BOOL bClearPoints)
+/*N*/ void ChartModel::PutDataRowAttr(long nRow, const SfxItemSet& rAttr,BOOL bMerge, BOOL /*bClearPoints*/)
 /*N*/ {
 /*N*/
 /*N*/   CHART_TRACE1( "ChartModel::PutDataRowAttr %smerge", bMerge? "": "NO " );
@@ -893,7 +893,6 @@ namespace binfilter {
 /*N*/
 /*N*/   SchObjectId* pObjId = GetObjectId( *pObj );
 /*N*/
-/*N*/   SfxItemSet *pItemSet = NULL;
 /*N*/   String* pStrToChange = NULL;
 /*N*/
 /*N*/   if( pTextObject )
@@ -908,23 +907,18 @@ namespace binfilter {
 /*N*/           switch( nId )
 /*N*/           {
 /*N*/               case CHOBJID_DIAGRAM_TITLE_X_AXIS:
-/*N*/                   pItemSet = pXAxisTitleAttr;
 /*N*/                   pStrToChange = &aXAxisTitle;
 /*N*/                   break;
 /*N*/               case CHOBJID_DIAGRAM_TITLE_Y_AXIS:
-/*N*/                   pItemSet = pYAxisTitleAttr;
 /*N*/                   pStrToChange = &aYAxisTitle;
 /*N*/                   break;
 /*N*/               case CHOBJID_DIAGRAM_TITLE_Z_AXIS:
-/*N*/                   pItemSet = pZAxisTitleAttr;
 /*N*/                   pStrToChange = &aZAxisTitle;
 /*N*/                   break;
 /*N*/               case CHOBJID_TITLE_MAIN:
-/*N*/                   pItemSet = pMainTitleAttr;
 /*N*/                   pStrToChange = &aMainTitle;
 /*N*/                   break;
 /*N*/               case CHOBJID_TITLE_SUB:
-/*N*/                   pItemSet = pSubTitleAttr;
 /*N*/                   pStrToChange = &aSubTitle;
 /*N*/                   break;
 /*N*/           }
diff --git a/binfilter/inc/bf_sch/axisid.hxx b/binfilter/inc/bf_sch/axisid.hxx
index 93f94cc..764907c 100644
--- a/binfilter/inc/bf_sch/axisid.hxx
+++ b/binfilter/inc/bf_sch/axisid.hxx
@@ -52,7 +52,7 @@ public:
     SchAxisId ();
     SchAxisId (long nId);
 
-    virtual SdrObjUserData* Clone(SdrObject *pObj) const { return NULL; } // DBG_BF_ASSERT
+    virtual SdrObjUserData* Clone(SdrObject *) const { return NULL; } // DBG_BF_ASSERT
 
     virtual void WriteData(SvStream& ) {}
     virtual void ReadData(SvStream& rIn);


More information about the Libreoffice-commits mailing list