[Libreoffice-commits] core.git: writerfilter/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 7 06:31:38 UTC 2020


 writerfilter/source/dmapper/GraphicImport.cxx     |    1 -
 writerfilter/source/dmapper/NumberingManager.cxx  |    1 -
 writerfilter/source/dmapper/TblStylePrHandler.cxx |    1 -
 3 files changed, 3 deletions(-)

New commits:
commit 2e45a11aa1340a07a13a463e765f741af594d731
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Apr 6 21:46:21 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Apr 7 08:31:00 2020 +0200

    loplugin:unusedvariableplus in writerfilter
    
    Change-Id: Idd0fd88dc55df6e916291d173c8f6fc1219fc111
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91783
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index ade6ee087e5a..21570269db42 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -1049,7 +1049,6 @@ void GraphicImport::ProcessShapeOptions(Value const & rValue)
 void GraphicImport::lcl_sprm(Sprm& rSprm)
 {
     sal_uInt32 nSprmId = rSprm.getId();
-    Value::Pointer_t pValue = rSprm.getValue();
 
     switch(nSprmId)
     {
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx
index 3c927b828a2a..ef16116c4592 100644
--- a/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/writerfilter/source/dmapper/NumberingManager.cxx
@@ -1062,7 +1062,6 @@ void ListsManager::lcl_sprm( Sprm& rSprm )
                     {
                         pLevel->Insert(
                             PROP_ADJUST, uno::makeAny( nValue ) );
-                        writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps();
                     }
                 }
             }
diff --git a/writerfilter/source/dmapper/TblStylePrHandler.cxx b/writerfilter/source/dmapper/TblStylePrHandler.cxx
index 85ea80ab780f..22a790644ebe 100644
--- a/writerfilter/source/dmapper/TblStylePrHandler.cxx
+++ b/writerfilter/source/dmapper/TblStylePrHandler.cxx
@@ -125,7 +125,6 @@ void TblStylePrHandler::lcl_sprm(Sprm & rSprm)
     TagLogger::getInstance().attribute("sprm", rSprm.toString());
 #endif
 
-    Value::Pointer_t pValue = rSprm.getValue();
     switch ( rSprm.getId( ) )
     {
         case NS_ooxml::LN_CT_PPrBase:


More information about the Libreoffice-commits mailing list