[Libreoffice-commits] core.git: 10 commits - chart2/source connectivity/source cui/source embeddedobj/source oox/source svx/source

Stephan Bergmann sbergman at redhat.com
Wed Oct 2 09:15:14 PDT 2013


 chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx |    3 ---
 connectivity/source/drivers/postgresql/pq_tools.cxx         |    2 --
 cui/source/customize/cfg.cxx                                |    2 --
 cui/source/options/optaboutconfig.cxx                       |    1 -
 embeddedobj/source/msole/olepersist.cxx                     |    1 -
 oox/source/core/fragmenthandler2.cxx                        |    2 +-
 svx/source/form/fmservs.cxx                                 |    1 -
 svx/source/form/fmshimp.cxx                                 |    2 --
 svx/source/form/formcontroller.cxx                          |    1 -
 svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx     |    1 -
 10 files changed, 1 insertion(+), 15 deletions(-)

New commits:
commit df700770b173b41358ca6334780d5bacd907c7e2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:14:26 2013 +0200

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

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index f78303f..753edb2 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -227,7 +227,6 @@ void CuiAboutConfigTabPage::FillItems( Reference< XNameAccess >xNameAccess, OUSt
         {
             Reference< XHierarchicalNameAccess >xNextHierarchicalNameAccess( aNode, uno::UNO_QUERY_THROW );
             Reference< XNameAccess > xNextNameAccess( xNextHierarchicalNameAccess, uno::UNO_QUERY_THROW );
-            uno::Sequence < OUString  > seqNext = xNextNameAccess->getElementNames();
             FillItems( xNextNameAccess, sPath + OUString("/") + seqItems[i] );
             bIsLeafNode = sal_False;
 
commit 0c1f4873e9a13dd043889bdb6da4893c77b2abca
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:12:42 2013 +0200

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

diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index acb3c7b..95f75f3 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -5373,8 +5373,6 @@ void SvxIconSelectorDialog::ImportGraphics(
     sal_uInt16 ret = 0;
     sal_Int32 aIndex;
     OUString aIconName;
-    uno::Sequence< OUString > URLs(1);
-    uno::Sequence< uno::Reference<graphic::XGraphic > > aImportGraph( 1 );
     uno::Sequence< beans::PropertyValue > aMediaProps( 1 );
     aMediaProps[0].Name = OUString("URL" );
     uno::Reference< css::ui::XUIConfigurationPersistence >
commit ec9a074513528271da51f2d3a92aed3166f78b69
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:11:17 2013 +0200

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

diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index d231480..e020de2 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -694,7 +694,6 @@ uno::Reference< io::XStream > OleEmbeddedObject::TryToRetrieveCachedVisualRepres
                     if ( xNameContainer->hasByName( aOrigContName ) )
                     {
                         uno::Reference< embed::XClassifiedObject > xClassified( xNameContainer, uno::UNO_QUERY_THROW );
-                        uno::Sequence< sal_Int8 > aClassID;
                         if ( MimeConfigurationHelper::ClassIDsEqual( xClassified->getClassID(), MimeConfigurationHelper::GetSequenceClassID( SO3_OUT_CLASSID ) ) )
                         {
                             // this is an OLE object wrongly stored in 5.0 format
commit 42fa94bd3f0c25173a47536637278e345078a24d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:08:12 2013 +0200

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

diff --git a/oox/source/core/fragmenthandler2.cxx b/oox/source/core/fragmenthandler2.cxx
index b94ff56..668eb7f 100644
--- a/oox/source/core/fragmenthandler2.cxx
+++ b/oox/source/core/fragmenthandler2.cxx
@@ -84,7 +84,7 @@ bool FragmentHandler2::prepareMceContext( sal_Int32 nElement, const AttributeLis
                 OUString str = rAttribs.getString( MCE_TOKEN( Ignorable ), OUString() );
                 if( !str.isEmpty() )
                 {
-                    Sequence< ::com::sun::star::xml::FastAttribute > attrs = rAttribs.getFastAttributeList()->getFastAttributes();
+                    // Sequence< ::com::sun::star::xml::FastAttribute > attrs = rAttribs.getFastAttributeList()->getFastAttributes();
                     // printf("MCE: %s\n", OUStringToOString( str, RTL_TEXTENCODING_UTF8 ).getStr() );
                     // TODO: Check & Get the namespaces in "Ignorable"
                     // printf("NS: %d : %s\n", attrs.getLength(), OUStringToOString( str, RTL_TEXTENCODING_UTF8 ).getStr() );
commit 8900fd676735ba353ce7434693f266b6991b77eb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:06:41 2013 +0200

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

diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index a6ed1904..9836d29 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -1725,9 +1725,6 @@ void WrappedAttributedDataPointsProperty::setPropertyValue( const Any& rOuterVal
     {
         ::std::vector< Reference< chart2::XDataSeries > > aSeriesVector(
             ::chart::DiagramHelper::getDataSeriesFromDiagram( xDiagram ) );
-
-        uno::Sequence< uno::Sequence< sal_Int32 > > aResult( aSeriesVector.size() );
-
         ::std::vector< Reference< chart2::XDataSeries > >::const_iterator aIt =
                 aSeriesVector.begin();
         sal_Int32 i = 0;
commit 723412eac55f9417b945da8128f5b3a64c49c72b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:04:49 2013 +0200

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

diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx
index dcdc30b..79f383c 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.cxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -609,8 +609,6 @@ std::vector
 
 com::sun::star::uno::Sequence< Any > parseArray( const OUString & str ) throw( SQLException )
 {
-    com::sun::star::uno::Sequence< Any > ret;
-
     int len = str.getLength();
     bool doubleQuote = false;
     int brackets = 0;
commit 6b1bb754411a52a5a37745e763e1fb977f49946c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 18:00:34 2013 +0200

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

diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 54eff2b..cb21a59 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -3117,7 +3117,6 @@ void FormController::setFilter(::std::vector<FmFieldInfo>& rFieldInfos)
 
     if (m_xComposer.is())
     {
-        Sequence < PropertyValue> aLevel;
         Sequence< Sequence < PropertyValue > > aFilterRows = m_xComposer->getStructuredFilter();
 
         // ok, we receive the list of filters as sequence of fieldnames, value
commit b57dd67aa32013c97283c408c85b4634d21df559
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 17:59:32 2013 +0200

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

diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 1093578..52a531c 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -3286,8 +3286,6 @@ void FmXFormShell::CreateExternalView()
         {
             DBG_ASSERT(xCurrentNavController.is(), "FmXFormShell::CreateExternalView : invalid call : have no nav controller !");
             // first : dispatch the descriptions for the columns to add
-            Sequence< Reference< XControl> > aCurrentControls(xCurrentNavController->getControls());
-
             sal_Int16 nAddedColumns = 0;
 
             // for radio buttons we need some special structures
commit 672b77f6474bd17bcb842e2628e6502837199cd9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 17:58:38 2013 +0200

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

diff --git a/svx/source/form/fmservs.cxx b/svx/source/form/fmservs.cxx
index 900a013..bac1280 100644
--- a/svx/source/form/fmservs.cxx
+++ b/svx/source/form/fmservs.cxx
@@ -60,7 +60,6 @@ namespace svxform
         if (!xSet.is())
             return;
 
-        uno::Sequence< OUString> aServices;
         uno::Reference< lang::XSingleServiceFactory >  xSingleFactory;
 
         OUString sString;
commit 1080e15cf3d4e16acd0f3b02d9e40521a6535358
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 17:56:07 2013 +0200

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

diff --git a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
index 4e14184..024336e 100644
--- a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
@@ -63,7 +63,6 @@ namespace drawinglayer
             {
                 const GraphicObject aGraphicObject(aGraphic);
                 const GraphicAttr aGraphicAttr;
-                drawinglayer::primitive2d::Primitive2DSequence xOLEContent;
 
                 if(bScaleContent)
                 {


More information about the Libreoffice-commits mailing list