[Libreoffice-commits] core.git: compilerplugins/clang include/svtools include/svx include/xmloff sc/source svtools/source svx/source sw/inc sw/source vcl/inc vcl/unx xmloff/source

Noel Grandin noel.grandin at collabora.co.uk
Thu Jun 14 19:57:46 UTC 2018


 compilerplugins/clang/unusedfields.only-used-in-constructor.results |  614 ++++++++++
 compilerplugins/clang/unusedfields.readonly.results                 |   40 
 compilerplugins/clang/unusedfields.untouched.results                |    8 
 compilerplugins/clang/unusedfields.writeonly.results                |   30 
 include/svtools/valueset.hxx                                        |    3 
 include/svx/dialcontrol.hxx                                         |    7 
 include/svx/paraprev.hxx                                            |    6 
 include/svx/swframeexample.hxx                                      |    2 
 include/xmloff/XMLTextMasterPageContext.hxx                         |    1 
 sc/source/ui/dbgui/sortkeydlg.cxx                                   |    2 
 sc/source/ui/inc/sortkeydlg.hxx                                     |    1 
 svtools/source/control/valueacc.cxx                                 |    1 
 svtools/source/control/valueset.cxx                                 |   12 
 svx/source/dialog/dialcontrol.cxx                                   |   17 
 svx/source/dialog/orienthelper.cxx                                  |    4 
 svx/source/dialog/paraprev.cxx                                      |   51 
 svx/source/dialog/swframeexample.cxx                                |   22 
 svx/source/svdraw/svdopath.cxx                                      |    6 
 svx/source/svdraw/svdpdf.cxx                                        |    3 
 svx/source/svdraw/svdpdf.hxx                                        |    3 
 sw/inc/ndgrf.hxx                                                    |    3 
 sw/source/core/docnode/swbaslnk.cxx                                 |    2 
 sw/source/core/graphic/ndgrf.cxx                                    |    3 
 sw/source/ui/misc/outline.cxx                                       |  188 ---
 sw/source/uibase/inc/numprevw.hxx                                   |    7 
 sw/source/uibase/inc/prcntfld.hxx                                   |    2 
 sw/source/uibase/utlui/prcntfld.cxx                                 |    3 
 vcl/inc/unx/i18n_xkb.hxx                                            |    1 
 vcl/unx/generic/app/i18n_xkb.cxx                                    |    4 
 xmloff/source/draw/ximpstyl.cxx                                     |   13 
 xmloff/source/draw/ximpstyl.hxx                                     |    1 
 xmloff/source/text/XMLTextMasterPageContext.cxx                     |    2 
 32 files changed, 679 insertions(+), 383 deletions(-)

New commits:
commit c37077578deffb79405330967191185967e90b98
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Jun 14 13:19:22 2018 +0200

    loplugin:unusedfields
    
    Change-Id: I7d9966d11f8272034523d9804ecf76e119552780
    Reviewed-on: https://gerrit.libreoffice.org/55796
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
new file mode 100644
index 000000000000..4a6acd1bc740
--- /dev/null
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -0,0 +1,614 @@
+avmedia/source/vlc/vlcframegrabber.hxx:36
+    avmedia::vlc::VLCFrameGrabber mInstance wrapper::Instance
+avmedia/source/vlc/vlcframegrabber.hxx:37
+    avmedia::vlc::VLCFrameGrabber mMedia wrapper::Media
+avmedia/source/vlc/wrapper/Types.hxx:39
+    libvlc_event_t p_obj void *
+avmedia/source/vlc/wrapper/Types.hxx:44
+    libvlc_event_t::(anonymous union)::(anonymous) dummy1 const char *
+avmedia/source/vlc/wrapper/Types.hxx:45
+    libvlc_event_t::(anonymous union)::(anonymous) dummy2 const char *
+avmedia/source/vlc/wrapper/Types.hxx:46
+    libvlc_event_t::(anonymous) padding struct (anonymous struct at /home/noel/libo/avmedia/source/vlc/wrapper/Types.hxx:43:7)
+avmedia/source/vlc/wrapper/Types.hxx:47
+    libvlc_event_t u union (anonymous union at /home/noel/libo/avmedia/source/vlc/wrapper/Types.hxx:41:5)
+avmedia/source/vlc/wrapper/Types.hxx:53
+    libvlc_track_description_t psz_name char *
+basegfx/source/polygon/b2dtrapezoid.cxx:201
+    basegfx::trapezoidhelper::PointBlockAllocator maFirstStackBlock class basegfx::B2DPoint [32]
+basic/qa/cppunit/basictest.hxx:27
+    MacroSnippet maDll class BasicDLL
+binaryurp/source/unmarshal.hxx:89
+    binaryurp::Unmarshal buffer_ com::sun::star::uno::Sequence<sal_Int8>
+binaryurp/source/writer.hxx:148
+    binaryurp::Writer state_ struct binaryurp::WriterState
+canvas/source/vcl/impltools.hxx:117
+    vclcanvas::tools::LocalGuard aSolarGuard class SolarMutexGuard
+chart2/source/controller/accessibility/AccessibleChartShape.hxx:79
+    chart::AccessibleChartShape m_aShapeTreeInfo ::accessibility::AccessibleShapeTreeInfo
+chart2/source/controller/inc/dlg_View3D.hxx:53
+    chart::View3DDialog m_aControllerLocker class chart::ControllerLockHelper
+chart2/source/controller/inc/RangeSelectionListener.hxx:63
+    chart::RangeSelectionListener m_aControllerLockGuard class chart::ControllerLockGuardUNO
+chart2/source/view/inc/GL3DRenderer.hxx:54
+    chart::opengl3D::MaterialParameters pad float
+chart2/source/view/inc/GL3DRenderer.hxx:55
+    chart::opengl3D::MaterialParameters pad1 float
+chart2/source/view/inc/GL3DRenderer.hxx:64
+    chart::opengl3D::LightSource pad1 float
+chart2/source/view/inc/GL3DRenderer.hxx:65
+    chart::opengl3D::LightSource pad2 float
+chart2/source/view/inc/GL3DRenderer.hxx:66
+    chart::opengl3D::LightSource pad3 float
+connectivity/source/commontools/RowFunctionParser.cxx:374
+    connectivity::(anonymous namespace)::ExpressionGrammar::definition unaryFunction ::boost::spirit::rule<ScannerT>
+connectivity/source/commontools/RowFunctionParser.cxx:375
+    connectivity::(anonymous namespace)::ExpressionGrammar::definition assignment ::boost::spirit::rule<ScannerT>
+connectivity/source/drivers/evoab2/EApi.h:122
+    (anonymous) address_format char *
+connectivity/source/drivers/evoab2/EApi.h:126
+    (anonymous) ext char *
+connectivity/source/drivers/evoab2/NStatement.hxx:57
+    connectivity::evoab::FieldSort bAscending _Bool
+connectivity/source/inc/component/CResultSet.hxx:44
+    connectivity::component::OComponentResultSet m_bBookmarkable _Bool
+connectivity/source/inc/dbase/DResultSet.hxx:43
+    connectivity::dbase::ODbaseResultSet m_bBookmarkable _Bool
+connectivity/source/inc/file/FStatement.hxx:89
+    connectivity::file::OStatement_Base m_aCursorName class rtl::OUString
+connectivity/source/inc/file/FStatement.hxx:90
+    connectivity::file::OStatement_Base m_nMaxFieldSize sal_Int32
+connectivity/source/inc/file/FStatement.hxx:91
+    connectivity::file::OStatement_Base m_nMaxRows sal_Int32
+connectivity/source/inc/file/FStatement.hxx:92
+    connectivity::file::OStatement_Base m_nQueryTimeOut sal_Int32
+connectivity/source/inc/file/FStatement.hxx:93
+    connectivity::file::OStatement_Base m_nFetchSize sal_Int32
+connectivity/source/inc/file/FStatement.hxx:94
+    connectivity::file::OStatement_Base m_nResultSetType sal_Int32
+connectivity/source/inc/file/FStatement.hxx:95
+    connectivity::file::OStatement_Base m_nFetchDirection sal_Int32
+connectivity/source/inc/file/FStatement.hxx:96
+    connectivity::file::OStatement_Base m_nResultSetConcurrency sal_Int32
+connectivity/source/inc/file/FStatement.hxx:97
+    connectivity::file::OStatement_Base m_bEscapeProcessing _Bool
+connectivity/source/inc/flat/EResultSet.hxx:42
+    connectivity::flat::OFlatResultSet m_bBookmarkable _Bool
+connectivity/source/inc/java/lang/Object.hxx:45
+    connectivity::SDBThreadAttach m_aGuard jvmaccess::class VirtualMachine::AttachGuard
+cppcanvas/source/mtfrenderer/textaction.cxx:820
+    cppcanvas::internal::(anonymous namespace)::EffectTextAction maTextLineInfo const tools::TextLineInfo
+cppcanvas/source/mtfrenderer/textaction.cxx:1655
+    cppcanvas::internal::(anonymous namespace)::OutlineAction maTextLineInfo const tools::TextLineInfo
+cppu/source/threadpool/threadpool.cxx:355
+    _uno_ThreadPool dummy sal_Int32
+cppu/source/typelib/typelib.cxx:62
+    AlignSize_Impl nInt16 sal_Int16
+cppu/source/uno/check.cxx:38
+    (anonymous namespace)::C1 n1 sal_Int16
+cppu/source/uno/check.cxx:67
+    (anonymous namespace)::D d sal_Int16
+cppu/source/uno/check.cxx:68
+    (anonymous namespace)::D e sal_Int32
+cppu/source/uno/check.cxx:72
+    (anonymous namespace)::E a sal_Bool
+cppu/source/uno/check.cxx:73
+    (anonymous namespace)::E b sal_Bool
+cppu/source/uno/check.cxx:74
+    (anonymous namespace)::E c sal_Bool
+cppu/source/uno/check.cxx:75
+    (anonymous namespace)::E d sal_Int16
+cppu/source/uno/check.cxx:76
+    (anonymous namespace)::E e sal_Int32
+cppu/source/uno/check.cxx:81
+    (anonymous namespace)::M n sal_Int32
+cppu/source/uno/check.cxx:82
+    (anonymous namespace)::M o sal_Int16
+cppu/source/uno/check.cxx:91
+    (anonymous namespace)::N2 m struct (anonymous namespace)::M
+cppu/source/uno/check.cxx:92
+    (anonymous namespace)::N2 p sal_Int16
+cppu/source/uno/check.cxx:97
+    (anonymous namespace)::O p double
+cppu/source/uno/check.cxx:98
+    (anonymous namespace)::O q sal_Int16
+cppu/source/uno/check.cxx:107
+    (anonymous namespace)::P p2 double
+cppu/source/uno/check.cxx:115
+    (anonymous namespace)::second a int
+cppu/source/uno/check.cxx:120
+    (anonymous namespace)::AlignSize_Impl nInt16 sal_Int16
+cppu/source/uno/check.cxx:121
+    (anonymous namespace)::AlignSize_Impl dDouble double
+cppu/source/uno/check.cxx:126
+    (anonymous namespace)::Char1 c1 char
+cppu/source/uno/check.cxx:130
+    (anonymous namespace)::Char2 c2 char
+cppu/source/uno/check.cxx:134
+    (anonymous namespace)::Char3 c3 char
+cppu/source/uno/check.cxx:138
+    (anonymous namespace)::Char4 chars struct (anonymous namespace)::Char3
+cui/source/dialogs/colorpicker.cxx:719
+    cui::ColorPickerDialog m_aColorPrevious class cui::ColorPreviewControl
+cui/source/factory/dlgfact.cxx:1380
+    SvxMacroAssignDialog m_aItems class SfxItemSet
+cui/source/inc/cfgutil.hxx:190
+    SvxScriptSelectorDialog m_aStylesInfo struct SfxStylesInfo_Impl
+cui/source/inc/cuitabarea.hxx:246
+    SvxAreaTabPage maFixed_ChangeType enum ChangeType
+cui/source/inc/cuitabarea.hxx:254
+    SvxAreaTabPage m_aXFillAttr class XFillAttrSetItem
+dbaccess/source/core/api/RowSet.hxx:111
+    dbaccess::ORowSet m_aURL class rtl::OUString
+dbaccess/source/core/api/RowSet.hxx:125
+    dbaccess::ORowSet m_nMaxFieldSize sal_Int32
+dbaccess/source/core/api/RowSet.hxx:127
+    dbaccess::ORowSet m_nQueryTimeOut sal_Int32
+dbaccess/source/core/api/RowSet.hxx:129
+    dbaccess::ORowSet m_nTransactionIsolation sal_Int32
+dbaccess/source/core/api/RowSet.hxx:141
+    dbaccess::ORowSet m_bIsBookmarkable _Bool
+dbaccess/source/core/api/RowSet.hxx:143
+    dbaccess::ORowSet m_bCanUpdateInsertedRows _Bool
+dbaccess/source/core/api/RowSet.hxx:460
+    dbaccess::ORowSetClone m_nFetchDirection sal_Int32
+dbaccess/source/core/api/RowSet.hxx:461
+    dbaccess::ORowSetClone m_nFetchSize sal_Int32
+dbaccess/source/core/api/RowSet.hxx:462
+    dbaccess::ORowSetClone m_bIsBookmarkable _Bool
+dbaccess/source/core/dataaccess/connection.hxx:101
+    dbaccess::OConnection m_nInAppend std::atomic<std::size_t>
+dbaccess/source/ui/dlg/admincontrols.hxx:52
+    dbaui::MySQLNativeSettings m_aControlDependencies ::svt::ControlDependencyManager
+drawinglayer/source/tools/emfphelperdata.hxx:155
+    emfplushelper::EmfPlusHelperData mnFrameRight sal_Int32
+drawinglayer/source/tools/emfphelperdata.hxx:156
+    emfplushelper::EmfPlusHelperData mnFrameBottom sal_Int32
+editeng/source/editeng/impedit.hxx:462
+    ImpEditEngine aSelFuncSet class EditSelFunctionSet
+filter/source/flash/swfwriter.hxx:394
+    swf::Writer maMovieTempFile utl::TempFile
+filter/source/flash/swfwriter.hxx:395
+    swf::Writer maFontsTempFile utl::TempFile
+filter/source/graphicfilter/icgm/chart.hxx:44
+    DataNode nBoxX1 sal_Int16
+filter/source/graphicfilter/icgm/chart.hxx:45
+    DataNode nBoxY1 sal_Int16
+filter/source/graphicfilter/icgm/chart.hxx:46
+    DataNode nBoxX2 sal_Int16
+filter/source/graphicfilter/icgm/chart.hxx:47
+    DataNode nBoxY2 sal_Int16
+include/basic/basmgr.hxx:52
+    BasicError nReason enum BasicErrorReason
+include/drawinglayer/primitive2d/textlayoutdevice.hxx:61
+    drawinglayer::primitive2d::TextLayouterDevice maSolarGuard class SolarMutexGuard
+include/drawinglayer/texture/texture3d.hxx:62
+    drawinglayer::texture::GeoTexSvxBitmapEx maBitmap class Bitmap
+include/drawinglayer/texture/texture3d.hxx:64
+    drawinglayer::texture::GeoTexSvxBitmapEx maTransparence class Bitmap
+include/filter/msfilter/svdfppt.hxx:883
+    ImplPPTParaPropSet nDontKnow1 sal_uInt32
+include/filter/msfilter/svdfppt.hxx:884
+    ImplPPTParaPropSet nDontKnow2 sal_uInt32
+include/filter/msfilter/svdfppt.hxx:885
+    ImplPPTParaPropSet nDontKnow2bit06 sal_uInt16
+include/LibreOfficeKit/LibreOfficeKitGtk.h:33
+    _LOKDocView aDrawingArea GtkDrawingArea
+include/LibreOfficeKit/LibreOfficeKitGtk.h:38
+    _LOKDocViewClass parent_class GtkDrawingAreaClass
+include/oox/export/shapes.hxx:122
+    oox::drawingml::ShapeExport maShapeMap oox::drawingml::ShapeExport::ShapeHashMap
+include/registry/registry.hxx:35
+    Registry_Api acquire void (*)(RegHandle)
+include/sfx2/classificationhelper.hxx:127
+    sfx::ClassificationKeyCreator m_ePolicyType const enum SfxClassificationPolicyType
+include/sfx2/msg.hxx:117
+    SfxType0 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
+include/sfx2/msg.hxx:119
+    SfxType0 nAttribs sal_uInt16
+include/svl/ondemand.hxx:58
+    OnDemandLocaleDataWrapper aSysLocale class SvtSysLocale
+include/svx/ClassificationDialog.hxx:59
+    svx::ClassificationDialog m_bPerParagraph const _Bool
+include/svx/ClassificationDialog.hxx:63
+    svx::ClassificationDialog m_nInsertMarkings sal_Int16
+include/svx/itemwin.hxx:34
+    SvxLineBox aDelayTimer class Timer
+include/xmloff/shapeimport.hxx:140
+    SdXML3DLightContext mbSpecular _Bool
+include/xmloff/XMLTextMasterPageContext.hxx:34
+    XMLTextMasterPageContext sIsPhysical const class rtl::OUString
+jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx:102
+    jfw_plugin::SunVersion usVersion class rtl::OUString
+libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx:35
+    GtvApplicationWindowPrivate lokDialog GtkWidget *
+libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:50
+    GtvApplicationWindow parent_instance GtkApplicationWindow
+libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:54
+    GtvApplicationWindow doctype LibreOfficeKitDocumentType
+libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:73
+    GtvApplicationWindowClass parentClass GtkApplicationWindowClass
+libreofficekit/qa/gtktiledviewer/gtv-application.hxx:26
+    GtvApplication parent GtkApplication
+libreofficekit/qa/gtktiledviewer/gtv-application.hxx:31
+    GtvApplicationClass parentClass GtkApplicationClass
+libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.hxx:28
+    GtvCalcHeaderBar parent GtkDrawingArea
+libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.hxx:37
+    GtvCalcHeaderBarClass parentClass GtkDrawingAreaClass
+libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.hxx:26
+    GtvCommentsSidebar parent GtkBox
+libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.hxx:35
+    GtvCommentsSidebarClass parentClass GtkBoxClass
+libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.hxx:28
+    GtvLokDialog parent GtkDialog
+libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.hxx:33
+    GtvLokDialogClass parentClass GtkDialogClass
+libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.hxx:28
+    GtvMainToolbar parent GtkBox
+libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.hxx:36
+    GtvMainToolbarClass parentClass GtkBoxClass
+lingucomponent/source/languageguessing/simpleguesser.cxx:79
+    textcat_t maxsize uint4
+lingucomponent/source/languageguessing/simpleguesser.cxx:81
+    textcat_t output char [1024]
+lotuswordpro/source/filter/bento.hxx:352
+    OpenStormBento::CBenNamedObject cNameListElmt class OpenStormBento::CBenNamedObjectListElmt
+lotuswordpro/source/filter/clone.hxx:23
+    detail::has_clone::(anonymous) a char [2]
+oox/source/drawingml/diagram/diagramlayoutatoms.hxx:188
+    oox::drawingml::ConditionAtom maIter struct oox::drawingml::IteratorAttr
+oox/source/drawingml/diagram/layoutnodecontext.cxx:83
+    oox::drawingml::AlgorithmContext mnRevision sal_Int32
+oox/source/drawingml/diagram/layoutnodecontext.cxx:125
+    oox::drawingml::ChooseContext msName class rtl::OUString
+oox/source/drawingml/hyperlinkcontext.hxx:43
+    oox::drawingml::HyperLinkContext maProperties class oox::PropertyMap &
+oox/source/ppt/timenodelistcontext.cxx:156
+    oox::ppt::MediaNodeContext mbIsNarration _Bool
+oox/source/ppt/timenodelistcontext.cxx:157
+    oox::ppt::MediaNodeContext mbFullScrn _Bool
+oox/source/ppt/timenodelistcontext.cxx:366
+    oox::ppt::SequenceTimeNodeContext mbConcurrent _Bool
+oox/source/ppt/timenodelistcontext.cxx:590
+    oox::ppt::AnimContext mnValueType sal_Int32
+oox/source/ppt/timenodelistcontext.cxx:671
+    oox::ppt::AnimScaleContext mbZoomContents _Bool
+oox/source/ppt/timenodelistcontext.cxx:811
+    oox::ppt::AnimMotionContext msPtsTypes class rtl::OUString
+oox/source/ppt/timenodelistcontext.cxx:812
+    oox::ppt::AnimMotionContext mnPathEditMode sal_Int32
+oox/source/ppt/timenodelistcontext.cxx:813
+    oox::ppt::AnimMotionContext mnAngle sal_Int32
+opencl/source/openclwrapper.cxx:305
+    openclwrapper::(anonymous namespace)::OpenCLEnv mpOclCmdQueue cl_command_queue [1]
+pyuno/source/module/pyuno_impl.hxx:224
+    pyuno::(anonymous) ob_base PyObject
+pyuno/source/module/pyuno_impl.hxx:324
+    pyuno::stRuntimeImpl ob_base PyObject
+reportdesign/source/core/api/ReportDefinition.cxx:240
+    reportdesign::OStyle m_aSize awt::Size
+sal/osl/unx/thread.cxx:90
+    osl_thread_priority_st m_Highest int
+sal/osl/unx/thread.cxx:91
+    osl_thread_priority_st m_Above_Normal int
+sal/osl/unx/thread.cxx:92
+    osl_thread_priority_st m_Normal int
+sal/osl/unx/thread.cxx:93
+    osl_thread_priority_st m_Below_Normal int
+sal/osl/unx/thread.cxx:94
+    osl_thread_priority_st m_Lowest int
+sal/osl/unx/thread.cxx:112
+    osl_thread_global_st m_priority struct osl_thread_priority_st
+sal/qa/osl/process/osl_process.cxx:159
+    Test_osl_executeProcess env_param_ const class rtl::OUString
+sal/textenc/textenc.cxx:406
+    (anonymous namespace)::FullTextEncodingData module_ osl::Module
+sc/inc/column.hxx:128
+    ScColumn maCellsEvent sc::CellStoreEvent
+sc/inc/compiler.hxx:261
+    ScCompiler::AddInMap pODFF const char *
+sc/inc/compiler.hxx:262
+    ScCompiler::AddInMap pEnglish const char *
+sc/inc/compiler.hxx:264
+    ScCompiler::AddInMap pUpper const char *
+sc/inc/formulalogger.hxx:42
+    sc::FormulaLogger maMessages std::vector<OUString>
+sc/inc/interpretercontext.hxx:23
+    ScInterpreterContext mrDoc const class ScDocument &
+sc/inc/token.hxx:399
+    SingleDoubleRefModifier aDub struct ScComplexRefData
+sc/qa/unit/ucalc_column.cxx:104
+    aInputs aName const char *
+sc/source/core/data/document.cxx:1248
+    (anonymous namespace)::BroadcastRecalcOnRefMoveHandler aSwitch sc::AutoCalcSwitch
+sc/source/core/data/document.cxx:1249
+    (anonymous namespace)::BroadcastRecalcOnRefMoveHandler aBulk class ScBulkBroadcast
+sc/source/filter/inc/htmlpars.hxx:614
+    ScHTMLQueryParser mnUnusedId ScHTMLTableId
+sc/source/filter/inc/sheetdatacontext.hxx:61
+    oox::xls::SheetDataContext aReleaser class SolarMutexReleaser
+sc/source/filter/inc/xetable.hxx:1017
+    XclExpCellTable maArrayBfr class XclExpArrayBuffer
+sc/source/filter/inc/xetable.hxx:1018
+    XclExpCellTable maShrfmlaBfr class XclExpShrfmlaBuffer
+sc/source/filter/inc/xiescher.hxx:1202
+    XclImpDffPropSet maDummyStrm class SvMemoryStream
+sc/source/filter/inc/xihelper.hxx:329
+    XclImpCachedValue mxTokArr XclImpCachedValue::ScTokenArrayPtr
+sc/source/filter/inc/xistream.hxx:170
+    XclImpBiff8StdDecrypter maCodec ::msfilter::MSCodec_Std97
+sc/source/filter/inc/xistream.hxx:192
+    XclImpBiff8CryptoAPIDecrypter maCodec ::msfilter::MSCodec_CryptoAPI
+sc/source/filter/oox/worksheethelper.cxx:388
+    oox::xls::WorksheetGlobals mxProgressBar oox::ISegmentProgressBarRef
+sc/source/filter/xml/xmldrani.hxx:75
+    ScXMLDatabaseRangeContext bIsSelection _Bool
+sc/source/filter/xml/xmlexternaltabi.hxx:112
+    ScXMLExternalRefCellContext mnCellType sal_Int16
+sc/source/ui/inc/acredlin.hxx:58
+    ScAcceptChgDlg aReOpenIdle class Idle
+sc/source/ui/inc/anyrefdg.hxx:119
+    ScRefHandler m_aIdle class Idle
+sc/source/ui/inc/msgpool.hxx:37
+    ScMessagePool aGlobalStringItem class SfxStringItem
+sc/source/ui/inc/msgpool.hxx:38
+    ScMessagePool aGlobalSearchItem class SvxSearchItem
+sc/source/ui/inc/msgpool.hxx:39
+    ScMessagePool aGlobalSortItem class ScSortItem
+sc/source/ui/inc/msgpool.hxx:40
+    ScMessagePool aGlobalQueryItem class ScQueryItem
+sc/source/ui/inc/msgpool.hxx:41
+    ScMessagePool aGlobalSubTotalItem class ScSubTotalItem
+sc/source/ui/inc/msgpool.hxx:42
+    ScMessagePool aGlobalConsolidateItem class ScConsolidateItem
+sc/source/ui/inc/msgpool.hxx:43
+    ScMessagePool aGlobalPivotItem class ScPivotItem
+sc/source/ui/inc/msgpool.hxx:44
+    ScMessagePool aGlobalSolveItem class ScSolveItem
+sc/source/ui/inc/msgpool.hxx:45
+    ScMessagePool aGlobalUserListItem class ScUserListItem
+sc/source/ui/inc/msgpool.hxx:46
+    ScMessagePool aCondFormatDlgItem class ScCondFormatDlgItem
+sc/source/ui/inc/notemark.hxx:43
+    ScNoteMarker m_aTimer class Timer
+sc/source/ui/inc/sortkeydlg.hxx:46
+    ScSortKeyWindow m_nItemHeight sal_Int32
+sccomp/source/solver/DifferentialEvolution.hxx:35
+    DifferentialEvolutionAlgorithm maRandomDevice std::random_device
+sccomp/source/solver/ParticelSwarmOptimization.hxx:56
+    ParticleSwarmOptimizationAlgorithm maRandomDevice std::random_device
+scripting/source/stringresource/stringresource.cxx:1345
+    stringresource::BinaryInput m_aData Sequence<sal_Int8>
+sd/inc/anminfo.hxx:52
+    SdAnimationInfo maSecondSoundFile class rtl::OUString
+sd/source/filter/eppt/epptbase.hxx:347
+    PPTWriterBase maFraction class Fraction
+sd/source/filter/ppt/pptin.hxx:82
+    SdPPTImport maParam struct PowerPointImportParam
+sd/source/ui/inc/AccessibleDocumentViewBase.hxx:262
+    accessibility::AccessibleDocumentViewBase maViewForwarder class accessibility::AccessibleViewForwarder
+sd/source/ui/remotecontrol/Receiver.hxx:36
+    sd::Receiver pTransmitter class sd::Transmitter *
+sd/source/ui/remotecontrol/ZeroconfService.hxx:36
+    sd::ZeroconfService port uint
+sd/source/ui/table/TableDesignPane.hxx:106
+    sd::TableDesignPane aImpl class sd::TableDesignWidget
+sd/source/ui/view/DocumentRenderer.cxx:1321
+    sd::DocumentRenderer::Implementation mxObjectShell SfxObjectShellRef
+sd/source/ui/view/viewshel.cxx:1215
+    sd::KeepSlideSorterInSyncWithPageChanges m_aDrawLock sd::slidesorter::view::class SlideSorterView::DrawLock
+sd/source/ui/view/viewshel.cxx:1216
+    sd::KeepSlideSorterInSyncWithPageChanges m_aModelLock sd::slidesorter::controller::class SlideSorterController::ModelChangeLock
+sd/source/ui/view/viewshel.cxx:1217
+    sd::KeepSlideSorterInSyncWithPageChanges m_aUpdateLock sd::slidesorter::controller::class PageSelector::UpdateLock
+sd/source/ui/view/viewshel.cxx:1218
+    sd::KeepSlideSorterInSyncWithPageChanges m_aContext sd::slidesorter::controller::class SelectionObserver::Context
+sfx2/source/doc/doctempl.cxx:114
+    DocTempl::DocTempl_EntryData_Impl mxObjShell class SfxObjectShellLock
+slideshow/source/engine/animationnodes/animationbasenode.hxx:89
+    slideshow::internal::AnimationBaseNode mpSubsetManager slideshow::internal::SubsettableShapeManagerSharedPtr
+slideshow/source/engine/opengl/TransitionImpl.hxx:296
+    Vertex normal glm::vec3
+slideshow/source/engine/opengl/TransitionImpl.hxx:297
+    Vertex texcoord glm::vec2
+slideshow/source/engine/smilfunctionparser.cxx:498
+    slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition multiplicativeExpression ::boost::spirit::rule<ScannerT>
+slideshow/source/engine/smilfunctionparser.cxx:499
+    slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition unaryExpression ::boost::spirit::rule<ScannerT>
+slideshow/source/engine/smilfunctionparser.cxx:500
+    slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition basicExpression ::boost::spirit::rule<ScannerT>
+slideshow/source/engine/smilfunctionparser.cxx:501
+    slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition unaryFunction ::boost::spirit::rule<ScannerT>
+slideshow/source/engine/smilfunctionparser.cxx:502
+    slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition binaryFunction ::boost::spirit::rule<ScannerT>
+slideshow/source/engine/smilfunctionparser.cxx:503
+    slideshow::internal::(anonymous namespace)::ExpressionGrammar::definition identifier ::boost::spirit::rule<ScannerT>
+starmath/inc/view.hxx:218
+    SmViewShell maGraphicController class SmGraphicController
+starmath/source/accessibility.hxx:273
+    SmEditSource rEditAcc class SmEditAccessible &
+svgio/inc/svgcharacternode.hxx:89
+    svgio::svgreader::SvgTextPosition maY ::std::vector<double>
+svl/source/crypto/cryptosign.cxx:120
+    (anonymous namespace)::(anonymous) extnID SECItem
+svl/source/crypto/cryptosign.cxx:121
+    (anonymous namespace)::(anonymous) critical SECItem
+svl/source/crypto/cryptosign.cxx:122
+    (anonymous namespace)::(anonymous) extnValue SECItem
+svl/source/crypto/cryptosign.cxx:280
+    (anonymous namespace)::(anonymous) statusString SECItem
+svl/source/crypto/cryptosign.cxx:281
+    (anonymous namespace)::(anonymous) failInfo SECItem
+svtools/source/inc/svimpbox.hxx:125
+    SvImpLBox aFctSet class ImpLBSelEng
+svtools/source/svhtml/htmlkywd.cxx:558
+    HTML_OptionEntry  union HTML_OptionEntry::(anonymous at /home/noel/libo/svtools/source/svhtml/htmlkywd.cxx:558:5)
+svtools/source/svhtml/htmlkywd.cxx:560
+    HTML_OptionEntry::(anonymous) sToken const sal_Char *
+svtools/source/svhtml/htmlkywd.cxx:561
+    HTML_OptionEntry::(anonymous) pUToken const class rtl::OUString *
+svx/inc/GalleryControl.hxx:47
+    svx::sidebar::GalleryControl mpGallery class Gallery *
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1082
+    (anonymous namespace)::ExpressionGrammar::definition multiplicativeExpression ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1083
+    (anonymous namespace)::ExpressionGrammar::definition unaryExpression ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1084
+    (anonymous namespace)::ExpressionGrammar::definition basicExpression ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1085
+    (anonymous namespace)::ExpressionGrammar::definition unaryFunction ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1086
+    (anonymous namespace)::ExpressionGrammar::definition binaryFunction ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1087
+    (anonymous namespace)::ExpressionGrammar::definition ternaryFunction ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1088
+    (anonymous namespace)::ExpressionGrammar::definition funcRef_decl ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1089
+    (anonymous namespace)::ExpressionGrammar::definition functionReference ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1090
+    (anonymous namespace)::ExpressionGrammar::definition modRef_decl ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1091
+    (anonymous namespace)::ExpressionGrammar::definition modifierReference ::boost::spirit::rule<ScannerT>
+svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx:1092
+    (anonymous namespace)::ExpressionGrammar::definition identifier ::boost::spirit::rule<ScannerT>
+svx/source/dialog/framelinkarray.cxx:377
+    svx::frame::MergedCellIterator mnFirstRow size_t
+svx/source/dialog/imapwnd.hxx:78
+    IMapWindow maItemInfos struct SfxItemInfo [1]
+svx/source/dialog/orienthelper.cxx:36
+    svx::OrientationHelper_Impl mrCtrlDial class svx::DialControl &
+svx/source/gallery2/galbrws2.cxx:116
+    (anonymous namespace)::GalleryThemePopup maBuilder class VclBuilder
+svx/source/stbctrls/pszctrl.cxx:93
+    FunctionPopup_Impl m_aBuilder class VclBuilder
+svx/source/stbctrls/selctrl.cxx:37
+    SelectionTypePopup m_aBuilder class VclBuilder
+svx/source/stbctrls/zoomctrl.cxx:55
+    ZoomPopup_Impl m_aBuilder class VclBuilder
+svx/source/svdraw/svdcrtv.cxx:49
+    ImplConnectMarkerOverlay maObjects sdr::overlay::OverlayObjectList
+svx/source/svdraw/svdopath.cxx:93
+    ImpSdrPathDragData bIsPrevControl _Bool
+svx/source/xml/xmleohlp.cxx:71
+    OutputStorageWrapper_Impl aTempFile class utl::TempFile
+sw/inc/unosett.hxx:144
+    SwXNumberingRules m_pImpl ::sw::UnoImplPtr<Impl>
+sw/qa/core/test_ToxTextGenerator.cxx:134
+    ToxTextGeneratorWithMockedChapterField mChapterFieldType class SwChapterFieldType
+sw/qa/extras/uiwriter/uiwriter.cxx:3995
+    IdleTask maIdle class Idle
+sw/source/core/crsr/crbm.cxx:64
+    (anonymous namespace)::CursorStateHelper m_aSaveState class SwCursorSaveState
+sw/source/core/inc/swfont.hxx:977
+    SvStatistics nGetStretchTextSize sal_uInt16
+sw/source/core/layout/dbg_lay.cxx:169
+    SwImplEnterLeave nAction enum DbgAction
+sw/source/core/text/inftxt.hxx:683
+    SwTextSlot aText class rtl::OUString
+sw/source/core/text/porfld.cxx:142
+    SwFieldSlot aText class rtl::OUString
+sw/source/filter/html/htmlcss1.cxx:77
+    SwCSS1ItemIds nFormatBreak sal_uInt16
+sw/source/filter/html/htmlcss1.cxx:78
+    SwCSS1ItemIds nFormatPageDesc sal_uInt16
+sw/source/filter/html/htmlcss1.cxx:79
+    SwCSS1ItemIds nFormatKeep sal_uInt16
+sw/source/ui/dbui/mmaddressblockpage.hxx:212
+    SwCustomizeAddressBlockDialog m_aTextFilter class TextFilter
+sw/source/uibase/docvw/romenu.hxx:35
+    SwReadOnlyPopup m_aBuilder class VclBuilder
+sw/source/uibase/inc/chrdlg.hxx:43
+    SwCharDlg m_nCharUrlId sal_uInt16
+sw/source/uibase/inc/chrdlg.hxx:45
+    SwCharDlg m_nCharBrdId sal_uInt16
+sw/source/uibase/inc/cption.hxx:56
+    SwCaptionDialog m_aTextFilter class TextFilterAutoConvert
+sw/source/uibase/inc/glossary.hxx:95
+    SwGlossaryDlg m_aNoSpaceFilter class TextFilter
+sw/source/uibase/inc/olmenu.hxx:77
+    SwSpellPopup m_aBuilder class VclBuilder
+sw/source/uibase/inc/olmenu.hxx:86
+    SwSpellPopup m_nLangParaMenuId sal_uInt16
+sw/source/uibase/inc/regionsw.hxx:256
+    SwInsertSectionTabDialog m_nNotePageId sal_uInt16
+sw/source/uibase/inc/regionsw.hxx:276
+    SwSectionPropertyTabDialog m_nNotePageId sal_uInt16
+sw/source/uibase/inc/uivwimp.hxx:95
+    SwView_Impl xTmpSelDocSh class SfxObjectShellLock
+sw/source/uibase/inc/unodispatch.hxx:46
+    SwXDispatchProviderInterceptor::DispatchMutexLock_Impl aGuard class SolarMutexGuard
+toolkit/source/awt/stylesettings.cxx:90
+    toolkit::StyleMethodGuard m_aGuard class SolarMutexGuard
+ucb/source/ucp/gio/gio_mount.hxx:46
+    OOoMountOperationClass parent_class GMountOperationClass
+ucb/source/ucp/gio/gio_mount.hxx:49
+    OOoMountOperationClass _gtk_reserved1 void (*)(void)
+ucb/source/ucp/gio/gio_mount.hxx:50
+    OOoMountOperationClass _gtk_reserved2 void (*)(void)
+ucb/source/ucp/gio/gio_mount.hxx:51
+    OOoMountOperationClass _gtk_reserved3 void (*)(void)
+ucb/source/ucp/gio/gio_mount.hxx:52
+    OOoMountOperationClass _gtk_reserved4 void (*)(void)
+unotools/source/config/defaultoptions.cxx:93
+    SvtDefaultOptions_Impl m_aUserDictionaryPath class rtl::OUString
+vcl/headless/svpgdi.cxx:287
+    (anonymous namespace)::SourceHelper aTmpBmp class SvpSalBitmap
+vcl/inc/canvasbitmap.hxx:44
+    vcl::unotools::VclCanvasBitmap m_aAlpha ::Bitmap
+vcl/inc/graphic/Manager.hxx:42
+    vcl::graphic::Manager maSwapOutTimer class Timer
+vcl/inc/opengl/RenderList.hxx:29
+    Vertex color glm::vec4
+vcl/inc/opengl/RenderList.hxx:30
+    Vertex lineData glm::vec4
+vcl/inc/opengl/zone.hxx:46
+    OpenGLVCLContextZone aZone class OpenGLZone
+vcl/inc/salmenu.hxx:42
+    SalMenuButtonItem mnId sal_uInt16
+vcl/inc/salmenu.hxx:43
+    SalMenuButtonItem maImage class Image
+vcl/inc/salmenu.hxx:44
+    SalMenuButtonItem maToolTipText class rtl::OUString
+vcl/inc/unx/i18n_ic.hxx:41
+    SalI18N_InputContext maPreeditStartCallback XIMCallback
+vcl/inc/unx/i18n_ic.hxx:42
+    SalI18N_InputContext maPreeditDoneCallback XIMCallback
+vcl/inc/unx/i18n_ic.hxx:43
+    SalI18N_InputContext maPreeditDrawCallback XIMCallback
+vcl/inc/unx/i18n_ic.hxx:44
+    SalI18N_InputContext maPreeditCaretCallback XIMCallback
+vcl/inc/unx/i18n_ic.hxx:45
+    SalI18N_InputContext maCommitStringCallback XIMCallback
+vcl/inc/unx/i18n_ic.hxx:46
+    SalI18N_InputContext maSwitchIMCallback XIMCallback
+vcl/inc/unx/i18n_ic.hxx:47
+    SalI18N_InputContext maDestroyCallback XIMCallback
+vcl/inc/unx/i18n_xkb.hxx:32
+    SalI18N_KeyboardExtension mnErrorBase int
+vcl/source/app/salvtables.cxx:1249
+    SalInstanceEntry m_aTextFilter class SalInstanceEntry::WeldTextFilter
+vcl/source/gdi/jobset.cxx:34
+    ImplOldJobSetupData cDeviceName char [32]
+vcl/source/gdi/jobset.cxx:35
+    ImplOldJobSetupData cPortName char [32]
+vcl/unx/gtk3/gtk3gtkinst.cxx:2166
+    CrippledViewport viewport GtkViewport
+vcl/unx/gtk/a11y/atkhypertext.cxx:29
+    (anonymous) atk_hyper_link AtkHyperlink
+vcl/unx/gtk/a11y/atkwrapper.hxx:49
+    AtkObjectWrapper aParent AtkObject
+vcl/unx/gtk/a11y/atkwrapper.hxx:80
+    AtkObjectWrapperClass aParentClass AtkObjectClass
+vcl/unx/gtk/gloactiongroup.cxx:28
+    GLOAction parent_instance GObject
+vcl/unx/gtk/glomenu.cxx:20
+    GLOMenu parent_instance GMenuModel
+writerfilter/source/dmapper/PropertyMap.hxx:198
+    writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32
+xmloff/source/draw/ximpstyl.hxx:144
+    SdXMLPresentationPageLayoutContext msName class rtl::OUString
+xmloff/source/text/XMLTextListBlockContext.hxx:35
+    XMLTextListBlockContext msListStyleName class rtl::OUString
+xmloff/source/text/XMLTextListBlockContext.hxx:41
+    XMLTextListBlockContext mbSetDefaults _Bool
diff --git a/compilerplugins/clang/unusedfields.readonly.results b/compilerplugins/clang/unusedfields.readonly.results
index 3991d81d2035..bdef9f1e915a 100644
--- a/compilerplugins/clang/unusedfields.readonly.results
+++ b/compilerplugins/clang/unusedfields.readonly.results
@@ -92,6 +92,10 @@ connectivity/source/inc/TConnection.hxx:55
     connectivity::OMetaConnection m_aResources class connectivity::SharedResources
 connectivity/source/inc/writer/WTable.hxx:69
     connectivity::writer::OWriterTable m_nStartCol sal_Int32
+cppcanvas/source/mtfrenderer/textaction.cxx:827
+    cppcanvas::internal::(anonymous namespace)::EffectTextAction maTextFillColor const ::Color
+cppcanvas/source/mtfrenderer/textaction.cxx:1663
+    cppcanvas::internal::(anonymous namespace)::OutlineAction maTextFillColor const ::Color
 cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx:34
     Mapping m_from uno::Environment
 cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx:35
@@ -310,8 +314,20 @@ include/svl/ondemand.hxx:58
     OnDemandLocaleDataWrapper aSysLocale class SvtSysLocale
 include/svtools/editsyntaxhighlighter.hxx:33
     MultiLineEditSyntaxHighlight m_aColorConfig svtools::ColorConfig
-include/svtools/valueset.hxx:442
-    SvtValueSet maHighlightHdl Link<class SvtValueSet *, void>
+include/svtools/valueset.hxx:440
+    SvtValueSet maSelectHdl Link<class SvtValueSet *, void>
+include/svx/dialcontrol.hxx:164
+    svx::SvxDialControl m_aText class rtl::OUString
+include/svx/dialcontrol.hxx:207
+    svx::SvxDialControl::DialControl_Impl maModifyHdl Link<class svx::SvxDialControl *, void>
+include/svx/paraprev.hxx:118
+    ParaPrevWindow nFirstLineOfst short
+include/svx/paraprev.hxx:120
+    ParaPrevWindow nUpper sal_uInt16
+include/svx/paraprev.hxx:121
+    ParaPrevWindow nLower sal_uInt16
+include/svx/paraprev.hxx:127
+    ParaPrevWindow eLine enum SvxPrevLineSpace
 include/svx/sdr/overlay/overlayanimatedbitmapex.hxx:51
     sdr::overlay::OverlayAnimatedBitmapEx mbOverlayState _Bool
 include/svx/sdr/overlay/overlaymanager.hxx:73
@@ -324,6 +340,10 @@ include/svx/svdoedge.hxx:161
     SdrEdgeObj mbBoundRectCalculationRunning _Bool
 include/svx/svdpntv.hxx:170
     SdrPaintView maDrawinglayerOpt class SvtOptionsDrawinglayer
+include/svx/swframeexample.hxx:119
+    SwFrameExample nWrap css::text::WrapTextMode
+include/svx/swframeexample.hxx:121
+    SwFrameExample bTrans _Bool
 include/test/sheet/xdatapilottable.hxx:31
     apitest::XDataPilotTable xCellForChange css::uno::Reference<css::table::XCell>
 include/test/sheet/xdatapilottable.hxx:32
@@ -516,8 +536,6 @@ svtools/source/control/headbar.cxx:39
     ImplHeadItem maImage class Image
 svtools/source/control/tabbar.cxx:207
     ImplTabBarItem maHelpId class rtl::OString
-svtools/source/control/valueimp.hxx:78
-    SvtValueSetItem maImage class Image
 svtools/source/dialogs/insdlg.cxx:46
     OleObjectDescriptor cbSize sal_uInt32
 svtools/source/dialogs/insdlg.cxx:47
@@ -598,8 +616,18 @@ sw/source/uibase/inc/fldmgr.hxx:77
     SwInsertField_Data m_aDBDataSource css::uno::Any
 sw/source/uibase/inc/labimg.hxx:49
     SwLabItem m_aBin class rtl::OUString
+sw/source/uibase/inc/numprevw.hxx:31
+    NumberingPreview pActNum const class SwNumRule *
+sw/source/uibase/inc/numprevw.hxx:33
+    NumberingPreview nPageWidth long
+sw/source/uibase/inc/numprevw.hxx:34
+    NumberingPreview pOutlineNames const class rtl::OUString *
+sw/source/uibase/inc/numprevw.hxx:35
+    NumberingPreview bPosition _Bool
 sw/source/uibase/inc/optload.hxx:94
     CaptionComboBox aDefault class rtl::OUString
+sw/source/uibase/inc/prcntfld.hxx:111
+    SwPercentField bLockAutoCalculation _Bool
 toolkit/source/awt/vclxtoolkit.cxx:433
     (anonymous namespace)::VCLXToolkit mxSelection css::uno::Reference<css::datatransfer::clipboard::XClipboard>
 ucb/source/ucp/gio/gio_mount.hxx:46
@@ -726,9 +754,7 @@ vcl/source/gdi/dibtools.cxx:116
     (anonymous namespace)::DIBV5Header nV5ProfileSize sal_uInt32
 vcl/source/gdi/dibtools.cxx:117
     (anonymous namespace)::DIBV5Header nV5Reserved sal_uInt32
-vcl/source/gdi/pdfwriter_impl.hxx:149
-    vcl::PDFWriterImpl::PDFPage m_nDuration sal_uInt32
-vcl/source/gdi/pdfwriter_impl.hxx:302
+vcl/source/gdi/pdfwriter_impl.hxx:301
     vcl::PDFWriterImpl::TransparencyEmit m_pSoftMaskStream std::unique_ptr<SvMemoryStream>
 vcl/source/window/menuitemlist.hxx:55
     MenuItemData aAccessibleName class rtl::OUString
diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results
index 8327a541b2d5..e87e298f7c70 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -20,7 +20,7 @@ canvas/source/vcl/canvasbitmap.hxx:117
     vclcanvas::CanvasBitmap mxDevice css::uno::Reference<css::rendering::XGraphicDevice>
 canvas/source/vcl/impltools.hxx:117
     vclcanvas::tools::LocalGuard aSolarGuard class SolarMutexGuard
-chart2/source/controller/inc/RangeSelectionListener.hxx:62
+chart2/source/controller/inc/RangeSelectionListener.hxx:63
     chart::RangeSelectionListener m_aControllerLockGuard class chart::ControllerLockGuardUNO
 chart2/source/view/inc/GL3DRenderer.hxx:54
     chart::opengl3D::MaterialParameters pad float
@@ -50,7 +50,7 @@ cui/source/dialogs/colorpicker.cxx:721
     cui::ColorPickerDialog m_xColorField std::unique_ptr<weld::CustomWeld>
 cui/source/dialogs/colorpicker.cxx:723
     cui::ColorPickerDialog m_xColorPreview std::unique_ptr<weld::CustomWeld>
-cui/source/inc/cfg.hxx:577
+cui/source/inc/cfg.hxx:576
     SvxNewToolbarDialog m_xBtnOK std::unique_ptr<weld::Button>
 cui/source/inc/cuicharmap.hxx:104
     SvxCharacterMap m_xShowChar std::unique_ptr<weld::CustomWeld>
@@ -246,8 +246,6 @@ svl/source/crypto/cryptosign.cxx:280
     (anonymous namespace)::(anonymous) statusString SECItem
 svl/source/crypto/cryptosign.cxx:281
     (anonymous namespace)::(anonymous) failInfo SECItem
-svtools/source/control/valueimp.hxx:81
-    SvtValueSetItem mpData void *
 svtools/source/svhtml/htmlkywd.cxx:558
     HTML_OptionEntry  union HTML_OptionEntry::(anonymous at /home/noel/libo/svtools/source/svhtml/htmlkywd.cxx:558:5)
 svtools/source/svhtml/htmlkywd.cxx:560
@@ -278,7 +276,7 @@ sw/source/uibase/inc/num.hxx:82
     SwNumPositionTabPage m_xPreviewWIN std::unique_ptr<weld::CustomWeld>
 sw/source/uibase/inc/outline.hxx:98
     SwOutlineSettingsTabPage m_xPreviewWIN std::unique_ptr<weld::CustomWeld>
-sw/source/uibase/inc/regionsw.hxx:234
+sw/source/uibase/inc/regionsw.hxx:233
     SwSectionIndentTabPage m_xPreviewWin std::unique_ptr<weld::CustomWeld>
 sw/source/uibase/inc/splittbl.hxx:30
     SwSplitTableDlg m_xHorzBox std::unique_ptr<weld::RadioButton>
diff --git a/compilerplugins/clang/unusedfields.writeonly.results b/compilerplugins/clang/unusedfields.writeonly.results
index 4f82504c4f67..8087001fff19 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -154,8 +154,6 @@ cppuhelper/source/access_control.cxx:80
     cppu::(anonymous namespace)::permission m_str1 rtl_uString *
 cppuhelper/source/access_control.cxx:81
     cppu::(anonymous namespace)::permission m_str2 rtl_uString *
-cui/source/inc/cfg.hxx:497
-    SvxMainMenuOrganizerDialog bModified _Bool
 cui/source/inc/cuihyperdlg.hxx:57
     SvxHlinkCtrl aRdOnlyForwarder class SfxStatusForwarder
 cui/source/inc/cuihyperdlg.hxx:77
@@ -250,16 +248,10 @@ include/opencl/platforminfo.hxx:30
     OpenCLDeviceInfo mnComputeUnits size_t
 include/opencl/platforminfo.hxx:31
     OpenCLDeviceInfo mnFrequency size_t
-include/svtools/valueset.hxx:429
-    SvtValueSet mnHighItemId sal_uInt16
 include/svx/bmpmask.hxx:130
     SvxBmpMask aSelItem class SvxBmpMaskSelectItem
-include/svx/float3d.hxx:177
-    Svx3DWin pControllerItem class Svx3DCtrlItem *
 include/svx/imapdlg.hxx:118
     SvxIMapDlg aIMapItem class SvxIMapDlgItem
-include/svx/svdmodel.hxx:187
-    SdrModel bExtColorTable _Bool
 include/vcl/opengl/OpenGLContext.hxx:41
     GLWindow bMultiSampleSupported _Bool
 include/vcl/salnativewidgets.hxx:415
@@ -284,15 +276,15 @@ lingucomponent/source/languageguessing/simpleguesser.cxx:79
     textcat_t maxsize uint4
 lingucomponent/source/languageguessing/simpleguesser.cxx:81
     textcat_t output char [1024]
-registry/source/reflread.cxx:488
+registry/source/reflread.cxx:466
     ConstantPool::readDoubleConstant(sal_uInt16)::(anonymous union)::(anonymous) b1 sal_uInt32
-registry/source/reflread.cxx:489
+registry/source/reflread.cxx:467
     ConstantPool::readDoubleConstant(sal_uInt16)::(anonymous union)::(anonymous) b2 sal_uInt32
-registry/source/reflread.cxx:556
+registry/source/reflread.cxx:534
     FieldList m_pCP class ConstantPool *
-registry/source/reflread.cxx:740
+registry/source/reflread.cxx:718
     ReferenceList m_pCP class ConstantPool *
-registry/source/reflread.cxx:841
+registry/source/reflread.cxx:819
     MethodList m_pCP class ConstantPool *
 sal/rtl/alloc_arena.hxx:35
     rtl_arena_stat_type m_mem_total sal_Size
@@ -472,20 +464,20 @@ svx/source/sidebar/line/LinePropertyPanel.hxx:105
     svx::sidebar::LinePropertyPanel maEdgeStyle sfx2::sidebar::ControllerItem
 svx/source/sidebar/line/LinePropertyPanel.hxx:106
     svx::sidebar::LinePropertyPanel maCapStyle sfx2::sidebar::ControllerItem
+svx/source/svdraw/svdpdf.hxx:188
+    ImpSdrPdfImport mbLastObjWasLine _Bool
 svx/source/svdraw/svdpdf.hxx:195
     ImpSdrPdfImport mdPageWidthPts double
 svx/source/table/tablertfimporter.cxx:53
     sdr::table::RTFCellDefault maItemSet class SfxItemSet
+sw/inc/ndgrf.hxx:45
+    SwGrfNode bGraphicArrived _Bool
 sw/inc/shellio.hxx:145
     SwReader aFileName class rtl::OUString
-sw/inc/swbaslnk.hxx:30
-    SwBaseLink m_bInSwapIn _Bool
 sw/source/core/doc/tblafmt.cxx:185
     SwAfVersions m_nVerticalAlignmentVersion sal_uInt16
 sw/source/core/inc/swfont.hxx:977
     SvStatistics nGetStretchTextSize sal_uInt16
-sw/source/core/inc/wrong.hxx:349
-    sw::WrongListIterator m_CurrentNodeIndex TextFrameIndex
 sw/source/core/text/xmldump.cxx:34
     XmlPortionDumper ofs TextFrameIndex
 sw/source/filter/html/htmlcss1.cxx:77
@@ -546,10 +538,12 @@ vcl/inc/salwtype.hxx:212
     SalQueryCharPositionEvent mnCursorBoundWidth long
 vcl/inc/salwtype.hxx:213
     SalQueryCharPositionEvent mnCursorBoundHeight long
-vcl/inc/salwtype.hxx:250
+vcl/inc/salwtype.hxx:248
     SalSwipeEvent mnVelocityY double
 vcl/inc/sft.hxx:462
     vcl::TrueTypeFont mapper sal_uInt32 (*)(const sal_uInt8 *, sal_uInt32, sal_uInt32)
+vcl/inc/unx/gtk/gtkframe.hxx:215
+    GtkSalFrame m_nFloatFlags enum FloatWinPopupFlags
 vcl/opengl/salbmp.cxx:435
     (anonymous namespace)::ScanlineWriter mpCurrentScanline sal_uInt8 *
 vcl/source/filter/graphicfilter.cxx:1008
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index d241c967e544..0aaeb3af9765 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -437,7 +437,6 @@ private:
     OUString        maText;
     WinBits         mnStyle;
     Link<SvtValueSet*,void>  maDoubleClickHdl;
-    Link<SvtValueSet*,void>  maSelectHdl;
 
     bool            mbFormat : 1;
     bool            mbNoSelection : 1;
@@ -488,8 +487,6 @@ public:
     virtual void    StyleUpdated() override;
     virtual OUString RequestHelp(tools::Rectangle& rHelpRect) override;
 
-    void            Select();
-
     OUString        GetText() const { return maText; }
     void            SetText(const OUString& rText) { maText = rText; }
     void            SetStyle(WinBits nStyle) { mnStyle = nStyle; }
diff --git a/include/svx/dialcontrol.hxx b/include/svx/dialcontrol.hxx
index 6a8d3fa5bf7b..a245ea3e6e7e 100644
--- a/include/svx/dialcontrol.hxx
+++ b/include/svx/dialcontrol.hxx
@@ -160,8 +160,6 @@ private:
 
 class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxDialControl : public weld::CustomWidgetController
 {
-private:
-    OUString m_aText;
 public:
     virtual void        SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
 
@@ -177,8 +175,6 @@ public:
 
     virtual void        Resize() override;
 
-    const OUString&     GetText() const { return m_aText; }
-
     /** Returns the current rotation angle in 1/100 degrees. */
     sal_Int32           GetRotation() const;
     /** Sets the rotation to the passed value (in 1/100 degrees). */
@@ -204,7 +200,6 @@ protected:
         ScopedVclPtr<DialControlBmp> mxBmpEnabled;
         ScopedVclPtr<DialControlBmp> mxBmpDisabled;
         ScopedVclPtr<DialControlBmp> mxBmpBuffered;
-        Link<SvxDialControl*,void>      maModifyHdl;
         weld::SpinButton*   mpLinkField;
         sal_Int32           mnLinkedFieldValueMultiplyer;
         Size                maWinSize;
@@ -225,8 +220,6 @@ protected:
     void                HandleMouseEvent( const Point& rPos, bool bInitial );
     void                HandleEscapeEvent();
 
-    void                SetRotation( sal_Int32 nAngle, bool bBroadcast );
-
     void                Init( const Size& rWinSize, const vcl::Font& rWinFont );
     void                Init( const Size& rWinSize );
 
diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx
index 0d359c79033d..abc424e24155 100644
--- a/include/svx/paraprev.hxx
+++ b/include/svx/paraprev.hxx
@@ -115,16 +115,10 @@ class SVX_DLLPUBLIC ParaPrevWindow final : public weld::CustomWidgetController
     // indentation
     long                nLeftMargin;
     long                nRightMargin;
-    short               nFirstLineOfst;
-    // distances
-    sal_uInt16          nUpper;
-    sal_uInt16          nLower;
     // adjustment
     SvxAdjust           eAdjust;
     // last line in justification
     SvxAdjust           eLastLine;
-    // line distance
-    SvxPrevLineSpace    eLine;
 
     tools::Rectangle    Lines[9];
 
diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx
index 6145636ab3a1..ddcc5961b95a 100644
--- a/include/svx/swframeexample.hxx
+++ b/include/svx/swframeexample.hxx
@@ -116,9 +116,7 @@ class SVX_DLLPUBLIC SwFrameExample : public weld::CustomWidgetController
     short       nVAlign;
     short       nVRel;
 
-    css::text::WrapTextMode nWrap;
     RndStdIds   nAnchor;
-    bool        bTrans;
 
     Point       aRelPos;
 
diff --git a/include/xmloff/XMLTextMasterPageContext.hxx b/include/xmloff/XMLTextMasterPageContext.hxx
index eab02ed18899..ca715494dcca 100644
--- a/include/xmloff/XMLTextMasterPageContext.hxx
+++ b/include/xmloff/XMLTextMasterPageContext.hxx
@@ -31,7 +31,6 @@ namespace com { namespace sun { namespace star {
 
 class XMLOFF_DLLPUBLIC XMLTextMasterPageContext : public SvXMLStyleContext
 {
-    const OUString sIsPhysical;
     const OUString sFollowStyle;
     OUString       sFollow;
     OUString       sPageMasterName;
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index 04b953cf26da..371781c8c0f1 100644
--- a/sc/source/ui/dbgui/sortkeydlg.cxx
+++ b/sc/source/ui/dbgui/sortkeydlg.cxx
@@ -39,8 +39,6 @@ void ScSortKeyItem::EnableField()
 ScSortKeyWindow::ScSortKeyWindow(weld::Container* pBox)
     : m_pBox(pBox)
 {
-    ScSortKeyItem aTemp(m_pBox);
-    m_nItemHeight = aTemp.getItemHeight();
 }
 
 ScSortKeyWindow::~ScSortKeyWindow()
diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx
index bf71d46289e7..bd09989e655c 100644
--- a/sc/source/ui/inc/sortkeydlg.hxx
+++ b/sc/source/ui/inc/sortkeydlg.hxx
@@ -43,7 +43,6 @@ public:
     ScSortKeyItems m_aSortKeyItems;
 private:
     weld::Container* m_pBox;
-    sal_Int32 m_nItemHeight;
 
 public:
     ScSortKeyWindow(weld::Container* pBox);
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx
index 1d7f1ce40018..656289c268ec 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -1813,7 +1813,6 @@ void SAL_CALL SvtValueSetAcc::selectAccessibleChild( sal_Int32 nChildIndex )
         throw lang::IndexOutOfBoundsException();
 
     mpParent->SelectItem( pItem->mnId );
-    mpParent->Select ();
 }
 
 
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index a3b1f5e0b624..457ffaba83cb 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -2354,11 +2354,6 @@ void SvtValueSet::ImplDeleteItems()
     mItemList.clear();
 }
 
-void SvtValueSet::Select()
-{
-    maSelectHdl.Call( this );
-}
-
 size_t SvtValueSet::ImplGetItem( const Point& rPos ) const
 {
     if (!mbHasVisibleItems)
@@ -2603,7 +2598,6 @@ bool SvtValueSet::KeyInput( const KeyEvent& rKeyEvent )
         case KEY_RETURN:
             if (GetStyle() & WB_NO_DIRECTSELECT)
             {
-                Select();
                 break;
             }
             SAL_FALLTHROUGH;
@@ -2624,11 +2618,6 @@ bool SvtValueSet::KeyInput( const KeyEvent& rKeyEvent )
     if ( nItemId != mnSelItemId )
     {
         SelectItem( nItemId );
-        if (!(GetStyle() & WB_NO_DIRECTSELECT))
-        {
-            // select only if WB_NO_DIRECTSELECT is not set
-            Select();
-        }
     }
 
     return true;
@@ -2646,7 +2635,6 @@ void SvtValueSet::MouseButtonDown( const MouseEvent& rMouseEvent )
                 SelectItem( pItem->mnId );
                 if (!(GetStyle() & WB_NOPOINTERFOCUS))
                     GrabFocus();
-                Select();
             }
             else if ( rMouseEvent.GetClicks() == 2 )
                 maDoubleClickHdl.Call( this );
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index ce55a72d73a0..7270710e048a 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -626,11 +626,6 @@ sal_Int32 SvxDialControl::GetRotation() const
     return mpImpl->mnAngle;
 }
 
-void SvxDialControl::SetRotation( sal_Int32 nAngle )
-{
-    SetRotation( nAngle, false );
-}
-
 void SvxDialControl::SetLinkedField(weld::SpinButton* pField, sal_Int32 nDecimalPlaces)
 {
     mpImpl->mnLinkedFieldValueMultiplyer = 100 / std::pow(10.0, double(nDecimalPlaces));
@@ -659,7 +654,7 @@ IMPL_LINK_NOARG(SvxDialControl, LinkedFieldModifyHdl, weld::SpinButton&, void)
 void SvxDialControl::LinkedFieldModifyHdl()
 {
     if( mpImpl->mpLinkField )
-        SetRotation(mpImpl->mpLinkField->get_value() * mpImpl->mnLinkedFieldValueMultiplyer, false);
+        SetRotation(mpImpl->mpLinkField->get_value() * mpImpl->mnLinkedFieldValueMultiplyer);
 }
 
 
@@ -696,11 +691,11 @@ void SvxDialControl::InvalidateControl()
 {
     mpImpl->mxBmpBuffered->CopyBackground( IsEnabled() ? *mpImpl->mxBmpEnabled : *mpImpl->mxBmpDisabled );
     if( !mpImpl->mbNoRot )
-        mpImpl->mxBmpBuffered->DrawElements( GetText(), mpImpl->mnAngle );
+        mpImpl->mxBmpBuffered->DrawElements( OUString(), mpImpl->mnAngle );
     Invalidate();
 }
 
-void SvxDialControl::SetRotation( sal_Int32 nAngle, bool bBroadcast )
+void SvxDialControl::SetRotation( sal_Int32 nAngle )
 {
     bool bOldSel = mpImpl->mbNoRot;
     mpImpl->mbNoRot = false;
@@ -714,8 +709,6 @@ void SvxDialControl::SetRotation( sal_Int32 nAngle, bool bBroadcast )
         InvalidateControl();
         if( mpImpl->mpLinkField )
             mpImpl->mpLinkField->set_value(GetRotation() / mpImpl->mnLinkedFieldValueMultiplyer);
-        if( bBroadcast )
-            mpImpl->maModifyHdl.Call( this );
     }
 }
 
@@ -734,7 +727,7 @@ void SvxDialControl::HandleMouseEvent( const Point& rPos, bool bInitial )
             nAngle = ((nAngle + 750) / 1500) * 1500;
         // Round up to 1 degree
         nAngle = (((nAngle + 50) / 100) * 100) % 36000;
-        SetRotation( nAngle, true );
+        SetRotation( nAngle );
     }
 }
 
@@ -743,7 +736,7 @@ void SvxDialControl::HandleEscapeEvent()
     if( IsMouseCaptured() )
     {
         ReleaseMouse();
-        SetRotation( mpImpl->mnOldAngle, true );
+        SetRotation( mpImpl->mnOldAngle );
         if( mpImpl->mpLinkField )
             mpImpl->mpLinkField->grab_focus();
     }
diff --git a/svx/source/dialog/orienthelper.cxx b/svx/source/dialog/orienthelper.cxx
index b08d121706e7..f69831c1d9e5 100644
--- a/svx/source/dialog/orienthelper.cxx
+++ b/svx/source/dialog/orienthelper.cxx
@@ -33,7 +33,6 @@ struct OrientationHelper_Impl
     typedef std::pair< VclPtr<vcl::Window>, TriState >  WindowPair;
     typedef std::vector< WindowPair >       WindowVec;
 
-    DialControl&        mrCtrlDial;
     CheckBox&           mrCbStacked;
     WindowVec           maWinVec;
     bool                mbEnabled;
@@ -53,12 +52,11 @@ struct OrientationHelper_Impl
 
 
 OrientationHelper_Impl::OrientationHelper_Impl( DialControl& rCtrlDial, CheckBox& rCbStacked ) :
-    mrCtrlDial( rCtrlDial ),
     mrCbStacked( rCbStacked ),
     mbEnabled( rCtrlDial.IsEnabled() ),
     mbVisible( rCtrlDial.IsVisible() )
 {
-    maWinVec.emplace_back( &mrCtrlDial, TRISTATE_TRUE );
+    maWinVec.emplace_back( &rCtrlDial, TRISTATE_TRUE );
     maWinVec.emplace_back( &mrCbStacked, TRISTATE_INDET );
     mrCbStacked.SetClickHdl( LINK( this, OrientationHelper_Impl, ClickHdl ) );
 }
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx
index 3a4d2bd14651..d10b11b28688 100644
--- a/svx/source/dialog/paraprev.cxx
+++ b/svx/source/dialog/paraprev.cxx
@@ -214,12 +214,8 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext)
 ParaPrevWindow::ParaPrevWindow() :
     nLeftMargin     ( 0 ),
     nRightMargin    ( 0 ),
-    nFirstLineOfst  ( 0 ),
-    nUpper          ( 0 ),
-    nLower          ( 0 ),
     eAdjust         ( SvxAdjust::Left ),
-    eLastLine       ( SvxAdjust::Left ),
-    eLine           ( SvxPrevLineSpace::N1 )
+    eLastLine       ( SvxAdjust::Left )
 {
     aSize = Size(11905, 16837);
 }
@@ -272,8 +268,6 @@ void ParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext)
         if (i == 3)
         {
             rRenderContext.SetFillColor(COL_GRAY);
-            auto nTop = nUpper * aLineSiz.Height() / aSize.Height();
-            aPnt.AdjustY(nTop * 2 );
         }
 
         if (i == 6 )
@@ -282,45 +276,12 @@ void ParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext)
         if (3 <= i && 6 > i)
         {
             long nLeft = nLeftMargin * aLineSiz.Width() / aSize.Width();
-            long nFirst = nFirstLineOfst * aLineSiz.Width() / aSize.Width();
-            long nTmp = nLeft + nFirst;
-
-            if (i == 3)
-            {
-                aPnt.AdjustX(nTmp );
-                aSiz.AdjustWidth( -nTmp );
-            }
-            else
-            {
-                aPnt.AdjustX(nLeft );
-                aSiz.AdjustWidth( -nLeft );
-            }
+            aPnt.AdjustX(nLeft );
+            aSiz.AdjustWidth( -nLeft );
             long nRight = nRightMargin * aLineSiz.Width() / aSize.Width();
             aSiz.AdjustWidth( -nRight );
         }
 
-        if (4 == i || 5 == i || 6 == i)
-        {
-            switch (eLine)
-            {
-                case SvxPrevLineSpace::N1:
-                    break;
-                case SvxPrevLineSpace::N115:
-                    aPnt.AdjustY(nH / 6.67 ); // 1/.15 = 6.(6)
-                    break;
-                case SvxPrevLineSpace::N15:
-                    aPnt.AdjustY(nH / 2 );
-                    break;
-                case SvxPrevLineSpace::N2:
-                    aPnt.AdjustY(nH );
-                    break;
-                case SvxPrevLineSpace::Prop:
-                case SvxPrevLineSpace::Min:
-                case SvxPrevLineSpace::Leading:
-                    break;
-            }
-        }
-
         aPnt.AdjustY(nH );
 
         if (3 <= i && 5 >= i)
@@ -385,12 +346,6 @@ void ParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext)
         rRenderContext.DrawRect( aRect );
         Lines[i] = aRect;
 
-        if (5 == i)
-        {
-            auto nBottom = nLower * aLineSiz.Height() / aSize.Height();
-            aPnt.AdjustY(nBottom * 2 );
-        }
-
         aPnt.AdjustY(nH );
         // Reset, recalculate for each line
         aPnt.setX( DEF_MARGIN / 2 );
diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx
index 21bf84dc61c0..da8fd7d40a83 100644
--- a/svx/source/dialog/swframeexample.cxx
+++ b/svx/source/dialog/swframeexample.cxx
@@ -721,9 +721,7 @@ SwFrameExample::SwFrameExample()
     , nHRel(RelOrientation::FRAME)
     , nVAlign(VertOrientation::TOP)
     , nVRel(RelOrientation::PRINT_AREA)
-    , nWrap(WrapTextMode_NONE)
     , nAnchor(RndStdIds::FLY_AT_PAGE)
-    , bTrans(false)
     , aRelPos(Point(0,0))
 {
     InitColors_Impl();
@@ -1312,22 +1310,8 @@ void SwFrameExample::Paint(vcl::RenderContext& rRenderContext, const tools::Rect
 
             if (aTxt.IsOver(aFrmRect) && nAnchor != RndStdIds::FLY_AS_CHAR && !bIgnoreWrap)
             {
-                switch(nWrap)
-                {
-                    case WrapTextMode_NONE:
-                        aTxt.SetTop( aFrmRect.Bottom() + nTxtLineHeight );
-                        aTxt.SetBottom( aTxt.Top() + nTxtLineHeight - 1 );
-                        break;
-
-                    case WrapTextMode_LEFT:
-                        aTxt.SetRight( aFrmRect.Left() );
-                        break;
-
-                    case WrapTextMode_RIGHT:
-                        aTxt.SetLeft( aFrmRect.Right() );
-                        break;
-                    default: break;
-                }
+                aTxt.SetTop( aFrmRect.Bottom() + nTxtLineHeight );
+                aTxt.SetBottom( aTxt.Top() + nTxtLineHeight - 1 );
             }
             if (pOuterFrame->IsInside(aTxt))
                 DrawRect_Impl(rRenderContext, aTxt, m_aTxtCol, m_aTransColor );
@@ -1363,7 +1347,7 @@ void SwFrameExample::Paint(vcl::RenderContext& rRenderContext, const tools::Rect
     DrawRect_Impl(rRenderContext, aRect, m_aTransColor, m_aAlignColor);
 
     // Frame View
-    bool bDontFill = (nAnchor == RndStdIds::FLY_AT_CHAR && aFrmRect.IsOver(aAutoCharFrame)) || bTrans;
+    bool bDontFill = (nAnchor == RndStdIds::FLY_AT_CHAR && aFrmRect.IsOver(aAutoCharFrame));
     DrawRect_Impl(rRenderContext, aFrmRect, bDontFill? m_aTransColor : m_aBgCol, m_aFrameColor);
 }
 
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index b61e88ae1a43..631c35a41407 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -90,7 +90,6 @@ struct ImpSdrPathDragData  : public SdrDragStatUserData
     sal_uInt16                  nPrevPrevPnt;   // index of point before previous point
     sal_uInt16                  nNextNextPnt;   // index of point after next point
     bool                        bControl;       // point is a control point
-    bool                        bIsPrevControl; // point is a control point before a support point
     bool                        bIsNextControl; // point is a control point after a support point
     bool                        bPrevIsControl; // if nPnt is a support point: a control point comes before
     bool                        bNextIsControl; // if nPnt is a support point: a control point comes after
@@ -128,7 +127,6 @@ ImpSdrPathDragData::ImpSdrPathDragData(const SdrPathObj& rPO, const SdrHdl& rHdl
     , nPrevPrevPnt(0)
     , nNextNextPnt(0)
     , bControl(false)
-    , bIsPrevControl(false)
     , bIsNextControl(false)
     , bPrevIsControl(false)
     , bNextIsControl(false)
@@ -190,13 +188,11 @@ ImpSdrPathDragData::ImpSdrPathDragData(const SdrPathObj& rPO, const SdrHdl& rHdl
         if (!bPrevIsBegPnt) nPrevPrevPnt=GetPrevPnt(nPrevPnt,nPntMax,bClosed);
         if (!bNextIsEndPnt) nNextNextPnt=GetNextPnt(nNextPnt,nPntMax,bClosed);
         bControl=rHdl.IsPlusHdl();          // point is a control point
-        bIsPrevControl=false;               // point is a control point before a support point
         bIsNextControl=false;               // point is a control point after a support point
         bPrevIsControl=false;               // if nPnt is a support point: a control point comes before
         bNextIsControl=false;               // if nPnt is a support point: a control point comes after
         if (bControl) {
-            bIsPrevControl=aTmpXP.IsControl(nPrevPnt);
-            bIsNextControl=!bIsPrevControl;
+            bIsNextControl=!aTmpXP.IsControl(nPrevPnt);
         } else {
             bPrevIsControl=!bBegPnt && !bPrevIsBegPnt && aTmpXP.GetFlags(nPrevPnt)==PolyFlags::Control;
             bNextIsControl=!bEndPnt && !bNextIsEndPnt && aTmpXP.GetFlags(nNextPnt)==PolyFlags::Control;
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index 800095294a4b..81909736199a 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -141,7 +141,6 @@ ImpSdrPdfImport::ImpSdrPdfImport(SdrModel& rModel, SdrLayerID nLay, const tools:
     , mbLastObjWasPolyWithoutLine(false)
     , mbNoLine(false)
     , mbNoFill(false)
-    , mbLastObjWasLine(false)
     , maClip()
     , mpPdfDocument(nullptr)
     , mnPageCount(0)
@@ -696,12 +695,10 @@ void ImpSdrPdfImport::InsertObj(SdrObject* pObj, bool bScale)
                 const bool bClosed(pObj->IsClosedObj());
 
                 mbLastObjWasPolyWithoutLine = mbNoLine && bClosed;
-                mbLastObjWasLine = !bClosed;
             }
             else
             {
                 mbLastObjWasPolyWithoutLine = false;
-                mbLastObjWasLine = false;
             }
         }
     }
diff --git a/svx/source/svdraw/svdpdf.hxx b/svx/source/svdraw/svdpdf.hxx
index 9b9e81e69dad..48e46be11178 100644
--- a/svx/source/svdraw/svdpdf.hxx
+++ b/svx/source/svdraw/svdpdf.hxx
@@ -184,9 +184,6 @@ class ImpSdrPdfImport final
     bool mbNoLine;
     bool mbNoFill;
 
-    // to optimize multiple lines into a Polyline
-    bool mbLastObjWasLine;
-
     // clipregion
     basegfx::B2DPolyPolygon maClip;
 
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index a2d3ce5b4c08..e44c72e69309 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -42,7 +42,6 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTextNode
     Size nGrfSize;
     bool bInSwapIn              :1;
 
-    bool bGraphicArrived        :1;
     bool bChgTwipSize           :1;
     bool bFrameInPaint          :1; ///< To avoid Start-/EndActions in Paint via SwapIn.
     bool bScaleImageMap         :1; ///< Scale image map in SetTwipSize.
@@ -104,8 +103,6 @@ public:
         bChgTwipSize = b;
     }
 
-    void SetGraphicArrived( bool b )     { bGraphicArrived = b; }
-
     bool IsFrameInPaint() const          { return bFrameInPaint; }
     void SetFrameInPaint( bool b )       { bFrameInPaint = b; }
 
diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx
index e06eaf120a81..1c5af6aabbe1 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -139,8 +139,6 @@ static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
 
         bFrameInPaint = pSwGrfNode->IsFrameInPaint();
 
-        pSwGrfNode->SetGraphicArrived(true);
-
         Graphic aGrf;
 
         if( sfx2::LinkManager::GetGraphicFromAny( rMimeType, rValue, aGrf ) &&
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 635e0f8d80cd..00e63f64a918 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -76,7 +76,6 @@ SwGrfNode::SwGrfNode(
     bInSwapIn = bChgTwipSize =
         bFrameInPaint = bScaleImageMap = false;
 
-    bGraphicArrived = true;
     ReRead(rGrfName, rFltName, pGraphic, false);
 }
 
@@ -93,7 +92,6 @@ SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere,
 {
     bInSwapIn = bChgTwipSize  =
         bFrameInPaint = bScaleImageMap = false;
-    bGraphicArrived = true;
 }
 
 /** Create new SW/G reader.
@@ -119,7 +117,6 @@ SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere,
 
     bInSwapIn = bChgTwipSize =
         bFrameInPaint = bScaleImageMap = false;
-    bGraphicArrived = false;
 
     InsertLink( rGrfName, rFltName );
     if( IsLinkedFile() )
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index bd66fa969d03..f5ea3b36cee0 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -867,194 +867,6 @@ void NumberingPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Re
     pVDev->SetLineColor(rRenderContext.GetSettings().GetStyleSettings().GetButtonTextColor());
     pVDev->DrawRect(tools::Rectangle(Point(0,0), aSize));
 
-    if (pActNum)
-    {
-        long nWidthRelation = 30; // chapter dialog
-        if(nPageWidth)
-        {
-            nWidthRelation = nPageWidth / aSize.Width();
-            if(bPosition)
-                nWidthRelation = nWidthRelation * 2 / 3;
-            else
-                nWidthRelation = nWidthRelation / 4;
-        }
-
-        // height per level
-        const long nXStep = aSize.Width() / (3 * MAXLEVEL * ((MAXLEVEL < 10) ? 2 : 1));
-        const long nYStep = (aSize.Height() - 6)/ MAXLEVEL;
-        long nYStart = 4;
-        aStdFont = OutputDevice::GetDefaultFont(DefaultFontType::UI_SANS, GetAppLanguage(),
-                                                GetDefaultFontFlags::OnlyOne, &rRenderContext);
-        // #101524# OJ
-        aStdFont.SetColor(SwViewOption::GetFontColor());
-
-        const long nFontHeight = nYStep * ( bPosition ? 15 : 6 ) / 10;
-        aStdFont.SetFontSize(Size( 0, nFontHeight ));
-
-        long nPreNum = pActNum->Get(0).GetStart();
-
-        if (bPosition)
-        {
-            const long nLineHeight = nFontHeight * 8 / 7;
-            sal_uInt8 nStart = 0;
-            while (!(nActLevel & (1 << nStart)))
-            {
-                nStart++;
-            }
-            if(nStart) // so that possible predecessors and successors are showed
-                nStart--;
-
-            SwNumberTree::tNumberVector aNumVector;
-            sal_uInt8 nEnd = std::min(sal_uInt8(nStart + 3), MAXLEVEL);
-            for (sal_uInt8 nLevel = nStart; nLevel < nEnd; ++nLevel)
-            {
-                const SwNumFormat &rFormat = pActNum->Get(nLevel);
-                aNumVector.push_back(rFormat.GetStart());
-
-                long nXStart( 0 );
-                long nTextOffset( 0 );
-                long nNumberXPos( 0 );
-                if (rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
-                {
-                    nXStart = rFormat.GetAbsLSpace() / nWidthRelation;
-                    nTextOffset = rFormat.GetCharTextDistance() / nWidthRelation;
-                    nNumberXPos = nXStart;
-                    const long nFirstLineOffset = (-rFormat.GetFirstLineOffset()) / nWidthRelation;
-
-                    if(nFirstLineOffset <= nNumberXPos)
-                        nNumberXPos -= nFirstLineOffset;
-                    else
-                        nNumberXPos = 0;
-                }
-                else if (rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_ALIGNMENT)
-                {
-                    const long nTmpNumberXPos((rFormat.GetIndentAt() + rFormat.GetFirstLineIndent()) / nWidthRelation);
-                    nNumberXPos = (nTmpNumberXPos < 0) ? 0 : nTmpNumberXPos;
-                }
-
-                long nBulletWidth = 0;
-                if (SVX_NUM_BITMAP == rFormat.GetNumberingType())
-                {
-                    nBulletWidth = lcl_DrawGraphic(pVDev.get(), rFormat, nNumberXPos,
-                                                   nYStart, nWidthRelation);
-                }
-                else if (SVX_NUM_CHAR_SPECIAL == rFormat.GetNumberingType())
-                {
-                    nBulletWidth = lcl_DrawBullet(pVDev.get(), rFormat, nNumberXPos,
-                                                  nYStart, aStdFont.GetFontSize());
-                }
-                else
-                {
-                    pVDev->SetFont(aStdFont);
-                    if(pActNum->IsContinusNum())
-                        aNumVector[nLevel] = nPreNum;
-                    OUString aText(pActNum->MakeNumString( aNumVector ));
-                    pVDev->DrawText( Point(nNumberXPos, nYStart), aText );
-                    nBulletWidth = pVDev->GetTextWidth(aText);
-                    nPreNum++;
-                }
-                if ( rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_ALIGNMENT &&
-                     rFormat.GetLabelFollowedBy() == SvxNumberFormat::SPACE )
-                {
-                    pVDev->SetFont(aStdFont);
-                    OUString aText(' ');
-                    pVDev->DrawText( Point(nNumberXPos, nYStart), aText );
-                    nBulletWidth += pVDev->GetTextWidth(aText);
-                }
-
-                long nTextXPos(0);
-                if (rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
-                {
-                    nTextXPos = nXStart;
-                    if (nTextOffset < 0)
-                         nTextXPos = nTextXPos + nTextOffset;
-                    if (nNumberXPos + nBulletWidth + nTextOffset > nTextXPos)
-                        nTextXPos = nNumberXPos + nBulletWidth + nTextOffset;
-                }
-                else if (rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_ALIGNMENT)
-                {
-                    switch (rFormat.GetLabelFollowedBy())
-                    {
-                        case SvxNumberFormat::LISTTAB:
-                        {
-                            nTextXPos = rFormat.GetListtabPos() / nWidthRelation;
-                            if (nTextXPos < nNumberXPos + nBulletWidth)
-                            {
-                                nTextXPos = nNumberXPos + nBulletWidth;
-                            }
-                        }
-                        break;
-                        case SvxNumberFormat::SPACE:
-                        case SvxNumberFormat::NOTHING:
-                        case SvxNumberFormat::NEWLINE:
-                        {
-                            nTextXPos = nNumberXPos + nBulletWidth;
-                        }
-                        break;
-                    }
-
-                    nXStart = rFormat.GetIndentAt() / nWidthRelation;
-                }
-
-                tools::Rectangle aRect1(Point(nTextXPos, nYStart + nFontHeight / 2), Size(aSize.Width() / 2, 2));
-                pVDev->SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor()); // COL_BLACK );
-                pVDev->DrawRect(aRect1);
-
-                tools::Rectangle aRect2(Point(nXStart, nYStart + nLineHeight + nFontHeight / 2), Size(aSize.Width() / 2, 2));
-                pVDev->DrawRect(aRect2);
-                nYStart += 2 * nLineHeight;
-            }
-        }
-        else
-        {
-            SwNumberTree::tNumberVector aNumVector;
-            const long nLineHeight = nFontHeight * 3 / 2;
-            for (sal_uInt8 nLevel = 0; nLevel < MAXLEVEL; ++nLevel, nYStart = nYStart + nYStep)
-            {
-                const SwNumFormat &rFormat = pActNum->Get(nLevel);
-                aNumVector.push_back(rFormat.GetStart());
-                long nXStart(0);
-                if (rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
-                {
-                    nXStart = rFormat.GetAbsLSpace() / nWidthRelation;
-                }
-                else if (rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_ALIGNMENT)
-                {
-                    const long nTmpXStart((rFormat.GetIndentAt() + rFormat.GetFirstLineIndent() ) / nWidthRelation);
-                    nXStart = (nTmpXStart < 0) ? 0 : nTmpXStart;
-                }
-                nXStart /= 2;
-                nXStart += 2;
-                long nTextOffset;
-                if (SVX_NUM_BITMAP == rFormat.GetNumberingType())
-                {
-                    lcl_DrawGraphic(pVDev.get(), rFormat, nXStart, nYStart, nWidthRelation);
-                    nTextOffset = nLineHeight + nXStep;
-                }
-                else if (SVX_NUM_CHAR_SPECIAL == rFormat.GetNumberingType())
-                {
-                    nTextOffset =  lcl_DrawBullet(pVDev.get(), rFormat, nXStart, nYStart, aStdFont.GetFontSize());
-                    nTextOffset += nXStep;
-                }
-                else
-                {
-                    pVDev->SetFont(aStdFont);
-                    if (pActNum->IsContinusNum())
-                        aNumVector[nLevel] = nPreNum;
-                    OUString aText(pActNum->MakeNumString( aNumVector ));
-                    pVDev->DrawText( Point(nXStart, nYStart), aText );
-                    nTextOffset = pVDev->GetTextWidth(aText) + nXStep;
-                    nPreNum++;
-                }
-                pVDev->SetFont(aStdFont);
-                pVDev->DrawText(
-                    Point(nXStart + nTextOffset, nYStart),
-                    (pOutlineNames == nullptr
-                     ? utl::ConfigManager::getProductName()
-                     : pOutlineNames[nLevel]));
-            }
-        }
-    }
     rRenderContext.DrawOutDev(Point(0,0), aSize, Point(0,0), aSize, *pVDev);
 }
 
diff --git a/sw/source/uibase/inc/numprevw.hxx b/sw/source/uibase/inc/numprevw.hxx
index ca18922226d9..8b28e2646d9e 100644
--- a/sw/source/uibase/inc/numprevw.hxx
+++ b/sw/source/uibase/inc/numprevw.hxx
@@ -28,12 +28,7 @@ namespace rtl { class OUString; }
 
 class NumberingPreview : public vcl::Window
 {
-    const SwNumRule*    pActNum;
     vcl::Font           aStdFont;
-    long                nPageWidth;
-    const OUString*     pOutlineNames;
-    bool                bPosition;
-    sal_uInt16          nActLevel;
 
     protected:
         virtual void        Paint( vcl::RenderContext& /*rRenderContext*/, const tools::Rectangle& rRect ) override;
@@ -41,8 +36,6 @@ class NumberingPreview : public vcl::Window
     public:
         NumberingPreview(vcl::Window* pParent)
             : Window(pParent)
-            , pActNum(nullptr),nPageWidth(0), pOutlineNames(nullptr),
-            bPosition(false), nActLevel(USHRT_MAX)
         {
         }
 
diff --git a/sw/source/uibase/inc/prcntfld.hxx b/sw/source/uibase/inc/prcntfld.hxx
index 3a90c7567cdd..5ee2a6f2d088 100644
--- a/sw/source/uibase/inc/prcntfld.hxx
+++ b/sw/source/uibase/inc/prcntfld.hxx
@@ -104,8 +104,6 @@ class SW_DLLPUBLIC SwPercentField
     int nLastValue;
     sal_uInt16  nOldDigits;
     FieldUnit   eOldUnit;
-    bool bLockAutoCalculation; //prevent recalculation of percent values when the
-                               //reference value is changed
 
     SAL_DLLPRIVATE static int ImpPower10(sal_uInt16 n);
 
diff --git a/sw/source/uibase/utlui/prcntfld.cxx b/sw/source/uibase/utlui/prcntfld.cxx
index 5ded25dcd4d2..76715f8c0d28 100644
--- a/sw/source/uibase/utlui/prcntfld.cxx
+++ b/sw/source/uibase/utlui/prcntfld.cxx
@@ -287,7 +287,6 @@ SwPercentField::SwPercentField(weld::MetricSpinButton* pControl)
     , nLastValue(-1)
     , nOldDigits(m_pField->get_digits())
     , eOldUnit(FUNIT_NONE)
-    , bLockAutoCalculation(false)
 {
     int nMin, nMax;
     m_pField->get_range(nMin, nMax, FUNIT_TWIP);
@@ -301,7 +300,7 @@ void SwPercentField::SetRefValue(int nValue)
 
     nRefValue = nValue;
 
-    if (!bLockAutoCalculation && (m_pField->get_unit() == FUNIT_PERCENT))
+    if (m_pField->get_unit() == FUNIT_PERCENT)
         SetPrcntValue(nRealValue, eOldUnit);
 }
 
diff --git a/vcl/inc/unx/i18n_xkb.hxx b/vcl/inc/unx/i18n_xkb.hxx
index 77de6e837466..312e1be9283c 100644
--- a/vcl/inc/unx/i18n_xkb.hxx
+++ b/vcl/inc/unx/i18n_xkb.hxx
@@ -29,7 +29,6 @@ private:
 
     bool                mbUseExtension;
     int                 mnEventBase;
-    int                 mnErrorBase;
 
 public:
 
diff --git a/vcl/unx/generic/app/i18n_xkb.cxx b/vcl/unx/generic/app/i18n_xkb.cxx
index 3c2d1a25fbba..cb5f29709671 100644
--- a/vcl/unx/generic/app/i18n_xkb.cxx
+++ b/vcl/unx/generic/app/i18n_xkb.cxx
@@ -28,7 +28,6 @@
 SalI18N_KeyboardExtension::SalI18N_KeyboardExtension( Display* pDisplay )
     : mbUseExtension(true)
     , mnEventBase(0)
-    , mnErrorBase(0)
 {
     sal_uInt32 nDefaultGroup = 0;
 
@@ -55,9 +54,10 @@ SalI18N_KeyboardExtension::SalI18N_KeyboardExtension( Display* pDisplay )
         int nMajorExtOpcode;
         int nExtMajorVersion = XkbMajorVersion;
         int nExtMinorVersion = XkbMinorVersion;
+        int nErrorBase = 0;
 
         mbUseExtension = XkbQueryExtension( pDisplay,
-            &nMajorExtOpcode, &mnEventBase, &mnErrorBase,
+            &nMajorExtOpcode, &mnEventBase, &nErrorBase,
             &nExtMajorVersion, &nExtMinorVersion ) != 0;
     }
 
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index fb6d581709f8..17173a91e79b 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -424,19 +424,6 @@ SdXMLPresentationPageLayoutContext::SdXMLPresentationPageLayoutContext(
 {
     // set family to something special at SvXMLStyleContext
     // for differences in search-methods
-
-    sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
-    for( sal_Int16 i=0; i < nAttrCount; i++ )
-    {
-        const OUString& rAttrName = xAttrList->getNameByIndex( i );
-        OUString aLocalName;
-        sal_uInt16 nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( rAttrName, &aLocalName );
-
-        if(nPrefix == XML_NAMESPACE_STYLE && IsXMLToken( aLocalName, XML_NAME ) )
-        {
-            msName = xAttrList->getValueByIndex( i );
-        }
-    }
 }
 
 SvXMLImportContextRef SdXMLPresentationPageLayoutContext::CreateChildContext(
diff --git a/xmloff/source/draw/ximpstyl.hxx b/xmloff/source/draw/ximpstyl.hxx
index 71237cbd41da..a2b4d363673b 100644
--- a/xmloff/source/draw/ximpstyl.hxx
+++ b/xmloff/source/draw/ximpstyl.hxx
@@ -141,7 +141,6 @@ public:
 
 class SdXMLPresentationPageLayoutContext: public SvXMLStyleContext
 {
-    OUString               msName;
     std::vector< rtl::Reference< SdXMLPresentationPlaceholderContext > >
                            maList;
     sal_uInt16             mnTypeId;
diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx
index 7ade7edd7a38..f679c7d2d273 100644
--- a/xmloff/source/text/XMLTextMasterPageContext.cxx
+++ b/xmloff/source/text/XMLTextMasterPageContext.cxx
@@ -64,7 +64,6 @@ XMLTextMasterPageContext::XMLTextMasterPageContext( SvXMLImport& rImport,
         const Reference< XAttributeList > & xAttrList,
         bool bOverwrite )
 :   SvXMLStyleContext( rImport, nPrfx, rLName, xAttrList, XML_STYLE_FAMILY_MASTER_PAGE )
-,   sIsPhysical( "IsPhysical" )
 ,   sFollowStyle( "FollowStyle" )
 ,   bInsertHeader( false )
 ,   bInsertFooter( false )
@@ -141,6 +140,7 @@ XMLTextMasterPageContext::XMLTextMasterPageContext( SvXMLImport& rImport,
     Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY );
     Reference< XPropertySetInfo > xPropSetInfo =
                 xPropSet->getPropertySetInfo();
+    OUString sIsPhysical( "IsPhysical" );
     if( !bNew && xPropSetInfo->hasPropertyByName( sIsPhysical ) )
     {
         aAny = xPropSet->getPropertyValue( sIsPhysical );


More information about the Libreoffice-commits mailing list