[Libreoffice-commits] core.git: compilerplugins/clang include/vcl vcl/source

Noel (via logerrit) logerrit at kemper.freedesktop.org
Sat Feb 27 10:59:16 UTC 2021


 compilerplugins/clang/unusedfields.only-used-in-constructor.results |   10 ---
 compilerplugins/clang/unusedfields.untouched.results                |    6 --
 compilerplugins/clang/unusedfields.writeonly.results                |   26 ++++------
 include/vcl/syswin.hxx                                              |    1 
 vcl/source/window/syswin.cxx                                        |    1 
 5 files changed, 14 insertions(+), 30 deletions(-)

New commits:
commit 58f4c0eee21839143d4ad3606b6f8fed54eaab6e
Author:     Noel <noel.grandin at collabora.co.uk>
AuthorDate: Fri Feb 26 13:28:18 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Feb 27 11:58:36 2021 +0100

    loplugin:unusedfields
    
    Change-Id: Ie82cfbc8294ffb6b07e66f6cf15fd326bd551d91
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111625
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index 846fb0395a50..a46426654f0e 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -550,12 +550,6 @@ sd/source/filter/ppt/pptin.hxx:82
     SdPPTImport maParam struct PowerPointImportParam
 sd/source/ui/animations/CustomAnimationList.hxx:124
     sd::CustomAnimationList maDropTargetHelper class sd::CustomAnimationListDropTarget
-sd/source/ui/annotations/annotationwindow.hxx:137
-    sd::AnnotationWindow mrManager class sd::AnnotationManagerImpl &
-sd/source/ui/annotations/annotationwindow.hxx:138
-    sd::AnnotationWindow mpDocShell class sd::DrawDocShell *
-sd/source/ui/annotations/annotationwindow.hxx:139
-    sd::AnnotationWindow mpDoc class SdDrawDocument *
 sd/source/ui/inc/AccessibleDocumentViewBase.hxx:261
     accessibility::AccessibleDocumentViewBase maViewForwarder class accessibility::AccessibleViewForwarder
 sd/source/ui/inc/OutlineBulletDlg.hxx:44
@@ -710,7 +704,7 @@ svx/source/inc/datanavi.hxx:190
     svxform::XFormsPage m_aDropHelper class svxform::DataTreeDropTarget
 svx/source/svdraw/svdcrtv.cxx:48
     ImplConnectMarkerOverlay maObjects sdr::overlay::OverlayObjectList
-svx/source/svdraw/svdmrkv.cxx:132
+svx/source/svdraw/svdmrkv.cxx:134
     MarkingSubSelectionOverlay maObjects sdr::overlay::OverlayObjectList
 svx/source/tbxctrls/extrusioncontrols.hxx:66
     svx::ExtrusionDirectionWindow maImgDirection class Image [9]
@@ -772,7 +766,7 @@ ucb/source/ucp/gio/gio_mount.hxx:79
     OOoMountOperationClass _gtk_reserved3 void (*)(void)
 ucb/source/ucp/gio/gio_mount.hxx:80
     OOoMountOperationClass _gtk_reserved4 void (*)(void)
-vcl/headless/svpgdi.cxx:397
+vcl/headless/svpgdi.cxx:395
     (anonymous namespace)::BitmapHelper aTmpBmp class SvpSalBitmap
 vcl/inc/canvasbitmap.hxx:40
     vcl::unotools::VclCanvasBitmap m_aAlpha ::Bitmap
diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results
index 40413a8bde1a..c414b2434ef9 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -300,12 +300,6 @@ sc/source/ui/inc/PivotLayoutTreeListBase.hxx:48
     ScPivotLayoutTreeListBase maDropTargetHelper class ScPivotLayoutTreeDropTarget
 sd/source/ui/animations/CustomAnimationList.hxx:124
     sd::CustomAnimationList maDropTargetHelper class sd::CustomAnimationListDropTarget
-sd/source/ui/annotations/annotationwindow.hxx:137
-    sd::AnnotationWindow mrManager class sd::AnnotationManagerImpl &
-sd/source/ui/annotations/annotationwindow.hxx:138
-    sd::AnnotationWindow mpDocShell class sd::DrawDocShell *
-sd/source/ui/annotations/annotationwindow.hxx:139
-    sd::AnnotationWindow mpDoc class SdDrawDocument *
 sd/source/ui/inc/sdtreelb.hxx:73
     SdPageObjsTLV m_xDropTargetHelper std::unique_ptr<SdPageObjsTLVDropTarget>
 sd/source/ui/remotecontrol/ZeroconfService.hxx:32
diff --git a/compilerplugins/clang/unusedfields.writeonly.results b/compilerplugins/clang/unusedfields.writeonly.results
index 8deb7463ab92..8b9d9b1e75ee 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -266,7 +266,7 @@ embeddedobj/source/inc/oleembobj.hxx:174
     OleEmbeddedObject m_nStatusAspect sal_Int64
 embeddedobj/source/inc/oleembobj.hxx:188
     OleEmbeddedObject m_bFromClipboard _Bool
-emfio/inc/mtftools.hxx:515
+emfio/inc/mtftools.hxx:536
     emfio::MtfTools mrclBounds tools::Rectangle
 extensions/source/propctrlr/genericpropertyhandler.hxx:65
     pcr::GenericPropertyHandler m_xComponentIntrospectionAccess css::uno::Reference<css::beans::XIntrospectionAccess>
@@ -346,8 +346,6 @@ include/opencl/platforminfo.hxx:30
     OpenCLDeviceInfo mnComputeUnits size_t
 include/opencl/platforminfo.hxx:31
     OpenCLDeviceInfo mnFrequency size_t
-include/sfx2/docmacromode.hxx:299
-    sfx2::DocumentMacroMode m_bNeedsContentSigned _Bool
 include/sfx2/minfitem.hxx:35
     SfxMacroInfoItem aCommentText class rtl::OUString
 include/svtools/brwbox.hxx:326
@@ -414,15 +412,17 @@ include/vcl/salnativewidgets.hxx:534
     PushButtonValue mbSingleLine _Bool
 include/vcl/sysdata.hxx:68
     SystemEnvData pSalFrame class SalFrame *
+include/vcl/syswin.hxx:102
+    SystemWindow maOrgSize class Size
 include/vcl/textrectinfo.hxx:35
     TextRectInfo mnLineCount sal_uInt16
-include/vcl/vclenum.hxx:202
+include/vcl/vclenum.hxx:200
     ItalicMatrix xx double
-include/vcl/vclenum.hxx:202
+include/vcl/vclenum.hxx:200
     ItalicMatrix xy double
-include/vcl/vclenum.hxx:202
+include/vcl/vclenum.hxx:200
     ItalicMatrix yx double
-include/vcl/vclenum.hxx:202
+include/vcl/vclenum.hxx:200
     ItalicMatrix yy double
 include/xmloff/shapeimport.hxx:94
     SdXML3DSceneAttributesHelper mbVRPUsed _Bool
@@ -540,8 +540,6 @@ sc/source/filter/inc/tokstack.hxx:142
     TokenPool pP_Err TokenPoolPool<sal_uInt16, 8>
 sc/source/filter/lotus/lotfilter.hxx:54
     LotusContext eActType enum Lotus123Typ
-sc/source/filter/xml/celltextparacontext.hxx:154
-    ScXMLCellTextRubyContext maRubyStyleName class rtl::OUString
 sc/source/filter/xml/xmlcondformat.hxx:111
     ScXMLIconSetFormatContext mpFormatData struct ScIconSetFormatData *
 sc/source/filter/xml/XMLDetectiveContext.hxx:97
@@ -1046,15 +1044,15 @@ vcl/source/fontsubset/sft.cxx:92
     vcl::(anonymous namespace)::TTGlyphMetrics lsb sal_Int16
 vcl/source/fontsubset/ttcr.cxx:350
     vcl::(anonymous namespace)::tdata_post ptr void *
-vcl/unx/generic/app/wmadaptor.cxx:1272
+vcl/unx/generic/app/wmadaptor.cxx:1265
     _mwmhints deco unsigned long
-vcl/unx/generic/app/wmadaptor.cxx:1272
+vcl/unx/generic/app/wmadaptor.cxx:1265
     _mwmhints flags unsigned long
-vcl/unx/generic/app/wmadaptor.cxx:1272
+vcl/unx/generic/app/wmadaptor.cxx:1265
     _mwmhints func unsigned long
-vcl/unx/generic/app/wmadaptor.cxx:1273
+vcl/unx/generic/app/wmadaptor.cxx:1266
     _mwmhints input_mode tools::Long
-vcl/unx/generic/app/wmadaptor.cxx:1274
+vcl/unx/generic/app/wmadaptor.cxx:1267
     _mwmhints status unsigned long
 vcl/unx/generic/gdi/cairotextrender.cxx:39
     (anonymous namespace)::CairoFontsCache::CacheId maFace (anonymous namespace)::FT_Face
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 8bed92a4f3ac..f8d1683bd490 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -99,7 +99,6 @@ class VCL_DLLPUBLIC SystemWindow
 
 private:
     VclPtr<MenuBar> mpMenuBar;
-    Size            maOrgSize;
     Size            maMinOutSize;
     bool            mbDockBtn;
     bool            mbHideBtn;
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 63727cce5359..9f5ba0c4edd8 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -751,7 +751,6 @@ void SystemWindow::SetWindowStateData( const WindowStateData& rData )
         if( nY + nHeight > static_cast<tools::Long>(rGeom.nHeight) )
             nY = rGeom.nHeight - nHeight;
         setPosSizePixel( nX, nY, nWidth, nHeight, nPosSize );
-        maOrgSize = Size( nWidth, nHeight );
     }
 }
 


More information about the Libreoffice-commits mailing list