chart2/source/inc/ChartType.hxx                |    2 +-
 sc/inc/dpobject.hxx                            |    4 ----
 sc/source/ui/inc/viewdata.hxx                  |    1 -
 sc/source/ui/view/viewdata.cxx                 |    2 +-
 sd/source/ui/inc/ViewShell.hxx                 |    2 --
 sd/source/ui/view/viewshe2.cxx                 |    5 -----
 sdext/source/minimizer/configurationaccess.hxx |    2 --
 sw/inc/view.hxx                                |    2 --
 sw/source/core/bastyp/swcache.cxx              |    4 +---
 sw/source/core/inc/swcache.hxx                 |    1 -
 sw/source/uibase/uiview/view.cxx               |    2 +-
 11 files changed, 4 insertions(+), 23 deletions(-)

New commits:
commit 6d0a0d97473ce87c041e52db0be68b070de28f49
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Dec 1 14:12:09 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Mon Dec 1 17:05:41 2025 +0100

    loplugin:unusedfields
    
    Change-Id: I42dd442dc599d6a590b0b7874f5cd76dc8c07017
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194888
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 71f050e913ee..68915e44142e 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -121,10 +121,6 @@ private:
     css::uno::Reference<css::sheet::XDimensionsSupplier> mxSource;
     std::unique_ptr<ScDPOutput> mpOutput;
 
-    // name -> sequence of sequences of css::xml::FastAttribute or 
css::xml::Attribute
-    // see PivotTable::putToInteropGrabBag in 
sc/source/filter/oox/pivottablebuffer.cxx for details
-    std::map<OUString, css::uno::Any> maInteropGrabBag;
-
     sal_Int32 mnHeaderRows;    // page fields plus filter button
     bool mbHeaderLayout : 1;  // true : grid, false : standard
     bool mbAllowMove : 1;
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 4bf23dd6d452..b8a21804f0be 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -273,7 +273,6 @@ class ScViewData
 {
 private:
     double              nPPTX, nPPTY;               // Scaling factors
-    OUString            msOldWindowState;           // imported window size
 
     ::std::vector<std::unique_ptr<ScViewDataTable>> maTabData;
     ScMarkData          maMarkData;
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 66b16701b8f8..ba453d40cbaa 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -4027,7 +4027,7 @@ void ScViewData::ReadUserDataSequence(const uno::Sequence 
<beans::PropertyValue>
             maOptions.SetOption(sc::ViewOption::SYNTAX, 
ScUnoHelpFunctions::GetBoolFromAny(rSetting.Value));
         else if (sName == SC_WINDOWSTATE)
         {
-            rSetting.Value >>= msOldWindowState;
+            // ignored
         }
         else
         {
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 579728bbfc21..ae0ff4af609f 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -549,8 +549,6 @@ protected:
     void doShow();
 
 private:
-    OUString msOldWindowState; // imported window state
-
     VclPtr<vcl::Window> mpParentWindow;
     /** This window updater is used to keep all relevant windows up to date
         with reference to the digit language used to display digits in text
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index c02e8f16f9d0..a883dfacc9b4 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -965,11 +965,6 @@ void ViewShell::WriteUserDataSequence ( css::uno::Sequence 
< css::beans::Propert
 
 void ViewShell::ReadUserDataSequence ( const css::uno::Sequence < 
css::beans::PropertyValue >& rSequence )
 {
-    for (const css::beans::PropertyValue& rValue : rSequence)
-    {
-        if (rValue.Name == "WindowState")
-            rValue.Value >>= msOldWindowState;
-    }
     mpFrameView->ReadUserDataSequence( rSequence );
 }
 
diff --git a/sdext/source/minimizer/configurationaccess.hxx 
b/sdext/source/minimizer/configurationaccess.hxx
index 820e0be95009..ec99e9a097f6 100644
--- a/sdext/source/minimizer/configurationaccess.hxx
+++ b/sdext/source/minimizer/configurationaccess.hxx
@@ -98,8 +98,6 @@ class ConfigurationAccess
         css::uno::Reference< css::uno::XComponentContext > mxContext;
 
     private:
-        std::map < PPPOptimizerTokenEnum, OUString > maStrings;
-
         std::vector< OptimizerSettings > maSettings;
 
         void LoadStrings();
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 4e8764b4f56b..58dfe749b1cf 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -186,8 +186,6 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
     sal_uInt16          m_nOldPageNum;
     UIName              m_sOldSectionName;
 
-    OUString            m_sOldWindowState; // imported window state
-
     Point               m_aTabColFromDocPos;  // moving table columns out of 
the document
     SwTextNode           * m_pNumRuleNodeFromDoc; // Moving indent of numrule 
#i23726#
 
diff --git a/sw/source/core/bastyp/swcache.cxx 
b/sw/source/core/bastyp/swcache.cxx
index 817b5914dff7..c9fee1eb1943 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -97,7 +97,6 @@ SwCache::SwCache( const sal_uInt16 nInitSize
     , m_nFlushCnt( 0 )
     , m_nFlushedObjects( 0 )
     , m_nIncreaseMax( 0 )
-    , m_nDecreaseMax( 0 )
 #endif
 {
     m_aCacheObjects.reserve( nInitSize );
@@ -119,8 +118,7 @@ SwCache::~SwCache()
             << "; number of Seek for Get without Index: " << m_nAverageSeekCnt
             << "; number of Flush calls: " << m_nFlushCnt
             << "; number of flushed objects: " << m_nFlushedObjects
-            << "; number of Cache expansions: " << m_nIncreaseMax
-            << "; number of Cache reductions: " << m_nDecreaseMax);
+            << "; number of Cache expansions: " << m_nIncreaseMax);
     Check();
 #endif
 }
diff --git a/sw/source/core/inc/swcache.hxx b/sw/source/core/inc/swcache.hxx
index 6341ffb0ec7e..5b28d5c82c30 100644
--- a/sw/source/core/inc/swcache.hxx
+++ b/sw/source/core/inc/swcache.hxx
@@ -78,7 +78,6 @@ class SwCache
     tools::Long m_nFlushCnt;         /// number of flush calls
     tools::Long m_nFlushedObjects;
     tools::Long m_nIncreaseMax;      /// number of cache size increases
-    tools::Long m_nDecreaseMax;      /// number of cache size decreases
 
     void Check();
 #endif
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index e890589231e5..b0a11e7e6939 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -1513,7 +1513,7 @@ void SwView::ReadUserDataSequence ( const uno::Sequence < 
beans::PropertyValue >
         }
         else if (rValue.Name == "WindowState")
         {
-            rValue.Value >>= m_sOldWindowState;
+            // ignored
         }
         // Fallback to common SdrModel processing
         else
commit 248d35c60be67f436c7ce8041261fdfee65d88cf
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Dec 1 13:11:16 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Mon Dec 1 17:05:30 2025 +0100

    loplugin:unnecessaryvirtual
    
    Change-Id: Ic474ddf8130eeaa7183d9fd96324352b4019cf37
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194887
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/chart2/source/inc/ChartType.hxx b/chart2/source/inc/ChartType.hxx
index 2ae78395e30e..b9e5d625c719 100644
--- a/chart2/source/inc/ChartType.hxx
+++ b/chart2/source/inc/ChartType.hxx
@@ -114,7 +114,7 @@ public:
     virtual rtl::Reference< ::chart::BaseCoordinateSystem >
         createCoordinateSystem2( sal_Int32 DimensionCount );
 
-    virtual void createCalculatedDataSeries();
+    static void createCalculatedDataSeries();
 
     void deleteSeries( const rtl::Reference< ::chart::DataSeries > & xSeries );
 

Reply via email to