[Libreoffice-commits] core.git: 2 commits - sc/source sw/source

Tor Lillqvist tml at iki.fi
Mon Mar 25 03:19:07 PDT 2013


 sc/source/ui/miscdlgs/anyrefdg.cxx |    1 -
 sw/source/ui/envelp/labelcfg.cxx   |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 843c21201f5d496bb69b36fdc2a1eb5099e73728
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Mar 25 11:54:35 2013 +0200

    Warning: unused variable 'rStrExp' [loplugin]
    
    Change-Id: Iee6549e2c9a97d36fe547fa48937a47ca1254334

diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index cec4522..80e0975 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -322,7 +322,6 @@ void ScFormulaReferenceHelper::Init()
         SCTAB nTab = pViewData->GetTabNo();
         ScAddress aCursorPos( nCol, nRow, nTab );
 
-        String rStrExp;
         pRefComp.reset( new ScCompiler( pDoc, aCursorPos) );
         pRefComp->SetGrammar( pDoc->GetGrammar() );
         pRefComp->SetCompileForFAP(true);
commit 124f7f1a03b6865fe0cbc8f335d58f67da2e43a6
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Mar 25 11:51:35 2013 +0200

    Warning: unused variable 'sManufacturer' [loplugin]
    
    Change-Id: Id0ce31dc4dc252539a7a4e955ebcca6c58b44148

diff --git a/sw/source/ui/envelp/labelcfg.cxx b/sw/source/ui/envelp/labelcfg.cxx
index 785eff6..eb7cd6b 100644
--- a/sw/source/ui/envelp/labelcfg.cxx
+++ b/sw/source/ui/envelp/labelcfg.cxx
@@ -250,7 +250,6 @@ static Sequence<PropertyValue> lcl_CreateProperties(
 // function fills SwLabDlg with label definitions for manufacturer rManufacturer
 void    SwLabelConfig::FillLabels(const OUString& rManufacturer, SwLabRecs& rLabArr)
 {
-    OUString sManufacturer(wrapConfigurationElementName(rManufacturer));
     if (m_aLabels.find(rManufacturer) == m_aLabels.end())
         return;
     for (std::map<OUString, SwLabelMeasure>::iterator it = m_aLabels[rManufacturer].begin();


More information about the Libreoffice-commits mailing list