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

2020-11-06 Thread Noel (via logerrit)
 compilerplugins/clang/unusedfields.only-used-in-constructor.results |  122 
--
 compilerplugins/clang/unusedfields.py   |   16 -
 compilerplugins/clang/unusedfields.readonly.results |4 
 compilerplugins/clang/unusedfields.untouched.results|   98 
+++-
 compilerplugins/clang/unusedfields.writeonly.results|   56 +---
 include/xmloff/xmlictxt.hxx |3 
 xmloff/source/core/xmlimp.cxx   |6 
 7 files changed, 140 insertions(+), 165 deletions(-)

New commits:
commit 875944d0cfffb3540234affe2d0b2eba1fcddf90
Author: Noel 
AuthorDate: Fri Nov 6 08:42:38 2020 +0200
Commit: Noel Grandin 
CommitDate: Fri Nov 6 13:17:49 2020 +0100

loplugin:unusedfields

Change-Id: Ib360179887572ec55245d7892651eaf7113ed3cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105389
Tested-by: Jenkins
Reviewed-by: Noel Grandin 

diff --git 
a/compilerplugins/clang/unusedfields.only-used-in-constructor.results 
b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index 09cc4676e06b..2a815f823f29 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -26,10 +26,10 @@ connectivity/source/commontools/RowFunctionParser.cxx:372
 connectivity::(anonymous namespace)::ExpressionGrammar::definition 
unaryFunction ::boost::spirit::classic::rule
 connectivity/source/commontools/RowFunctionParser.cxx:373
 connectivity::(anonymous namespace)::ExpressionGrammar::definition 
assignment ::boost::spirit::classic::rule
-connectivity/source/commontools/RowFunctionParser.cxx:374
-connectivity::(anonymous namespace)::ExpressionGrammar::definition integer 
::boost::spirit::classic::rule
 connectivity/source/commontools/RowFunctionParser.cxx:374
 connectivity::(anonymous namespace)::ExpressionGrammar::definition 
argument ::boost::spirit::classic::rule
+connectivity/source/commontools/RowFunctionParser.cxx:374
+connectivity::(anonymous namespace)::ExpressionGrammar::definition integer 
::boost::spirit::classic::rule
 connectivity/source/commontools/RowFunctionParser.cxx:375
 connectivity::(anonymous namespace)::ExpressionGrammar::definition 
andExpression ::boost::spirit::classic::rule
 connectivity/source/commontools/RowFunctionParser.cxx:375
@@ -154,8 +154,6 @@ dbaccess/source/core/dataaccess/connection.hxx:101
 dbaccess::OConnection m_nInAppend std::atomic
 dbaccess/source/core/inc/databasecontext.hxx:84
 dbaccess::ODatabaseContext m_aBasicDLL class BasicDLL
-desktop/qa/desktop_lib/test_desktop_lib.cxx:2831
-  class AllSettings &
 drawinglayer/inc/texture/texture3d.hxx:57
 drawinglayer::texture::GeoTexSvxBitmapEx maBitmap class Bitmap
 drawinglayer/inc/texture/texture3d.hxx:59
@@ -202,38 +200,38 @@ include/sfx2/msg.hxx:117
 SfxType0 createSfxPoolItemFunc std::function
 include/sfx2/msg.hxx:119
 SfxType0 nAttribs sal_uInt16
+include/sfx2/msg.hxx:132
+SfxType1 aAttrib struct SfxTypeAttrib [1]
 include/sfx2/msg.hxx:132
 SfxType1 createSfxPoolItemFunc std::function
 include/sfx2/msg.hxx:132
 SfxType1 nAttribs sal_uInt16
-include/sfx2/msg.hxx:132
-SfxType1 aAttrib struct SfxTypeAttrib [1]
 include/sfx2/msg.hxx:132
 SfxType1 pType const std::type_info *
-include/sfx2/msg.hxx:133
-SfxType2 pType const std::type_info *
 include/sfx2/msg.hxx:133
 SfxType2 aAttrib struct SfxTypeAttrib [2]
 include/sfx2/msg.hxx:133
 SfxType2 createSfxPoolItemFunc std::function
 include/sfx2/msg.hxx:133
 SfxType2 nAttribs sal_uInt16
-include/sfx2/msg.hxx:134
-SfxType3 nAttribs sal_uInt16
+include/sfx2/msg.hxx:133
+SfxType2 pType const std::type_info *
 include/sfx2/msg.hxx:134
 SfxType3 aAttrib struct SfxTypeAttrib [3]
 include/sfx2/msg.hxx:134
 SfxType3 createSfxPoolItemFunc std::function
+include/sfx2/msg.hxx:134
+SfxType3 nAttribs sal_uInt16
 include/sfx2/msg.hxx:134
 SfxType3 pType const std::type_info *
 include/sfx2/msg.hxx:135
 SfxType4 aAttrib struct SfxTypeAttrib [4]
-include/sfx2/msg.hxx:135
-SfxType4 pType const std::type_info *
 include/sfx2/msg.hxx:135
 SfxType4 createSfxPoolItemFunc std::function
 include/sfx2/msg.hxx:135
 SfxType4 nAttribs sal_uInt16
+include/sfx2/msg.hxx:135
+SfxType4 pType const std::type_info *
 include/sfx2/msg.hxx:136
 SfxType5 aAttrib struct SfxTypeAttrib [5]
 include/sfx2/msg.hxx:136
@@ -242,70 +240,70 @@ include/sfx2/msg.hxx:136
 SfxType5 nAttribs sal_uInt16
 include/sfx2/msg.hxx:136
 SfxType5 pType const std::type_info *
-include/sfx2/msg.hxx:137
-SfxType6 pType const std::type_info *
 include/sfx2/msg.hxx:137
 SfxType6 aAttrib struct SfxTypeAttrib [6]
 include/sfx2/msg.hxx:137
 SfxType6 createSfxPoolItemFunc std::function
 include/sfx2/msg.hxx:137
 SfxType6 nAttribs sal_u

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

2020-08-31 Thread Andrea Gelmini (via logerrit)
 compilerplugins/clang/unusedenumconstants.writeonly.results |4 ++--
 include/xmloff/families.hxx |4 ++--
 xmloff/source/draw/ximppage.cxx |2 +-
 xmloff/source/draw/ximpstyl.cxx |4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 25304f8cd3d70860550a5fe9a0dbc40dd0abff03
Author: Andrea Gelmini 
AuthorDate: Mon Aug 31 15:46:04 2020 +0200
Commit: Julien Nabet 
CommitDate: Tue Sep 1 08:49:55 2020 +0200

Fix typo in code

It passed "make check" on Linux

Change-Id: I9f3d98df05495e7d655a93c5cd5bbd41db6a9bea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101788
Tested-by: Jenkins
Reviewed-by: Julien Nabet 

diff --git a/compilerplugins/clang/unusedenumconstants.writeonly.results 
b/compilerplugins/clang/unusedenumconstants.writeonly.results
index 23472d504263..46c5cdcd7bc9 100644
--- a/compilerplugins/clang/unusedenumconstants.writeonly.results
+++ b/compilerplugins/clang/unusedenumconstants.writeonly.results
@@ -2913,9 +2913,9 @@ include/vcl/window.hxx:381
 include/xmloff/families.hxx:75
 enum XmlStyleFamily TABLE_TEMPLATE_ID
 include/xmloff/families.hxx:83
-enum XmlStyleFamily SD_PAGEMASTERCONEXT_ID
+enum XmlStyleFamily SD_PAGEMASTERCONTEXT_ID
 include/xmloff/families.hxx:84
-enum XmlStyleFamily SD_PAGEMASTERSTYLECONEXT_ID
+enum XmlStyleFamily SD_PAGEMASTERSTYLECONTEXT_ID
 include/xmloff/families.hxx:85
 enum XmlStyleFamily SD_PRESENTATIONPAGELAYOUT_ID
 include/xmloff/families.hxx:91
diff --git a/include/xmloff/families.hxx b/include/xmloff/families.hxx
index 13aee189e44e..253472220168 100644
--- a/include/xmloff/families.hxx
+++ b/include/xmloff/families.hxx
@@ -80,8 +80,8 @@ enum class XmlStyleFamily
 
 SD_PRESENTATION_ID = 301,
 // families for derived from SvXMLStyleContext
-SD_PAGEMASTERCONEXT_ID = 302,
-SD_PAGEMASTERSTYLECONEXT_ID= 306,
+SD_PAGEMASTERCONTEXT_ID= 302,
+SD_PAGEMASTERSTYLECONTEXT_ID   = 306,
 SD_PRESENTATIONPAGELAYOUT_ID   = 303,
 // family for draw pool
 SD_POOL_ID = 304,
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index dacf059a5182..0fc1eb3a473e 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -517,7 +517,7 @@ void SdXMLGenericPageContext::SetPageMaster( OUString const 
& rsPageMasterName )
 // #80012# GetStylesContext() replaced with GetAutoStylesContext()
 const SvXMLStylesContext* pAutoStyles = 
GetSdImport().GetShapeImport()->GetAutoStylesContext();
 
-const SvXMLStyleContext* pStyle = pAutoStyles ? 
pAutoStyles->FindStyleChildContext(XmlStyleFamily::SD_PAGEMASTERCONEXT_ID, 
rsPageMasterName) : nullptr;
+const SvXMLStyleContext* pStyle = pAutoStyles ? 
pAutoStyles->FindStyleChildContext(XmlStyleFamily::SD_PAGEMASTERCONTEXT_ID, 
rsPageMasterName) : nullptr;
 
 const SdXMLPageMasterContext* pPageMaster = dynamic_cast(pStyle);
 if (!pPageMaster)
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index a707a1a723cd..4115de5ea24b 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -280,7 +280,7 @@ SdXMLPageMasterStyleContext::SdXMLPageMasterStyleContext(
 SdXMLImport& rImport,
 sal_Int32 /*nElement*/,
 const uno::Reference< xml::sax::XFastAttributeList>& xAttrList)
-:   SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERSTYLECONEXT_ID),
+:   SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERSTYLECONTEXT_ID),
 mnBorderBottom( 0 ),
 mnBorderLeft( 0 ),
 mnBorderRight( 0 ),
@@ -362,7 +362,7 @@ SdXMLPageMasterContext::SdXMLPageMasterContext(
 SdXMLImport& rImport,
 sal_Int32 /*nElement*/,
 const uno::Reference< xml::sax::XFastAttributeList>& /*xAttrList*/)
-:   SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERCONEXT_ID)
+:   SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERCONTEXT_ID)
 {
 // set family to something special at SvXMLStyleContext
 // for differences in search-methods
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-03-10 Thread Noel Grandin
 compilerplugins/clang/unusedfields.readonly.results  |   10 +-
 compilerplugins/clang/unusedfields.untouched.results |4 ++--
 compilerplugins/clang/unusedfields.writeonly.results |8 
 include/xmloff/xmlimp.hxx|1 -
 xmloff/source/chart/SchXMLImport.cxx |2 --
 xmloff/source/core/xmlimp.cxx|3 +--
 6 files changed, 8 insertions(+), 20 deletions(-)

New commits:
commit e408e1d6d120b9935283ca29e13b7a9bff3d1ea1
Author: Noel Grandin 
Date:   Fri Mar 9 14:17:52 2018 +0200

loplugin:unusedfields

Change-Id: Idd0cdd38718c3822db4d4b94ca2315a416bc27bb
Reviewed-on: https://gerrit.libreoffice.org/50997
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/compilerplugins/clang/unusedfields.readonly.results 
b/compilerplugins/clang/unusedfields.readonly.results
index 219ae7515d56..2dd5a304dbe0 100644
--- a/compilerplugins/clang/unusedfields.readonly.results
+++ b/compilerplugins/clang/unusedfields.readonly.results
@@ -514,15 +514,13 @@ svx/source/inc/gridcell.hxx:525
 DbPatternField m_pValueFormatter ::std::unique_ptr< 
::dbtools::FormattedColumnValue>
 svx/source/inc/gridcell.hxx:526
 DbPatternField m_pPaintFormatter ::std::unique_ptr< 
::dbtools::FormattedColumnValue>
-svx/source/sidebar/possize/PosSizePropertyPanel.hxx:116
-svx::sidebar::PosSizePropertyPanel maAnchorPos class Point
 sw/inc/acmplwrd.hxx:43
 SwAutoCompleteWord m_LookupTree editeng::Trie
 sw/inc/calc.hxx:162
 SwCalc m_aSysLocale class SvtSysLocale
 sw/inc/hints.hxx:188
 SwAttrSetChg m_bDelSet _Bool
-sw/inc/shellio.hxx:142
+sw/inc/shellio.hxx:140
 SwReader pStg tools::SvRef
 sw/inc/swevent.hxx:74
 SwCallMouseEvent::(anonymous union)::(anonymous) pFormat const class 
SwFrameFormat *
@@ -548,8 +546,6 @@ sw/source/uibase/dbui/mmconfigitem.cxx:108
 SwMailMergeConfigItem_Impl m_aMaleGreetingLines std::vector
 sw/source/uibase/dbui/mmconfigitem.cxx:110
 SwMailMergeConfigItem_Impl m_aNeutralGreetingLines std::vector
-sw/source/uibase/inc/break.hxx:46
-SwBreakDlg aTemplate class rtl::OUString
 sw/source/uibase/inc/fldmgr.hxx:77
 SwInsertField_Data m_aDBDataSource css::uno::Any
 sw/source/uibase/inc/labimg.hxx:49
@@ -604,8 +600,6 @@ unotools/source/config/saveopt.cxx:78
 SvtSaveOptions_Impl bROUserAutoSave _Bool
 vcl/inc/printerinfomanager.hxx:73
 psp::PrinterInfoManager::SystemPrintQueue m_aComment class rtl::OUString
-vcl/inc/sallayout.hxx:344
-GenericSalLayout maBasePoint class Point
 vcl/inc/salwtype.hxx:153
 SalWheelMouseEvent mbDeltaIsPixel _Bool
 vcl/inc/salwtype.hxx:189
@@ -632,8 +626,6 @@ vcl/inc/unx/i18n_status.hxx:56
 vcl::I18NStatus m_aCurrentIM class rtl::OUString
 vcl/inc/unx/saldisp.hxx:266
 SalDisplay m_aInvalidScreenData struct SalDisplay::ScreenData
-vcl/source/edit/vclmedit.cxx:45
-ImpVclMEdit maTextWindowOffset class Point
 vcl/source/filter/jpeg/Exif.hxx:62
 Exif::TiffHeader byteOrder sal_uInt16
 vcl/source/filter/jpeg/transupp.h:132
diff --git a/compilerplugins/clang/unusedfields.untouched.results 
b/compilerplugins/clang/unusedfields.untouched.results
index 9831a77be11b..b67782ab8b59 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -22,8 +22,6 @@ canvas/source/vcl/impltools.hxx:117
 vclcanvas::tools::LocalGuard aSolarGuard class SolarMutexGuard
 chart2/source/controller/inc/RangeSelectionListener.hxx:62
 chart::RangeSelectionListener m_aControllerLockGuard class 
chart::ControllerLockGuardUNO
-chart2/source/model/template/ChartType.hxx:127
-chart::ChartType m_xContext const 
css::uno::Reference
 chart2/source/view/inc/GL3DRenderer.hxx:54
 chart::opengl3D::MaterialParameters pad float
 chart2/source/view/inc/GL3DRenderer.hxx:55
@@ -78,6 +76,8 @@ include/svtools/unoevent.hxx:162
 SvEventDescriptor xParentRef css::uno::Reference
 include/svx/ClassificationDialog.hxx:63
 svx::ClassificationDialog m_nInsertMarkings sal_Int16
+include/svx/unoshape.hxx:676
+SvxGraphicObject referer_ class rtl::OUString
 include/vcl/pdfwriter.hxx:549
 vcl::PDFWriter::PDFSignContext m_pDerEncoded sal_Int8 *
 include/vcl/pdfwriter.hxx:551
diff --git a/compilerplugins/clang/unusedfields.writeonly.results 
b/compilerplugins/clang/unusedfields.writeonly.results
index d9ff930f8501..21577563ae4b 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -84,8 +84,6 @@ codemaker/source/cppumaker/dependencies.hxx:115
 codemaker::cppumaker::Dependencies m_doubleDependency _Bool
 configmgr/source/components.cxx:162
 configmgr::Components::WriteThread reference_ rtl::Reference *
-connectivity/source/drivers/firebird/Connection.hxx:77
-connectivity::firebird::Connection m_xDriver 
::rtl::Reference
 connectivity/source/drivers/mork/MorkParser.hxx:133
 MorkParser error_ enum Mo