connectivity/source/drivers/postgresql/pq_xcontainer.cxx |    1 -
 sc/source/filter/excel/xepivot.cxx                       |    1 -
 svx/source/dialog/svxruler.cxx                           |    1 -
 vcl/unx/kde4/KDESalGraphics.cxx                          |    1 -
 4 files changed, 4 deletions(-)

New commits:
commit e609841e8f96d4898f080d1b06a753dbe346db36
Author: jailletc36 <christophe.jail...@wanadoo.fr>
Date:   Fri Nov 23 22:59:29 2012 +0100

    cppCheck: remove dead assignment and dead variables
    
    Change-Id: I3f0eae93be7f362ff70f8a544c46cd500d2ca50c
    Signed-off-by: jailletc36 <christophe.jail...@wanadoo.fr>
    Reviewed-on: https://gerrit.libreoffice.org/1153
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Eike Rathke <er...@redhat.com>

diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx 
b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
index e28c7f2..a93a6c5 100644
--- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
@@ -339,7 +339,6 @@ void Container::rename( const rtl::OUString &oldName, const 
rtl::OUString &newNa
             newValue = m_values[nIndex];
             m_name2index.erase( ii );
             m_name2index[ newName ] = nIndex;
-            newValue = m_values[nIndex];
         }
     }
     fire( ReplacedBroadcaster( *this, newName, newValue, oldName ) );
diff --git a/sc/source/filter/excel/xepivot.cxx 
b/sc/source/filter/excel/xepivot.cxx
index 85e36e5..9e4c974 100644
--- a/sc/source/filter/excel/xepivot.cxx
+++ b/sc/source/filter/excel/xepivot.cxx
@@ -549,7 +549,6 @@ void XclExpPCField::InsertNumDateGroupItems( const 
ScDPObject& rDPObj, const ScD
 
         ScSheetDPData aDPData(GetDocPtr(), *pSrcDesc, *pCache);
         long nDim = GetFieldIndex();
-        const std::vector< SCROW > aOrignial = aDPData.GetColumnEntries(nDim);
         // get the string collection with generated grouping elements
         ScDPNumGroupDimension aTmpDim( rNumInfo );
         if( nDatePart != 0 )
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index c22bf61..0cfa756 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -2514,7 +2514,6 @@ void SvxRuler::PrepareProportional_Impl(RulerType eType)
             long lWidth=0;
             sal_uInt16 nStart;
             sal_uInt16 nIdx=GetDragAryPos();
-            lWidth=0;
             long lActWidth=0;
             long lActBorderSum;
             long lOrigLPos;
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index fdbbbbd..1512da2 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -177,7 +177,6 @@ namespace
         if( s_nFrameWidth < 0 )
         {
             // fill in a default
-            s_nFrameWidth = 2;
             QFrame aFrame( NULL );
             aFrame.setFrameRect( QRect(0, 0, 100, 30) );
             aFrame.setFrameStyle( QFrame::StyledPanel | QFrame::Sunken );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to