summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-08-11 10:25:54 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-08-11 10:25:54 +0200
commit88840a796efc087e5699d8e8a53587f1cedbe73c (patch)
tree2dbe30e622ff2c3a5478a3a3bebc973144948309
parente1c2aae61b21f8aa5f64c38efd6ca685c89291e3 (diff)
Remove unused local vars
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
-rw-r--r--chart2/source/view/axes/VCartesianAxis.cxx1
-rw-r--r--crashrep/source/unx/main.cxx1
-rw-r--r--cui/source/tabpages/autocdlg.cxx1
-rw-r--r--desktop/source/migration/migration.cxx1
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx1
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx1
-rw-r--r--oox/source/export/shapes.cxx3
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx1
-rw-r--r--solenv/bin/concat-deps.c1
-rw-r--r--sw/source/core/draw/dcontact.cxx1
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx1
11 files changed, 0 insertions, 13 deletions
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index 122c77884927..a0f751c19d90 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 6e385d25d018..d70780ff4152 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 0fb65f24ef47..bb8fcb51d016 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 88bf8c54f393..8c17b8c286b3 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 be602cfe5fdb..bc29f2419942 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 fe9bdc5403ab..1f266f1ef0f2 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 62ee42ee3c0c..e84e5aafc533 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 25783166cb98..4d93bbfffa3f 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 38d251f2b592..37707556e153 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 a3ea1574794a..ff2f27b7430b 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 d186aef2df00..ca35f54c0648 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;