[Libreoffice-commits] core.git: 8 commits - dbaccess/source extensions/source sax/source writerfilter/source

Stephan Bergmann sbergman at redhat.com
Wed Oct 2 09:41:29 PDT 2013


 dbaccess/source/core/api/KeySet.cxx                  |    1 -
 dbaccess/source/core/api/column.cxx                  |    2 --
 dbaccess/source/filter/xml/xmlExport.cxx             |    1 -
 dbaccess/source/ui/dlg/DbAdminImpl.cxx               |    2 --
 dbaccess/source/ui/uno/copytablewizard.cxx           |    1 -
 extensions/source/update/check/updatecheckconfig.cxx |    2 --
 sax/source/expatwrap/xml2utf.cxx                     |    1 -
 writerfilter/source/dmapper/NumberingManager.cxx     |    2 --
 8 files changed, 12 deletions(-)

New commits:
commit 21478710024dbddc89a2e8f0b2ba672ef0f85c4f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:39:13 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I50ec542176d1f6dbc731a0b20380c77930aa8fdc

diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx
index ee14f78..8658183 100644
--- a/sax/source/expatwrap/xml2utf.cxx
+++ b/sax/source/expatwrap/xml2utf.cxx
@@ -38,7 +38,6 @@ namespace sax_expatwrap {
 sal_Int32 XMLFile2UTFConverter::readAndConvert( Sequence<sal_Int8> &seq , sal_Int32 nMaxToRead )
     throw ( IOException, NotConnectedException , BufferSizeExceededException , RuntimeException )
 {
-
     if( ! m_in.is() ) {
         throw NotConnectedException();
     }
commit 38e9686b5b2ea6341d5494ce5fe7bbc64d4c3011
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:37:18 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I57cb3540cb94dcf39252a87b56cba3856cba9c01

diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index 799d6e6..79a23ca 100644
--- a/extensions/source/update/check/updatecheckconfig.cxx
+++ b/extensions/source/update/check/updatecheckconfig.cxx
@@ -611,13 +611,11 @@ UpdateCheckConfig::commitChanges()
     xChangesBatch = uno::Reference< util::XChangesBatch > ( m_xAvailableUpdates, uno::UNO_QUERY );
     if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() )
     {
-        util::ChangesSet aChangesSet = xChangesBatch->getPendingChanges();
         xChangesBatch->commitChanges();
     }
     xChangesBatch = uno::Reference< util::XChangesBatch > ( m_xIgnoredUpdates, uno::UNO_QUERY );
     if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() )
     {
-        util::ChangesSet aChangesSet = xChangesBatch->getPendingChanges();
         xChangesBatch->commitChanges();
     }
 }
commit f22ffca56406de75efff9da988d5709648c32164
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:34:49 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I0885168291aa3ffa9500e1e5543c725a118c8ddf

diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx
index e5b924c..f390346 100644
--- a/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/writerfilter/source/dmapper/NumberingManager.cxx
@@ -943,8 +943,6 @@ void ListsManager::lcl_sprm( Sprm& rSprm )
                 if (xShape.is())
                 {
                     uno::Reference<beans::XPropertySet> xPropertySet(xShape, uno::UNO_QUERY);
-                    uno::Reference<beans::XPropertySetInfo> info = xPropertySet->getPropertySetInfo();
-                    uno::Sequence<beans::Property> properties = info->getProperties();
                     try
                     {
                         uno::Any aAny = xPropertySet->getPropertyValue("GraphicURL");
commit e67308c306fed4a9ce23a93edca64d87942f3a0a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:32:14 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I9379b66c8ad5bffeebd60a2d38fe466b6856e613

diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index be4a361..7ffded0 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1450,7 +1450,6 @@ OUString CopyTableWizard::impl_getServerSideCopyStatement_throw(const Reference<
 {
     const Reference<XColumnsSupplier> xDestColsSup(_xTable,UNO_QUERY_THROW);
     const Sequence< OUString> aDestColumnNames = xDestColsSup->getColumns()->getElementNames();
-    const Sequence< OUString > aColumnNames = m_pSourceObject->getColumnNames();
     const Reference< XDatabaseMetaData > xDestMetaData( m_xDestConnection->getMetaData(), UNO_QUERY_THROW );
     const OUString sQuote = xDestMetaData->getIdentifierQuoteString();
     OUStringBuffer sColumns;
commit 7f3d8936344992b86baf4360a19bc6c025a4b999
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:30:11 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I1f3b4c25176db53fc3b827e9514ff497a33f419c

diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
index c04882d..61be0ed 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
@@ -561,8 +561,6 @@ DECLARE_STL_SET( PropertyValue, PropertyValueLess, PropertyValueSet);
 
 void ODbDataSourceAdministrationHelper::translateProperties(const Reference< XPropertySet >& _rxSource, SfxItemSet& _rDest)
 {
-    Sequence< OUString > aTableFitler;
-
     if (_rxSource.is())
     {
         for (   ConstMapInt2StringIterator aDirect = m_aDirectPropTranslator.begin();
commit 82902dd38b4a61222992c407b58d5c5f35ca5e37
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:29:35 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I62dbc62446dbdcb25c7a221d88f59862333e5a4d

diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index 4d1803b..9dd10c6 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -785,7 +785,6 @@ void ODBExport::exportSequence(const Sequence< OUString>& _aValue
                             ,::xmloff::token::XMLTokenEnum _eTokenType)
 {
     Reference<XPropertySet> xProp(getDataSource());
-    Sequence< OUString> aValue;
     if ( _aValue.getLength() )
     {
         SvXMLElementExport aElem(*this,XML_NAMESPACE_DB, _eTokenFilter, sal_True, sal_True);
commit 34063e35f7b0f34e93316fd68f639ffae1ae88d2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:16:36 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I805b898faaae631d047ec82e7139c6d6ccaea3b1

diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 58135fe..7583f79 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -505,7 +505,6 @@ Sequence< sal_Int32 > SAL_CALL OKeySet::deleteRows( const Sequence< Any >& rows
     const Any* pBegin   = rows.getConstArray();
     const Any* pEnd     = pBegin + rows.getLength();
 
-    Sequence< Any > aKeys;
     for(;pBegin != pEnd;++pBegin)
     {
         aSql.append(sCon + aOr);
commit 0ff379fa1cd0a47c1d6e148a62afd1ebd8d4b274
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:16:23 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: I0d587538c3bee7ad71acb2272c7f85f5f7454158

diff --git a/dbaccess/source/core/api/column.cxx b/dbaccess/source/core/api/column.cxx
index 43dca97..7483afa 100644
--- a/dbaccess/source/core/api/column.cxx
+++ b/dbaccess/source/core/api/column.cxx
@@ -322,8 +322,6 @@ Sequence< Type > SAL_CALL OColumns::getTypes(  ) throw(RuntimeException)
         Reference<XTypeProvider> xTypes(m_xDrvColumns,UNO_QUERY);
         Sequence< Type > aTypes(xTypes->getTypes());
 
-        Sequence< Type > aSecTypes(OColumns_BASE::getTypes());
-
         const Type* pBegin = aTypes.getConstArray();
         const Type* pEnd = pBegin + aTypes.getLength();
         for (;pBegin != pEnd ; ++pBegin)


More information about the Libreoffice-commits mailing list