[Libreoffice-commits] .: chart2/source crashrep/source cui/source desktop/source framework/source jvmfwk/plugins oox/source scripting/source solenv/bin sw/source vcl/generic

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Aug 11 01:27:00 PDT 2012


 chart2/source/view/axes/VCartesianAxis.cxx       |    1 -
 crashrep/source/unx/main.cxx                     |    1 -
 cui/source/tabpages/autocdlg.cxx                 |    1 -
 desktop/source/migration/migration.cxx           |    1 -
 framework/source/layoutmanager/layoutmanager.cxx |    1 -
 jvmfwk/plugins/sunmajor/pluginlib/util.cxx       |    1 -
 oox/source/export/shapes.cxx                     |    3 ---
 scripting/source/vbaevents/eventhelper.cxx       |    1 -
 solenv/bin/concat-deps.c                         |    1 -
 sw/source/core/draw/dcontact.cxx                 |    1 -
 vcl/generic/glyphs/gcach_ftyp.cxx                |    1 -
 11 files changed, 13 deletions(-)

New commits:
commit 88840a796efc087e5699d8e8a53587f1cedbe73c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Aug 11 10:25:54 2012 +0200

    Remove unused local vars
    
    Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc

diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 122c778..a0f751c 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -617,7 +617,6 @@ bool VCartesianAxis::createTextShapes(
         }
     }
 
-    std::vector< ComplexCategoryPlacement > aComplexCategoryPlacements;
     uno::Sequence< rtl::OUString >* pCategories = 0;
     if( m_bUseTextLabels && !m_aAxisProperties.m_bComplexCategories )
         pCategories = &m_aTextLabels;
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index 6e385d2..d70780f 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -696,7 +696,6 @@ static string get_script_string( const char *pFileName, const char *pKeyName )
     if ( fp )
     {
         string line;
-        string section;
 
         while ( read_line( fp, line ) )
         {
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 0fb65f2..bb8fcb5 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -2475,7 +2475,6 @@ void OfaSmartTagOptionsTabPage::FillListBox( const SmartTagMgr& rSmartTagMgr )
     // fill list box:
     const sal_uInt32 nNumberOfRecognizers = rSmartTagMgr.NumberOfRecognizers();
     const lang::Locale aLocale( SvxCreateLocale( eLastDialogLanguage ) );
-    std::vector< ActionReference > aActionReferences;
 
     for ( sal_uInt32 i = 0; i < nNumberOfRecognizers; ++i )
     {
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 88bf8c5..8c17b8c 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -688,7 +688,6 @@ strings_vr MigrationImpl::compileFileList()
     strings_vr vrResult(new strings_v);
     strings_vr vrInclude;
     strings_vr vrExclude;
-    strings_vr vrTemp;
 
     // get a list of all files:
     strings_vr vrFiles = getAllFiles(m_aInfo.userdata);
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index be602cf..bc29f24 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -768,7 +768,6 @@ void LayoutManager::implts_updateUIElementsVisibleState( sal_Bool bSetVisible )
         implts_notifyListeners( frame::LayoutManagerEvents::VISIBLE, a );
     else
         implts_notifyListeners( frame::LayoutManagerEvents::INVISIBLE, a );
-    std::vector< Reference< awt::XWindow > > aWinVector;
 
     WriteGuard aWriteLock( m_aLock );
     Reference< XUIElement >   xMenuBar( m_xMenuBar, UNO_QUERY );
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index fe9bdc5..1f266f1 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -693,7 +693,6 @@ bool getJREInfoFromBinPath(
     // file:///c:/jre/bin
     //map:       jre/bin/java.exe
     bool ret = false;
-    vector<pair<OUString, OUString> > props;
 
     for ( sal_Int32 pos = 0;
           gVendorMap[pos].sVendorName != NULL; ++pos )
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 62ee42e..e84e5aa 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1163,9 +1163,6 @@ void ShapeExport::WriteTable( Reference< XShape > rXShape  )
         sal_uInt16 nRowCount = static_cast< sal_uInt16 >( xRows->getCount() );
         sal_uInt16 nColumnCount = static_cast< sal_uInt16 >( xColumns->getCount() );
 
-        std::vector< std::pair< sal_Int32, sal_Int32 > > aColumns;
-        std::vector< std::pair< sal_Int32, sal_Int32 > > aRows;
-
         mpFS->startElementNS( XML_a, XML_tblGrid, FSEND );
 
         for ( sal_Int32 x = 0; x < nColumnCount; x++ )
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 2578316..4d93bbf 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -972,7 +972,6 @@ EventListener::firing_Impl(const ScriptEvent& evt, Any* pRet ) throw(RuntimeExce
         xScriptProvider =  xSPS->getScriptProvider();
     if ( xScriptProvider.is() && mpShell )
     {
-        std::list< TranslateInfo > matchingMethods;
         std::list< TranslateInfo >::const_iterator txInfo =
             eventInfo_it->second.begin();
         std::list< TranslateInfo >::const_iterator txInfo_end = eventInfo_it->second.end();
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 38d251f..3770755 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -868,7 +868,6 @@ off_t in_list_size = 0;
 char* in_list;
 char* in_list_cursor;
 char* in_list_base;
-char* buffer;
 struct hash* dep_hash;
 
     if(argc < 2)
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index a3ea157..ff2f27b 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -695,7 +695,6 @@ void SwDrawContact::GetTextObjectsFromFmt( std::list<SdrTextObj*>& rTextObjects,
         SwFrmFmt* pFly = (*pDoc->GetSpzFrmFmts())[n];
         if( pFly->IsA( TYPE(SwDrawFrmFmt) ) )
         {
-            std::list<SdrTextObj*> aTextObjs;
             SwDrawContact* pContact = SwIterator<SwDrawContact,SwFrmFmt>::FirstElement(*pFly);
             if( pContact )
             {
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index d186aef..ca35f54 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -2402,7 +2402,6 @@ bool ServerFont::ApplyGSUB( const FontSelectPattern& rFSD )
 
     typedef std::vector<sal_uInt16> UshortList;
     UshortList aFeatureIndexList;
-    UshortList aFeatureOffsetList;
 
     // parse Script Table
     const FT_Byte* pScriptHeader = pGsubBase + nOfsScriptList;


More information about the Libreoffice-commits mailing list