From a3c7d78f3dc5ccce60dc198d2466ec7470f7fe9c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 21 Oct 2022 11:56:57 +0200 Subject: loplugin:unusedmethods Change-Id: I3c94d68cb85adc2005a5a5e3b03a311732f782c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141617 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/unusedmethods.py | 3 + compilerplugins/clang/unusedmethods.results | 424 ++++++++++++--------- .../clang/unusedmethods.unused-returns.results | 52 +-- include/sfx2/sidebar/SidebarDockingWindow.hxx | 1 - include/sfx2/thumbnailview.hxx | 2 - include/svx/svdotable.hxx | 2 - include/vcl/fontcharmap.hxx | 2 - sc/source/filter/inc/formulabase.hxx | 9 - sdext/source/pdfimport/inc/pdfiprocessor.hxx | 2 - sfx2/source/control/thumbnailview.cxx | 5 - starmath/inc/ElementsDockingWindow.hxx | 3 - starmath/source/ElementsDockingWindow.cxx | 9 - svx/source/table/svdotable.cxx | 13 - sw/inc/node.hxx | 3 - sw/inc/viewsh.hxx | 3 - sw/source/core/view/viewsh.cxx | 12 - vcl/inc/sft.hxx | 12 - vcl/inc/unx/glyphcache.hxx | 2 - vcl/source/fontsubset/sft.cxx | 43 --- vcl/source/fontsubset/ttcr.cxx | 33 -- vcl/source/fontsubset/ttcr.hxx | 6 - vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 5 - 22 files changed, 283 insertions(+), 363 deletions(-) diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py index 9f584f535a19..42b44de8dc9f 100755 --- a/compilerplugins/clang/unusedmethods.py +++ b/compilerplugins/clang/unusedmethods.py @@ -164,6 +164,7 @@ for d in definitionSet: continue # ignore lambdas if (" ::operator " in method) or (" ::__invoke(" in method) or (" ::operator())" in method): continue + if ("(lambda at " in method): continue # ignore stuff generated by std::function parameters if ("(anonymous)::operator " in method) and ("(*)" in method): continue # stuff generated by Qt @@ -235,6 +236,8 @@ for d in definitionSet: # ignore lambdas if "::__invoke(" in d[1]: continue; + if "(lambda at " in d[1]: + continue; if "::operator " in d[1] and "(*)(" in d[1]: continue; location = definitionToSourceLocationMap[d]; diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index 524af6ade80c..c0390652a5e2 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -40,7 +40,7 @@ canvas/inc/vclwrapper.hxx:138 void canvas::vcltools::VCLObject::swap(VCLObject &) canvas/source/vcl/impltools.hxx:102 vclcanvas::tools::LocalGuard::LocalGuard() -chart2/source/view/axes/VAxisBase.hxx:70 +chart2/source/view/axes/VAxisBase.hxx:73 std::shared_ptr chart::VAxisBase::getDataTableView() connectivity/inc/sdbcx/VGroup.hxx:61 connectivity::sdbcx::OGroup::OGroup(_Bool) @@ -50,6 +50,16 @@ connectivity/source/drivers/evoab2/NResultSet.hxx:60 rtl::OString connectivity::evoab::OEvoabVersionHelper::getUserName(void *) connectivity/source/drivers/evoab2/NResultSetMetaData.hxx:49 com::sun::star::uno::Reference connectivity::evoab::OEvoabResultSetMetaData::operator Reference() +connectivity/source/drivers/firebird/Driver.hxx:61 + const com::sun::star::uno::Reference & connectivity::firebird::FirebirdDriver::getContext() const +connectivity/source/drivers/firebird/Util.hxx:66 + connectivity::firebird::ColumnTypeInfo::ColumnTypeInfo(short,rtl::OUString) +connectivity/source/drivers/firebird/Util.hxx:71 + short connectivity::firebird::ColumnTypeInfo::getType() const +connectivity/source/drivers/firebird/Util.hxx:72 + short connectivity::firebird::ColumnTypeInfo::getSubType() const +connectivity/source/drivers/firebird/Util.hxx:74 + const rtl::OUString & connectivity::firebird::ColumnTypeInfo::getCharacterSet() const connectivity/source/drivers/mysqlc/mysqlc_connection.hxx:180 rtl::OUString connectivity::mysqlc::OConnection::transFormPreparedStatement(const rtl::OUString &) connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx:93 @@ -84,8 +94,6 @@ connectivity/source/inc/odbc/OPreparedStatement.hxx:70 void connectivity::odbc::OPreparedStatement::setScalarParameter(int,int,unsigned long,const type-parameter-?-?) connectivity/source/inc/odbc/OPreparedStatement.hxx:71 void connectivity::odbc::OPreparedStatement::setScalarParameter(int,int,unsigned long,int,const type-parameter-?-?) -connectivity/source/inc/OTypeInfo.hxx:39 - connectivity::OTypeInfo::OTypeInfo() connectivity/source/inc/OTypeInfo.hxx:45 _Bool connectivity::OTypeInfo::operator==(const struct connectivity::OTypeInfo &) const connectivity/source/inc/OTypeInfo.hxx:46 @@ -106,15 +114,13 @@ cui/source/inc/GraphicsTestsDialog.hxx:48 void GraphicsTestsDialog::LinkStubHandleResultViewRequest(void *,weld::Button &) cui/source/inc/SvxNotebookbarConfigPage.hxx:40 void SvxNotebookbarConfigPage::SetElement() -dbaccess/qa/unit/dbtest_base.cxx:36 - com::sun::star::uno::Reference DBTestBase::getDocumentForFileName(std::basic_string_view) dbaccess/source/filter/hsqldb/fbalterparser.hxx:19 void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const dbaccess/source/filter/hsqldb/parseschema.hxx:80 const std::map > & dbahsql::SchemaParser::getPrimaryKeys() const -dbaccess/source/ui/inc/dsmeta.hxx:88 +dbaccess/source/ui/inc/dsmeta.hxx:87 __gnu_debug::_Safe_iterator, std::set, struct std::bidirectional_iterator_tag> dbaui::FeatureSet::begin() const -dbaccess/source/ui/inc/dsmeta.hxx:89 +dbaccess/source/ui/inc/dsmeta.hxx:88 __gnu_debug::_Safe_iterator, std::set, struct std::bidirectional_iterator_tag> dbaui::FeatureSet::end() const dbaccess/source/ui/inc/FieldControls.hxx:68 rtl::OUString dbaui::OPropNumericEditCtrl::get_text() const @@ -128,14 +134,14 @@ dbaccess/source/ui/inc/indexcollection.hxx:61 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator >, std::vector, struct std::random_access_iterator_tag> dbaui::OIndexCollection::find(const rtl::OUString &) const dbaccess/source/ui/inc/indexcollection.hxx:63 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator >, std::vector, struct std::random_access_iterator_tag> dbaui::OIndexCollection::findOriginal(const rtl::OUString &) const -dbaccess/source/ui/inc/sbamultiplex.hxx:279 - comphelper::OInterfaceContainerHelper3 * dbaui::SbaXVetoableChangeMultiplexer::getContainer(const rtl::OUString &) dbaccess/source/ui/inc/unodatbr.hxx:316 _Bool dbaui::SbaTableQueryBrowser::implCopyObject(ODataClipboard &,const weld::TreeIter &,int) desktop/source/lib/lokclipboard.hxx:95 LOKClipboardFactory::LOKClipboardFactory() drawinglayer/inc/texture/texture.hxx:39 _Bool drawinglayer::texture::GeoTexSvx::operator!=(const drawinglayer::texture::GeoTexSvx &) const +drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx:37 + drawinglayer::geometry::ViewInformation2D drawinglayer::primitive2d::expandB2DRangeAtViewInformation2D(const drawinglayer::geometry::ViewInformation2D &,double) drawinglayer/source/tools/emfpstringformat.hxx:93 _Bool emfplushelper::EMFPStringFormat::NoFitBlackBox() const drawinglayer/source/tools/emfpstringformat.hxx:94 @@ -152,9 +158,9 @@ drawinglayer/source/tools/emfpstringformat.hxx:99 _Bool emfplushelper::EMFPStringFormat::NoClip() const drawinglayer/source/tools/emfpstringformat.hxx:100 _Bool emfplushelper::EMFPStringFormat::BypassGDI() const -editeng/inc/editdoc.hxx:524 - _Bool EditLine::IsInvalid() const editeng/inc/editdoc.hxx:525 + _Bool EditLine::IsInvalid() const +editeng/inc/editdoc.hxx:526 _Bool EditLine::IsValid() const editeng/inc/edtspell.hxx:103 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator >, std::vector, struct std::random_access_iterator_tag> WrongList::begin() const @@ -280,9 +286,9 @@ include/basegfx/matrix/b3dhommatrix.hxx:105 basegfx::B3DHomMatrix & basegfx::B3DHomMatrix::operator*=(double) include/basegfx/matrix/b3dhommatrix.hxx:106 basegfx::B3DHomMatrix & basegfx::B3DHomMatrix::operator/=(double) -include/basegfx/numeric/ftools.hxx:112 - double basegfx::snapToRange(double,double,double) include/basegfx/numeric/ftools.hxx:116 + double basegfx::snapToRange(double,double,double) +include/basegfx/numeric/ftools.hxx:120 double basegfx::copySign(double,double) include/basegfx/pixel/bpixel.hxx:53 basegfx::BPixel::BPixel(unsigned char,unsigned char,unsigned char,unsigned char) @@ -352,6 +358,14 @@ include/basegfx/tuple/b3ituple.hxx:66 const int & basegfx::B3ITuple::operator[](int) const include/basegfx/tuple/b3ituple.hxx:75 int & basegfx::B3ITuple::operator[](int) +include/basegfx/tuple/Size2D.hxx:72 + Size2D & basegfx::Size2D::operator/=(type-parameter-?-?) +include/basegfx/tuple/Size2D.hxx:90 + Size2D basegfx::operator+(const Size2D &,const Size2D &) +include/basegfx/tuple/Size2D.hxx:98 + Size2D basegfx::operator*(const Size2D &,const Size2D &) +include/basegfx/tuple/Size2D.hxx:106 + Size2D basegfx::operator/(const Size2D &,const Size2D &) include/basegfx/tuple/Tuple2D.hxx:83 _Bool basegfx::Tuple2D::equal(const basegfx::Tuple2D &) const include/basegfx/tuple/Tuple2D.hxx:83 @@ -360,12 +374,16 @@ include/basegfx/tuple/Tuple2D.hxx:83 _Bool basegfx::Tuple2D::equal(const basegfx::Tuple2D &) const include/basegfx/utils/b2dclipstate.hxx:72 _Bool basegfx::utils::B2DClipState::operator!=(const basegfx::utils::B2DClipState &) const -include/basegfx/utils/canvastools.hxx:109 +include/basegfx/utils/canvastools.hxx:110 struct com::sun::star::geometry::AffineMatrix3D & basegfx::unotools::affineMatrixFromHomMatrix3D(struct com::sun::star::geometry::AffineMatrix3D &,const basegfx::B3DHomMatrix &) -include/basegfx/utils/canvastools.hxx:129 +include/basegfx/utils/canvastools.hxx:130 basegfx::B3DRange basegfx::unotools::b3DRectangleFromRealRectangle3D(const struct com::sun::star::geometry::RealRectangle3D &) +include/basegfx/utils/systemdependentdata.hxx:83 + unsigned int basegfx::SystemDependentData::getCombinedHoldCyclesInSeconds() const include/basegfx/utils/unopolypolygon.hxx:87 const basegfx::B2DPolyPolygon & basegfx::unotools::UnoPolyPolygon::getPolyPolygonUnsafe() const +include/basegfx/vector/b2dvector.hxx:81 + basegfx::B2DVector & basegfx::B2DVector::operator*=(const basegfx::B2DVector &) include/basegfx/vector/b2ivector.hxx:72 basegfx::B2IVector & basegfx::B2IVector::operator*=(const basegfx::B2IVector &) include/basegfx/vector/b2ivector.hxx:81 @@ -378,6 +396,10 @@ include/basic/codecompletecache.hxx:82 std::basic_ostream & operator<<(std::basic_ostream &,const CodeCompleteDataCache &) include/basic/sbxvar.hxx:138 struct SbxValues * SbxValue::data() +include/codemaker/exceptiontree.hxx:48 + void codemaker::ExceptionTreeNode::setPresent() +include/codemaker/exceptiontree.hxx:51 + struct codemaker::ExceptionTreeNode * codemaker::ExceptionTreeNode::add(const rtl::OString &) include/codemaker/global.hxx:54 FileStream & operator<<(FileStream &,const rtl::OString *) include/codemaker/global.hxx:56 @@ -398,6 +420,14 @@ include/comphelper/configuration.hxx:256 void comphelper::ConfigurationLocalizedProperty::set(const type-parameter-?-? &,const std::shared_ptr &) include/comphelper/configuration.hxx:291 com::sun::star::uno::Reference comphelper::ConfigurationGroup::get(const std::shared_ptr &) +include/comphelper/errcode.hxx:84 + _Bool ErrCode::operator<(const ErrCode &) const +include/comphelper/errcode.hxx:85 + _Bool ErrCode::operator<=(const ErrCode &) const +include/comphelper/errcode.hxx:86 + _Bool ErrCode::operator>(const ErrCode &) const +include/comphelper/errcode.hxx:87 + _Bool ErrCode::operator>=(const ErrCode &) const include/comphelper/flagguard.hxx:33 ValueRestorationGuard_Impl comphelper::(ValueRestorationGuard_Impl) include/comphelper/flagguard.hxx:37 @@ -696,6 +726,10 @@ include/comphelper/sequenceashashmap.hxx:403 __gnu_debug::_Safe_iterator, false, true>, std::unordered_map, struct std::forward_iterator_tag> comphelper::SequenceAsHashMap::find(const struct comphelper::OUStringAndHashCode &) const include/comphelper/servicedecl.hxx:107 comphelper::service_decl::ServiceDecl::ServiceDecl(const type-parameter-?-? &,const char *,const char *) +include/comphelper/stl_types.hxx:80 + _Bool comphelper::UniquePtrValueLess::operator()(const type-parameter-?-? &,const unique_ptr > &) const +include/comphelper/stl_types.hxx:86 + _Bool comphelper::UniquePtrValueLess::operator()(const unique_ptr > &,const type-parameter-?-? &) const include/comphelper/string.hxx:98 std::basic_string_view comphelper::string::stripEnd(std::basic_string_view,char) include/comphelper/traceevent.hxx:215 @@ -722,16 +756,12 @@ include/drawinglayer/geometry/viewinformation2d.hxx:119 _Bool drawinglayer::geometry::ViewInformation2D::operator!=(const drawinglayer::geometry::ViewInformation2D &) const include/drawinglayer/primitive2d/baseprimitive2d.hxx:136 _Bool drawinglayer::primitive2d::BasePrimitive2D::operator!=(const drawinglayer::primitive2d::BasePrimitive2D &) const -include/drawinglayer/primitive2d/softedgeprimitive2d.hxx:39 - void drawinglayer::primitive2d::SoftEdgePrimitive2D::setMaskGeneration(_Bool) const include/drawinglayer/primitive3d/baseprimitive3d.hxx:65 drawinglayer::primitive3d::Primitive3DContainer::Primitive3DContainer(type-parameter-?-?,type-parameter-?-?) include/drawinglayer/primitive3d/baseprimitive3d.hxx:112 _Bool drawinglayer::primitive3d::BasePrimitive3D::operator!=(const drawinglayer::primitive3d::BasePrimitive3D &) const include/drawinglayer/tools/primitive2dxmldump.hxx:45 void drawinglayer::Primitive2dXmlDump::dump(const drawinglayer::primitive2d::Primitive2DContainer &,const rtl::OUString &) -include/editeng/brushitem.hxx:95 - Color & SvxBrushItem::GetFiltColor() include/editeng/colritem.hxx:96 short SvxColorItem::GetTintOrShade() const include/editeng/colritem.hxx:101 @@ -740,12 +770,8 @@ include/editeng/editeng.hxx:244 _Bool EditEngine::GetVertical() const include/editeng/editeng.hxx:246 enum TextRotation EditEngine::GetRotation() const -include/editeng/editeng.hxx:475 - _Bool EditEngine::(anonymous)::__invoke(const SvxFieldData *) include/editeng/hyphenzoneitem.hxx:67 _Bool SvxHyphenZoneItem::IsPageEnd() const -include/editeng/outliner.hxx:891 - _Bool Outliner::(anonymous)::__invoke(const SvxFieldData *) include/editeng/outlobj.hxx:146 std::optional::optional(struct std::in_place_t,type-parameter-?-? &&...) include/editeng/outlobj.hxx:165 @@ -796,6 +822,8 @@ include/o3tl/enumarray.hxx:66 o3tl::enumarray::enumarray(const rtl::Reference &,type-parameter-?-? &&...) include/o3tl/enumarray.hxx:66 o3tl::enumarray::enumarray(const short &,type-parameter-?-? &&...) +include/o3tl/enumarray.hxx:66 + o3tl::enumarray::enumarray(const std::shared_ptr &,type-parameter-?-? &&...) include/o3tl/enumarray.hxx:66 o3tl::enumarray::enumarray(const std::unique_ptr &,type-parameter-?-? &&...) include/o3tl/enumarray.hxx:66 @@ -890,22 +918,30 @@ include/o3tl/span.hxx:53 o3tl::span::span(const int (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(const struct SfxItemPropertyMapEntry (&)[N]) +include/o3tl/span.hxx:53 + o3tl::span::span(const struct SvXMLItemMapEntry (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(const struct XMLPropertyState (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(const struct com::sun::star::beans::NamedValue (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(const struct comphelper::PropertyMapEntry (&)[N]) +include/o3tl/span.hxx:53 + o3tl::span::span(const unsigned char (&)[_Len]) include/o3tl/span.hxx:53 o3tl::span::span(const unsigned short (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(int (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(struct SfxItemPropertyMapEntry (&)[N]) +include/o3tl/span.hxx:53 + o3tl::span::span(struct SvXMLItemMapEntry (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(struct XMLPropertyState (&)[N]) include/o3tl/span.hxx:53 o3tl::span::span(struct com::sun::star::beans::NamedValue (&)[N]) +include/o3tl/span.hxx:53 + o3tl::span::span(unsigned char (&)[_Len]) include/o3tl/span.hxx:53 o3tl::span::span(unsigned short (&)[N]) include/o3tl/span.hxx:53 @@ -980,13 +1016,13 @@ include/oox/helper/propertymap.hxx:116 void oox::PropertyMap::dumpData(const com::sun::star::uno::Reference &) include/oox/ppt/slidepersist.hxx:93 const std::shared_ptr & oox::ppt::SlidePersist::getBackgroundProperties() const -include/opencl/openclconfig.hxx:57 +include/opencl/openclconfig.hxx:58 _Bool OpenCLConfig::ImplMatcher::operator!=(const struct OpenCLConfig::ImplMatcher &) const -include/opencl/openclconfig.hxx:94 +include/opencl/openclconfig.hxx:95 std::basic_ostream & operator<<(std::basic_ostream &,const struct OpenCLConfig &) -include/sax/fshelper.hxx:126 +include/sax/fshelper.hxx:129 void sax_fastparser::FastSerializerHelper::singleElementNS(int,int,const rtl::Reference &) -include/sax/fshelper.hxx:130 +include/sax/fshelper.hxx:133 void sax_fastparser::FastSerializerHelper::startElementNS(int,int,const rtl::Reference &) include/sax/tools/converter.hxx:206 _Bool sax::Converter::convertAngle(short &,std::basic_string_view,_Bool) @@ -1002,7 +1038,11 @@ include/sfx2/lokcomponenthelpers.hxx:47 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const std::type_info * SfxType0::Type() const -include/sfx2/viewsh.hxx:400 +include/sfx2/sidebar/SidebarDockingWindow.hxx:48 + const rtl::Reference & sfx2::sidebar::SidebarDockingWindow::GetSidebarController() const +include/sfx2/thumbnailview.hxx:192 + unsigned short ThumbnailView::getNextItemId() const +include/sfx2/viewsh.hxx:404 enum LOKDeviceFormFactor SfxViewShell::GetLOKDeviceFormFactor() const include/svl/itemiter.hxx:44 _Bool SfxItemIter::IsAtEnd() const @@ -1862,8 +1902,6 @@ include/svtools/scrolladaptor.hxx:59 _Bool ScrollAdaptor::IsHoriScroll() const include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const AutoFormatBase &) const -include/svx/ClassificationDialog.hxx:86 - void svx::ClassificationDialog::(anonymous)::__invoke() include/svx/ClassificationField.hxx:48 const rtl::OUString & svx::ClassificationResult::getDisplayText() const include/svx/ClassificationField.hxx:53 @@ -1888,7 +1926,9 @@ include/svx/sidebar/InspectorTextPanel.hxx:49 std::unique_ptr svx::sidebar::InspectorTextPanel::Create(weld::Widget *) include/svx/svdlayer.hxx:74 _Bool SdrLayer::operator==(const SdrLayer &) const -include/svx/svdpntv.hxx:444 +include/svx/svdotable.hxx:145 + rtl::Reference sdr::table::SdrTableObj::getCell(const struct sdr::table::CellPos &) const +include/svx/svdpntv.hxx:445 _Bool SdrPaintView::IsSwapAsynchron() const include/svx/svdtrans.hxx:242 _Bool IsMetric(enum MapUnit) @@ -1962,7 +2002,7 @@ include/tools/gen.hxx:247 Size operator-(const Size &,const Size &) include/tools/gen.hxx:367 Pair & Range::toPair() -include/tools/gen.hxx:434 +include/tools/gen.hxx:430 Pair & Selection::toPair() include/tools/link.hxx:134 const char * Link::getSourceFilename() const @@ -1980,16 +2020,40 @@ include/tools/urlobj.hxx:447 _Bool INetURLObject::SetHost(std::basic_string_view) include/tools/urlobj.hxx:947 int INetURLObject::SubString::set(rtl::OUString &,std::basic_string_view) +include/tools/weakbase.h:77 + tools::WeakReference::WeakReference() +include/tools/weakbase.h:80 + tools::WeakReference::WeakReference(type-parameter-?-? *) +include/tools/weakbase.h:92 + _Bool tools::WeakReference::operator bool() const +include/tools/weakbase.h:98 + void tools::WeakReference::reset(type-parameter-?-? *) +include/tools/weakbase.h:101 + void tools::WeakReference::reset() +include/tools/weakbase.h:104 + type-parameter-?-? * tools::WeakReference::operator->() const +include/tools/weakbase.h:107 + type-parameter-?-? & tools::WeakReference::operator*() const include/tools/weakbase.h:110 _Bool tools::WeakReference::operator==(const type-parameter-?-? *) const +include/tools/weakbase.h:113 + _Bool tools::WeakReference::operator==(const WeakReference &) const +include/tools/weakbase.h:116 + _Bool tools::WeakReference::operator!=(const WeakReference &) const include/tools/weakbase.h:119 _Bool tools::WeakReference::operator<(const WeakReference &) const include/tools/weakbase.h:122 _Bool tools::WeakReference::operator>(const WeakReference &) const +include/tools/weakbase.h:148 + void tools::WeakBase::clearWeak() +include/tools/weakbase.h:151 + struct tools::WeakConnection * tools::WeakBase::getWeakConnection() include/tools/XmlWriter.hxx:61 void tools::XmlWriter::element(const rtl::OString &) include/unotest/directories.hxx:46 rtl::OUString test::Directories::getPathFromWorkdir(std::basic_string_view) const +include/unotools/charclass.hxx:98 + _Bool CharClass::isAlphaNumericType(int) include/unotools/localedatawrapper.hxx:239 const rtl::OUString & LocaleDataWrapper::getLongDateYearSep() const include/unotools/moduleoptions.hxx:165 @@ -2004,18 +2068,18 @@ include/unotools/securityoptions.hxx:57 _Bool SvtSecurityOptions::Certificate::operator==(const struct SvtSecurityOptions::Certificate &) const include/unotools/textsearch.hxx:121 basic_ostream & utl::operator<<(basic_ostream &,const enum utl::SearchParam::SearchType &) -include/unotools/weakref.hxx:66 - unotools::WeakReference::WeakReference(const Reference &) -include/unotools/weakref.hxx:75 +include/unotools/weakref.hxx:70 unotools::WeakReference::WeakReference(type-parameter-?-? &) include/vcl/alpha.hxx:46 _Bool AlphaMask::operator==(const AlphaMask &) const include/vcl/alpha.hxx:47 _Bool AlphaMask::operator!=(const AlphaMask &) const -include/vcl/animate/Animation.hxx:41 +include/vcl/animate/Animation.hxx:42 _Bool Animation::operator!=(const Animation &) const -include/vcl/animate/AnimationBitmap.hxx:68 - _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const +include/vcl/animate/AnimationFrame.hxx:67 + _Bool AnimationFrame::operator!=(const struct AnimationFrame &) const +include/vcl/bitmap.hxx:503 + const basegfx::SystemDependentDataHolder * Bitmap::accessSystemDependentDataHolder() const include/vcl/BitmapBasicMorphologyFilter.hxx:63 BitmapDilateFilter::BitmapDilateFilter(int,unsigned char) include/vcl/BitmapReadAccess.hxx:87 @@ -2034,13 +2098,15 @@ include/vcl/ColorMask.hxx:111 void ColorMask::SetColorFor16BitMSB(const BitmapColor &,unsigned char *) const include/vcl/ColorMask.hxx:113 void ColorMask::SetColorFor16BitLSB(const BitmapColor &,unsigned char *) const -include/vcl/commandevent.hxx:249 +include/vcl/commandevent.hxx:98 + const CommandGestureRotateData * CommandEvent::GetGestureRotateData() const +include/vcl/commandevent.hxx:255 CommandMediaData::CommandMediaData(enum MediaCommand) -include/vcl/commandevent.hxx:256 +include/vcl/commandevent.hxx:262 _Bool CommandMediaData::GetPassThroughToOS() const -include/vcl/commandevent.hxx:276 +include/vcl/commandevent.hxx:282 CommandGestureSwipeData::CommandGestureSwipeData() -include/vcl/commandevent.hxx:293 +include/vcl/commandevent.hxx:299 CommandGestureLongPressData::CommandGestureLongPressData() include/vcl/cursor.hxx:96 _Bool vcl::Cursor::operator!=(const vcl::Cursor &) const @@ -2054,14 +2120,6 @@ include/vcl/customweld.hxx:183 void weld::CustomWeld::set_visible(_Bool) include/vcl/customweld.hxx:187 void weld::CustomWeld::set_tooltip_text(const rtl::OUString &) -include/vcl/errcode.hxx:86 - _Bool ErrCode::operator<(const ErrCode &) const -include/vcl/errcode.hxx:87 - _Bool ErrCode::operator<=(const ErrCode &) const -include/vcl/errcode.hxx:88 - _Bool ErrCode::operator>(const ErrCode &) const -include/vcl/errcode.hxx:89 - _Bool ErrCode::operator>=(const ErrCode &) const include/vcl/fieldvalues.hxx:58 double vcl::ConvertDoubleValue(long,long,unsigned short,enum FieldUnit,enum FieldUnit) include/vcl/filter/pdfdocument.hxx:119 @@ -2070,18 +2128,24 @@ include/vcl/filter/pdfdocument.hxx:128 unsigned long vcl::filter::PDFObjectElement::GetArrayLength() const include/vcl/filter/pdfdocument.hxx:188 vcl::filter::PDFNumberElement & vcl::filter::PDFReferenceElement::GetObjectElement() const -include/vcl/filter/PDFiumLibrary.hxx:56 +include/vcl/filter/PDFiumLibrary.hxx:57 const rtl::OUString & vcl::pdf::PDFium::getLastError() const -include/vcl/filter/PDFiumLibrary.hxx:93 +include/vcl/filter/PDFiumLibrary.hxx:94 std::unique_ptr vcl::pdf::PDFiumAnnotation::getObject(int) -include/vcl/filter/PDFiumLibrary.hxx:99 - basegfx::B2DVector vcl::pdf::PDFiumAnnotation::getBorderCornerRadius() +include/vcl/filter/PDFiumLibrary.hxx:100 + basegfx::B2DSize vcl::pdf::PDFiumAnnotation::getBorderCornerRadius() include/vcl/font/Feature.hxx:49 vcl::font::FeatureParameter::FeatureParameter(unsigned int,struct TranslateId) include/vcl/font/Feature.hxx:76 vcl::font::FeatureDefinition::FeatureDefinition(unsigned int,struct TranslateId,std::vector) +include/vcl/fontcharmap.hxx:139 + int FontCharMap::GetGlyphIndex(unsigned int) const include/vcl/gdimtf.hxx:108 _Bool GDIMetaFile::operator!=(const GDIMetaFile &) const +include/vcl/GestureEventRotate.hxx:36 + GestureEventRotate::GestureEventRotate(int,int,enum GestureEventRotateType,double) +include/vcl/GestureEventZoom.hxx:36 + GestureEventZoom::GestureEventZoom(int,int,enum GestureEventZoomType,double) include/vcl/gradient.hxx:87 _Bool Gradient::operator!=(const Gradient &) const include/vcl/hatch.hxx:57 @@ -2144,11 +2208,11 @@ include/vcl/opengl/OpenGLHelper.hxx:70 void OpenGLHelper::renderToFile(long,long,const rtl::OUString &) include/vcl/opengl/OpenGLHelper.hxx:103 void OpenGLHelper::debugMsgStreamWarn(const std::basic_ostringstream &) -include/vcl/outdev.hxx:1535 +include/vcl/outdev.hxx:1527 void OutputDevice::DrawMask(const Point &,const Size &,const Point &,const Size &,const Bitmap &,const Color &) -include/vcl/outdev.hxx:1625 +include/vcl/outdev.hxx:1617 basegfx::B2DPolyPolygon OutputDevice::LogicToPixel(const basegfx::B2DPolyPolygon &,const MapMode &) const -include/vcl/outdev.hxx:1643 +include/vcl/outdev.hxx:1635 basegfx::B2DPolyPolygon OutputDevice::PixelToLogic(const basegfx::B2DPolyPolygon &,const MapMode &) const include/vcl/salnativewidgets.hxx:408 _Bool TabitemValue::isBothAligned() const @@ -2162,15 +2226,15 @@ include/vcl/settings.hxx:453 void StyleSettings::SetHideDisabledMenuItems(_Bool) include/vcl/settings.hxx:518 void StyleSettings::SetSpinSize(int) -include/vcl/settings.hxx:554 +include/vcl/settings.hxx:551 Size StyleSettings::GetToolbarIconSizePixel() const -include/vcl/settings.hxx:670 +include/vcl/settings.hxx:667 _Bool HelpSettings::operator!=(const HelpSettings &) const -include/vcl/settings.hxx:731 +include/vcl/settings.hxx:728 _Bool AllSettings::operator!=(const AllSettings &) const include/vcl/split.hxx:92 void Splitter::SetHorizontal(_Bool) -include/vcl/svapp.hxx:164 +include/vcl/svapp.hxx:163 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,std::vector &&) include/vcl/svapp.hxx:805 void Application::AppEvent(const ApplicationEvent &) @@ -2258,10 +2322,12 @@ include/vcl/weld.hxx:2238 int weld::TextView::vadjustment_get_lower() const include/vcl/weld.hxx:2460 rtl::OUString weld::Toolbar::get_item_label(const rtl::OString &) const -include/vcl/weld.hxx:2504 +include/vcl/weld.hxx:2505 void weld::Scrollbar::adjustment_configure(int,int,int,int,int,int) -include/vcl/weld.hxx:2520 +include/vcl/weld.hxx:2521 int weld::Scrollbar::get_scroll_thickness() const +include/vcl/weld.hxx:2550 + std::unique_ptr weld::Builder::weld_menu_toggle_button(const rtl::OString &) include/vcl/weldutils.hxx:198 const com::sun::star::uno::Reference & weld::WidgetStatusListener::getFrame() const include/vcl/weldutils.hxx:350 @@ -2280,14 +2346,36 @@ include/xmloff/txtimp.hxx:117 XMLPropertyBackpatcher & XMLTextImportHelper::GetSequenceNameBP() include/xmloff/xmluconv.hxx:190 _Bool SvXMLUnitConverter::convertEnum(type-parameter-?-? &,std::basic_string_view,const SvXMLEnumStringMapEntry *) -libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx:72 - void ::operator()(struct _GtkBuilder *) const +l10ntools/inc/export.hxx:88 + MergeEntrys::MergeEntrys() +l10ntools/inc/export.hxx:89 + void MergeEntrys::InsertEntry(const rtl::OString &,const rtl::OString &,const rtl::OString &,const rtl::OString &) +l10ntools/inc/export.hxx:119 + MergeEntrys * MergeDataFile::GetMergeData(ResData *,_Bool) +l10ntools/inc/export.hxx:120 + void MergeDataFile::InsertEntry(std::basic_string_view,std::basic_string_view,std::basic_string_view,const rtl::OString &,const rtl::OString &,const rtl::OString &,const rtl::OString &,std::basic_string_view,_Bool,_Bool) +l10ntools/inc/export.hxx:137 + rtl::OString MergeDataFile::CreateKey(std::basic_string_view,std::basic_string_view,std::basic_string_view,std::basic_string_view,_Bool) +l10ntools/inc/helper.hxx:27 + rtl::OString helper::escapeAll(std::basic_string_view,std::basic_string_view,std::basic_string_view) +l10ntools/inc/helper.hxx:30 + rtl::OString helper::unEscapeAll(std::basic_string_view,std::basic_string_view,std::basic_string_view) +l10ntools/inc/po.hxx:49 + PoEntry::PoEntry(std::basic_string_view,std::basic_string_view,std::basic_string_view,std::basic_string_view,std::basic_string_view,const rtl::OString &,const enum PoEntry::TYPE) +l10ntools/inc/po.hxx:58 + const rtl::OString & PoEntry::getSourceFile() const +l10ntools/inc/po.hxx:60 + rtl::OString PoEntry::getLocalId() const +l10ntools/inc/po.hxx:61 + rtl::OString PoEntry::getResourceType() const +l10ntools/inc/po.hxx:62 + enum PoEntry::TYPE PoEntry::getType() const +l10ntools/inc/po.hxx:69 + _Bool PoEntry::IsInSameComp(const PoEntry &,const PoEntry &) +l10ntools/inc/po.hxx:70 + rtl::OString PoEntry::genKeyId(const rtl::OString &) libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx:31 void * gtv_comments_sidebar_get_instance_private(struct GtvCommentsSidebar *) -libreofficekit/qa/gtktiledviewer/gtv-helpers.cxx:80 - void ::operator()(struct _GtkTargetList *) const -libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx:184 - void ::operator()(struct _GList *) const libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) lotuswordpro/source/filter/clone.hxx:28 @@ -2318,28 +2406,16 @@ oox/source/drawingml/diagram/diagramlayoutatoms.hxx:331 const std::vector > & oox::drawingml::LayoutNode::getNodeShapes() const oox/source/drawingml/diagram/diagramlayoutatoms.hxx:340 const oox::drawingml::LayoutNode * oox::drawingml::LayoutNode::getParentLayoutNode() const -sal/osl/unx/uunxapi.hxx:39 - int mkdir_c(const rtl::OString &,unsigned int) -sal/osl/unx/uunxapi.hxx:74 - int osl::lstat(const rtl::OUString &,struct stat &) -sal/rtl/strtmpl.hxx:55 - null_terminated rtl::str::(null_terminated) -sal/rtl/strtmpl.hxx:58 - null_terminated rtl::str::(type-parameter-?-? *) -sal/rtl/strtmpl.hxx:66 - _Bool rtl::str::operator==(struct rtl::str::null_terminated::EndDetector,type-parameter-?-? *) -sal/rtl/strtmpl.hxx:68 - _Bool rtl::str::operator!=(struct rtl::str::null_terminated::EndDetector,type-parameter-?-? *) -sal/rtl/strtmpl.hxx:74 - with_length rtl::str::(with_length) -sal/rtl/strtmpl.hxx:78 - with_length rtl::str::(type-parameter-?-? *,int) -sal/rtl/strtmpl.hxx:112 - FromTo rtl::str::(FromTo) -sal/rtl/strtmpl.hxx:116 - FromTo rtl::str::(type-parameter-?-?,type-parameter-?-?) -sal/rtl/strtmpl.hxx:1581 - auto ::operator()(type-parameter-?-? **,int *,int &,type-parameter-?-?) const +sal/rtl/strimp.hxx:49 + struct _rtl_uString * rtl_uString_ImplAlloc(int) +sal/rtl/strimp.hxx:51 + struct _rtl_String * rtl_string_ImplAlloc(int) +sal/textenc/unichars.hxx:32 + _Bool ImplIsControlOrFormat(unsigned int) +sal/textenc/unichars.hxx:34 + _Bool ImplIsPrivateUse(unsigned int) +sal/textenc/unichars.hxx:36 + _Bool ImplIsZeroWidth(unsigned int) sc/inc/address.hxx:663 _Bool ScRange::operator<=(const ScRange &) const sc/inc/appluno.hxx:37 @@ -2368,7 +2444,7 @@ sc/inc/document.hxx:895 rtl::OUString ScDocument::MaxRowAsString() const sc/inc/dpfilteredcache.hxx:148 void ScDPFilteredCache::dump() const -sc/inc/formulacell.hxx:508 +sc/inc/formulacell.hxx:510 void ScFormulaCell::Dump() const sc/inc/funcuno.hxx:35 com::sun::star::uno::Reference ScFunctionAccess_CreateInstance(const com::sun::star::uno::Reference &) @@ -2436,8 +2512,6 @@ sc/inc/mtvelements.hxx:90 void svl::mdds_mtv_insert_values(mdds::mtv::base_element_block &,unsigned long,const svl::SharedString &,const type-parameter-?-? &,const type-parameter-?-? &) sc/inc/mtvfunctions.hxx:376 void sc::ProcessElements2(type-parameter-?-? &,type-parameter-?-? &,type-parameter-?-? &) -sc/inc/postit.hxx:46 - ScCaptionPtr::ScCaptionPtr(SdrCaptionObj *) sc/inc/rangecache.hxx:94 unsigned long ScSortedRangeCache::size() const sc/inc/scdll.hxx:35 @@ -2468,9 +2542,9 @@ sc/inc/stlalgorithm.hxx:60 _Bool sc::AlignedAllocator::operator==(const AlignedAllocator &) const sc/inc/stlalgorithm.hxx:61 _Bool sc::AlignedAllocator::operator!=(const AlignedAllocator &) const -sc/inc/table.hxx:330 +sc/inc/table.hxx:338 _Bool ScTable::IsColRowTabValid(const short,const int,const short) const -sc/inc/table.hxx:726 +sc/inc/table.hxx:734 const type-parameter-?-? * ScTable::GetAttr(short,int,TypedWhichId,int &,int &) const sc/inc/userlist.hxx:89 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator *, std::__cxx1998::vector > >, std::vector >, struct std::random_access_iterator_tag> ScUserList::begin() const @@ -2478,36 +2552,38 @@ sc/qa/unit/helper/qahelper.hxx:115 std::basic_ostream & operator<<(std::basic_ostream &,const enum OpCode &) sc/qa/unit/helper/qahelper.hxx:165 std::basic_string print(const ScAddress &) -sc/qa/unit/ucalc_copypaste.cxx:10835 +sc/qa/unit/ucalc_copypaste.cxx:10800 int main() sc/source/core/inc/interpre.hxx:71 basic_ostream & sc::operator<<(basic_ostream &,const struct sc::ParamIfsResult &) -sc/source/core/opencl/formulagroupcl.cxx:1063 - _Bool sc::opencl::(anonymous namespace)::DynamicKernelSlidingArgument::NeedParallelReduction() const -sc/source/core/opencl/formulagroupcl.cxx:1071 - void sc::opencl::(anonymous namespace)::DynamicKernelSlidingArgument::GenSlidingWindowFunction(std::basic_stringstream &) -sc/source/core/opencl/formulagroupcl.cxx:1354 - void sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GenSlidingWindowFunction(std::basic_stringstream &) -sc/source/core/opencl/formulagroupcl.cxx:1356 - std::basic_string sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GenSlidingWindowDeclRef(_Bool) const -sc/source/core/opencl/formulagroupcl.cxx:1370 - unsigned long sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::Marshal(struct _cl_kernel *,int,int,struct _cl_program *) -sc/source/core/opencl/formulagroupcl.cxx:1383 - unsigned long sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GetArrayLength() const -sc/source/core/opencl/formulagroupcl.cxx:1385 - unsigned long sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GetWindowSize() const -sc/source/core/opencl/formulagroupcl.cxx:1387 - _Bool sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GetStartFixed() const -sc/source/core/opencl/formulagroupcl.cxx:1389 - _Bool sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GetEndFixed() const -sc/source/core/opencl/op_statistical.hxx:205 - sc::opencl::OpGeoMean::OpGeoMean() -sc/source/core/tool/interpr1.cxx:4170 - double ::operator()(double,unsigned long) const -sc/source/core/tool/interpr1.cxx:6559 - double ::operator()(const struct sc::ParamIfsResult &) const +sc/source/core/opencl/opbase.hxx:151 + std::basic_string sc::opencl::DynamicKernelArgument::GenDoubleSlidingWindowDeclRef(_Bool) const +sc/source/core/opencl/opbase.hxx:154 + std::basic_string sc::opencl::DynamicKernelArgument::GenStringSlidingWindowDeclRef(_Bool) const +sc/source/core/opencl/opbase.hxx:391 + void sc::opencl::SlidingFunctionBase::GenerateRangeArg(int,int,std::vector > &,sc::opencl::outputstream &,enum sc::opencl::SlidingFunctionBase::EmptyArgType,const char *,const char *) +sc/source/core/opencl/opbase.hxx:446 + _Bool sc::opencl::DynamicKernelSlidingArgument::NeedParallelReduction() const +sc/source/core/opencl/opbase.hxx:447 + void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(sc::opencl::outputstream &) +sc/source/core/opencl/opbase.hxx:480 + void sc::opencl::ParallelReductionVectorRef::GenSlidingWindowFunction(sc::opencl::outputstream &) +sc/source/core/opencl/opbase.hxx:481 + std::basic_string sc::opencl::ParallelReductionVectorRef::GenSlidingWindowDeclRef(_Bool) const +sc/source/core/opencl/opbase.hxx:484 + unsigned long sc::opencl::ParallelReductionVectorRef::Marshal(struct _cl_kernel *,int,int,struct _cl_program *) +sc/source/core/opencl/opbase.hxx:485 + unsigned long sc::opencl::ParallelReductionVectorRef::GetArrayLength() const +sc/source/core/opencl/opbase.hxx:486 + unsigned long sc::opencl::ParallelReductionVectorRef::GetWindowSize() const +sc/source/core/opencl/opbase.hxx:487 + _Bool sc::opencl::ParallelReductionVectorRef::GetStartFixed() const +sc/source/core/opencl/opbase.hxx:488 + _Bool sc::opencl::ParallelReductionVectorRef::GetEndFixed() const sc/source/core/tool/scmatrix.cxx:2263 type-parameter-?-? * (anonymous namespace)::wrapped_iterator::operator->() const +sc/source/filter/inc/formulabase.hxx:661 + rtl::OUString oox::xls::FormulaProcessorBase::generateApiString(const rtl::OUString &) sc/source/filter/inc/orcusinterface.hxx:76 ScOrcusRefResolver::ScOrcusRefResolver(const ScOrcusGlobalSettings &) sc/source/filter/inc/orcusinterface.hxx:632 @@ -2620,10 +2696,12 @@ sd/source/ui/inc/PaneShells.hxx:33 void sd::LeftImpressPaneShell::RegisterInterface(const SfxModule *) sd/source/ui/inc/PaneShells.hxx:50 void sd::LeftDrawPaneShell::RegisterInterface(const SfxModule *) -sd/source/ui/inc/unomodel.hxx:135 +sd/source/ui/inc/unomodel.hxx:137 _Bool SdXImpressDocument::operator==(const SdXImpressDocument &) const sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx:199 _Bool sd::slidesorter::view::InsertPosition::operator!=(const sd::slidesorter::view::InsertPosition &) const +sdext/source/pdfimport/inc/pdfiprocessor.hxx:82 + rtl::OUString pdfi::PDFIProcessor::mirrorString(const rtl::OUString &) sdext/source/pdfimport/pdfparse/pdfparse.cxx:112 long (anonymous namespace)::PDFGrammar>::pdf_string_parser::operator()(const type-parameter-?-? &,struct boost::spirit::classic::nil_t &) const sfx2/inc/autoredactdialog.hxx:74 @@ -2682,8 +2760,6 @@ slideshow/source/engine/animationfactory.cxx:716 _Bool slideshow::internal::(anonymous namespace)::GenericAnimation::operator()(typename type-parameter-?-?::ValueType) slideshow/source/engine/animationfactory.cxx:737 typename type-parameter-?-?::ValueType slideshow::internal::(anonymous namespace)::GenericAnimation::getUnderlyingValue() const -slideshow/source/engine/opengl/TransitionImpl.cxx:1438 - struct std::array (anonymous namespace)::(anonymous)::__invoke() slideshow/source/engine/opengl/TransitionImpl.hxx:180 void OGLTransitionImpl::cleanup() slideshow/source/inc/box2dtools.hxx:159 @@ -2710,6 +2786,8 @@ slideshow/source/inc/listenercontainer.hxx:54 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const std::shared_ptr &) slideshow/source/inc/listenercontainer.hxx:54 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const std::shared_ptr &) +starmath/inc/ElementsDockingWindow.hxx:71 + void SmElementsControl::setVerticalMode(_Bool) starmath/inc/format.hxx:137 _Bool SmFormat::operator!=(const SmFormat &) const starmath/inc/mathml/attribute.hxx:80 @@ -2728,32 +2806,20 @@ starmath/inc/mathml/element.hxx:132 int SmMlElement::GetSourceCodeRow() const starmath/inc/mathml/element.hxx:139 int SmMlElement::GetSourceCodeColumn() const -starmath/inc/mathml/export.hxx:54 - void SmMLExportWrapper::setFlat(_Bool) starmath/inc/mathml/export.hxx:58 _Bool SmMLExportWrapper::getFlat() const -starmath/inc/mathml/export.hxx:62 - void SmMLExportWrapper::setUseHTMLMLEntities(_Bool) starmath/inc/mathml/export.hxx:69 _Bool SmMLExportWrapper::getUseHTMLMLEntities() const starmath/inc/mathml/export.hxx:73 _Bool SmMLExportWrapper::getUseExportTag() const starmath/inc/mathml/export.hxx:77 void SmMLExportWrapper::setUseExportTag(_Bool) -starmath/inc/mathml/export.hxx:80 - SmMLExportWrapper::SmMLExportWrapper(com::sun::star::uno::Reference) -starmath/inc/mathml/export.hxx:91 - _Bool SmMLExportWrapper::Export(SfxMedium &) starmath/inc/mathml/export.hxx:95 rtl::OUString SmMLExportWrapper::Export(SmMlElement *) starmath/inc/mathml/export.hxx:138 _Bool SmMLExport::getUseExportTag() const starmath/inc/mathml/import.hxx:38 SmMlElement * SmMLImportWrapper::getElementTree() -starmath/inc/mathml/import.hxx:43 - SmMLImportWrapper::SmMLImportWrapper(com::sun::star::uno::Reference) -starmath/inc/mathml/import.hxx:52 - ErrCode SmMLImportWrapper::Import(SfxMedium &) starmath/inc/mathml/import.hxx:56 ErrCode SmMLImportWrapper::Import(std::basic_string_view) starmath/inc/mathml/import.hxx:144 @@ -2764,8 +2830,18 @@ starmath/inc/mathml/iterator.hxx:22 void mathml::SmMlIteratorBottomToTop(SmMlElement *,type-parameter-?-?,void *) starmath/inc/mathml/iterator.hxx:121 SmMlElement * mathml::SmMlIteratorCopy(SmMlElement *) +starmath/inc/mathml/mathmlexport.hxx:52 + SmXMLExportWrapper::SmXMLExportWrapper(com::sun::star::uno::Reference) +starmath/inc/mathml/mathmlexport.hxx:59 + _Bool SmXMLExportWrapper::Export(SfxMedium &) +starmath/inc/mathml/mathmlexport.hxx:60 + void SmXMLExportWrapper::SetFlat(_Bool) starmath/inc/mathml/mathmlexport.hxx:62 _Bool SmXMLExportWrapper::IsUseHTMLMLEntities() const +starmath/inc/mathml/mathmlexport.hxx:63 + void SmXMLExportWrapper::SetUseHTMLMLEntities(_Bool) +starmath/inc/mathml/mathmlimport.hxx:56 + void SmXMLImportWrapper::useHTMLMLEntities(_Bool) starmath/inc/mathml/mathmlimport.hxx:112 unsigned short SmXMLImport::GetSmSyntaxVersion() const starmath/inc/mathml/mathmlMo.hxx:83 @@ -2830,6 +2906,10 @@ sw/inc/calbck.hxx:294 sw::WriterListener * sw::ClientIteratorBase::GetLeftOfPos() sw/inc/contentindex.hxx:68 int SwContentIndex::operator--(int) +sw/inc/contentindex.hxx:80 + _Bool SwContentIndex::operator>(const int) const +sw/inc/contentindex.hxx:83 + _Bool SwContentIndex::operator!=(const int) const sw/inc/contentindex.hxx:113 std::basic_ostream & operator<<(std::basic_ostream &,const SwContentIndex &) sw/inc/dbgoutsw.hxx:54 @@ -2900,7 +2980,7 @@ sw/inc/extinput.hxx:47 SwExtTextInput * SwExtTextInput::GetPrev() sw/inc/extinput.hxx:48 const SwExtTextInput * SwExtTextInput::GetPrev() const -sw/inc/formatcontentcontrol.hxx:80 +sw/inc/formatcontentcontrol.hxx:81 SwFormatContentControl * SwFormatContentControl::CreatePoolDefault(unsigned short) sw/inc/frameformats.hxx:80 void SwFrameFormats::erase(unsigned long) @@ -2928,26 +3008,30 @@ sw/inc/IDocumentMarkAccess.hxx:106 _Bool IDocumentMarkAccess::iterator::operator>=(const IDocumentMarkAccess::iterator &) const sw/inc/modcfg.hxx:344 _Bool SwModuleOptions::IsFileEncryptedFromColumn() const -sw/inc/ndindex.hxx:113 - _Bool SwNodeIndex::operator<=(const SwNode &) const -sw/inc/ndindex.hxx:115 - _Bool SwNodeIndex::operator>=(const SwNode &) const +sw/inc/ndindex.hxx:127 + SwNodeIndex & SwNodeIndex::Assign(const SwNodes &,struct o3tl::strong_int) +sw/inc/ndindex.hxx:139 + std::basic_ostream & operator<<(std::basic_ostream &,const SwNodeIndex &) sw/inc/node.hxx:245 const IDocumentStylePoolAccess & SwNode::getIDocumentStylePoolAccess() const sw/inc/node.hxx:249 const IDocumentDrawModelAccess & SwNode::getIDocumentDrawModelAccess() const +sw/inc/node.hxx:414 + void SwContentNode::MakeStartIndex(SwContentIndex *) +sw/inc/node.hxx:415 + void SwContentNode::MakeEndIndex(SwContentIndex *) sw/inc/pagedesc.hxx:445 void SwPageDescs::erase(SwPageDesc *const &) sw/inc/pagedesc.hxx:453 SwPageDesc *const & SwPageDescs::front() const sw/inc/pagedesc.hxx:454 SwPageDesc *const & SwPageDescs::back() const -sw/inc/pam.hxx:48 - SwPosition::SwPosition(const SwNode &,const SwContentNode *,const int) sw/inc/pam.hxx:49 SwPosition::SwPosition(const SwNodeIndex &,struct o3tl::strong_int,const SwContentNode *,int) sw/inc/pam.hxx:50 SwPosition::SwPosition(const SwNode &,struct o3tl::strong_int,const SwContentNode *,int) +sw/inc/pam.hxx:51 + SwPosition::SwPosition(const SwContentIndex &,short) sw/inc/pam.hxx:334 std::basic_ostream & operator<<(std::basic_ostream &,const SwPaM &) sw/inc/rdfhelper.hxx:76 @@ -2960,6 +3044,8 @@ sw/inc/ring.hxx:203 sw::RingIterator::RingIterator() sw/inc/shellio.hxx:85 void SwAsciiOptions::SetIncludeHidden(_Bool) +sw/inc/swabstdlg.hxx:394 + std::optional AbstractSwTranslateLangSelectDlg::GetSelectedLanguage() sw/inc/swatrset.hxx:219 const SvxNoHyphenItem & SwAttrSet::GetNoHyphenHere(_Bool) const sw/inc/swcrsr.hxx:307 @@ -2978,17 +3064,19 @@ sw/inc/swrect.hxx:152 _Bool SwRect::OverStepTop(long) const sw/inc/textboxhelper.hxx:252 _Bool SwTextBoxNode::IsGroupTextBox() const -sw/inc/view.hxx:462 +sw/inc/view.hxx:463 void SwView::LinkStubMoveNavigationHdl(void *,void *) -sw/inc/viscrs.hxx:217 +sw/inc/viewsh.hxx:404 + void SwViewShell::SetUseVirDev(_Bool) +sw/inc/viscrs.hxx:224 SwShellTableCursor * SwShellTableCursor::GetNext() -sw/inc/viscrs.hxx:218 +sw/inc/viscrs.hxx:225 const SwShellTableCursor * SwShellTableCursor::GetNext() const -sw/inc/viscrs.hxx:219 +sw/inc/viscrs.hxx:226 SwShellTableCursor * SwShellTableCursor::GetPrev() -sw/inc/viscrs.hxx:220 +sw/inc/viscrs.hxx:227 const SwShellTableCursor * SwShellTableCursor::GetPrev() const -sw/qa/inc/swmodeltestbase.hxx:287 +sw/qa/inc/swmodeltestbase.hxx:295 com::sun::star::uno::Reference SwModelTestBase::getParagraphAnchoredObject(const int,const com::sun::star::uno::Reference &) const sw/source/core/access/accportions.cxx:55 unsigned long FindBreak(const vector > &,type-parameter-?-?) @@ -3050,9 +3138,9 @@ vcl/inc/driverblocklist.hxx:95 DriverBlocklist::DriverInfo::DriverInfo(enum DriverBlocklist::OperatingSystem,rtl::OUString,enum DriverBlocklist::VersionComparisonOp,unsigned long,_Bool,const char *) vcl/inc/font/FontSelectPattern.hxx:52 _Bool vcl::font::FontSelectPattern::operator!=(const vcl::font::FontSelectPattern &) const -vcl/inc/fontinstance.hxx:92 +vcl/inc/font/LogicalFontInstance.hxx:92 void LogicalFontInstance::SetAverageWidthFactor(double) -vcl/inc/fontinstance.hxx:93 +vcl/inc/font/LogicalFontInstance.hxx:93 double LogicalFontInstance::GetAverageWidthFactor() const vcl/inc/graphic/GraphicID.hxx:39 _Bool GraphicID::operator==(const GraphicID &) const @@ -3070,12 +3158,8 @@ vcl/inc/qt5/QtDragAndDrop.hxx:49 void QtDragSource::deinitialize() vcl/inc/qt5/QtDragAndDrop.hxx:80 void QtDropTarget::deinitialize() -vcl/inc/qt5/QtFontFace.hxx:43 +vcl/inc/qt5/QtFontFace.hxx:41 QtFontFace * QtFontFace::fromQFont(const QFont &) -vcl/inc/qt5/QtFontFace.hxx:54 - int QtFontFace::GetFontTable(const char *,unsigned char *) const -vcl/inc/qt5/QtFontFace.hxx:58 - _Bool QtFontFace::HasChar(unsigned int) const vcl/inc/qt5/QtFrame.hxx:149 QPoint QtFrame::mapFromParent(const QPoint &) const vcl/inc/qt5/QtFrame.hxx:164 @@ -3102,8 +3186,6 @@ vcl/inc/regionband.hxx:27 const char * ImplDbgTestRegionBand(const void *) vcl/inc/salframe.hxx:159 rtl::OUString SalFrame::DumpSetPosSize(long,long,long,long,unsigned short) -vcl/inc/salgdi.hxx:691 - void SalGraphics::FillFontSubsetInfo(const struct vcl::TTGlobalFontInfo_ &,const rtl::OUString &,FontSubsetInfo &) vcl/inc/salgeom.hxx:69 std::basic_ostream & operator<<(std::basic_ostream &,const SalFrameGeometry &) vcl/inc/salmenu.hxx:47 @@ -3118,10 +3200,12 @@ vcl/inc/saltimer.hxx:90 _Bool VersionedEvent::ExistsValidEvent() const vcl/inc/saltimer.hxx:95 _Bool VersionedEvent::IsValidEventVersion(const int) const -vcl/inc/salwtype.hxx:132 +vcl/inc/salwtype.hxx:136 SalMenuEvent::SalMenuEvent() vcl/inc/schedulerimpl.hxx:49 const char * ImplSchedulerData::GetDebugName() const +vcl/inc/sft.hxx:663 + std::unique_ptr vcl::GetTTSimpleGlyphMetrics(const vcl::AbstractTrueTypeFont *,const unsigned short *,int,_Bool) vcl/inc/skia/gdiimpl.hxx:49 const vcl::Region & SkiaSalGraphicsImpl::getClipRegion() const vcl/inc/skia/gdiimpl.hxx:204 @@ -3138,8 +3222,10 @@ vcl/inc/skia/utils.hxx:249 void SkiaHelper::dump(const SkBitmap &,const char *) vcl/inc/skia/zone.hxx:25 void SkiaZone::relaxWatchdogTimings() -vcl/inc/unx/fontmanager.hxx:179 - void psp::PrintFontManager::fillPrintFontInfo(struct psp::PrintFontManager::PrintFont &,struct psp::PrintFontInfo &) const +vcl/inc/unx/glyphcache.hxx:127 + const unsigned char * FreetypeFont::GetTable(const char *,unsigned long *) const +vcl/inc/unx/glyphcache.hxx:128 + _Bool FreetypeFont::GetFontCapabilities(struct vcl::FontCapabilities &) const vcl/inc/unx/gtk/gtkframe.hxx:298 void GtkSalFrame::DrawingAreaFocusInOut(enum SalEvent) vcl/inc/unx/gtk/gtksalmenu.hxx:81 @@ -3152,18 +3238,18 @@ vcl/inc/unx/salframe.h:186 enum SalFrameStyleFlags X11SalFrame::GetStyle() const vcl/qa/cppunit/lifecycle.cxx:197 (anonymous namespace)::LeakTestClass::LeakTestClass(_Bool &,type-parameter-?-? &&...) -vcl/skia/salbmp.cxx:639 - void ::operator()(void *,void *) const vcl/source/app/scheduler.cxx:83 basic_ostream & (anonymous namespace)::operator<<(basic_ostream &,const Idle &) -vcl/source/bitmap/BitmapColorQuantizationFilter.cxx:105 - int ::operator()(const void *,const void *) const -vcl/source/edit/textdat2.hxx:86 +vcl/source/edit/textdat2.hxx:85 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator >, std::vector, struct std::random_access_iterator_tag> TETextPortionList::begin() const -vcl/source/edit/textdat2.hxx:88 +vcl/source/edit/textdat2.hxx:87 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator >, std::vector, struct std::random_access_iterator_tag> TETextPortionList::end() const vcl/source/filter/FilterConfigCache.hxx:71 rtl::OUString FilterConfigCache::GetImportFormatMediaType(unsigned short) +vcl/source/fontsubset/ttcr.hxx:85 + enum vcl::SFErrCodes vcl::TrueTypeCreator::StreamToFile(const char *) +vcl/source/fontsubset/ttcr.hxx:269 + vcl::TrueTypeTableName::TrueTypeTableName(int,const struct vcl::NameRecord *) vcl/source/fontsubset/xlat.hxx:30 unsigned short vcl::TranslateChar12(unsigned short) vcl/source/fontsubset/xlat.hxx:31 @@ -3212,10 +3298,6 @@ vcl/unx/gtk3/gloactiongroup.cxx:51 void * g_lo_action_get_instance_private(struct (anonymous namespace)::GLOAction *) vcl/unx/gtk3/glomenu.cxx:32 void * g_lo_menu_get_instance_private(struct GLOMenu *) -writerfilter/source/dmapper/DomainMapper.hxx:111 - writerfilter::dmapper::GraphicNamingHelper & writerfilter::dmapper::DomainMapper::GetGraphicNamingHelper() -writerfilter/source/dmapper/GraphicHelpers.hxx:75 - rtl::OUString writerfilter::dmapper::GraphicNamingHelper::NameGraphic(const rtl::OUString &) writerfilter/source/dmapper/PropertyMap.hxx:380 int writerfilter::dmapper::SectionPropertyMap::GetBreakType() const writerfilter/source/dmapper/SettingsTable.hxx:81 diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index e2faddb1ee39..5a5bc9e02ce3 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -32,6 +32,8 @@ include/basegfx/vector/b3dvector.hxx:144 basegfx::B3DVector & basegfx::B3DVector::setLength(double) include/basegfx/vector/b3dvector.hxx:169 basegfx::B3DVector & basegfx::B3DVector::normalize() +include/basic/sbstar.hxx:62 + _Bool StarBASIC::RTError(ErrCode,const rtl::OUString &,int,int,int) include/comphelper/backupfilehelper.hxx:205 _Bool comphelper::BackupFileHelper::tryPush_extensionInfo(std::basic_string_view) include/editeng/editview.hxx:263 @@ -112,13 +114,13 @@ include/oox/ole/olehelper.hxx:176 _Bool oox::ole::MSConvertOCXControls::importControlFromStream(oox::BinaryInputStream &,com::sun::star::uno::Reference &,std::basic_string_view) include/oox/ole/olehelper.hxx:187 _Bool oox::ole::MSConvertOCXControls::ReadOCXCtlsStream(const tools::SvRef &,com::sun::star::uno::Reference &,int,int) -include/sax/fshelper.hxx:136 +include/sax/fshelper.hxx:139 sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int) -include/sax/fshelper.hxx:137 +include/sax/fshelper.hxx:140 sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long) -include/sax/fshelper.hxx:138 +include/sax/fshelper.hxx:141 sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(double) -include/sax/fshelper.hxx:140 +include/sax/fshelper.hxx:143 sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::writeEscaped(const char *) include/sfx2/linkmgr.hxx:65 _Bool sfx2::LinkManager::InsertLink(sfx2::SvBaseLink *,enum sfx2::SvBaseLinkObjectType,enum SfxLinkUpdateMode,const rtl::OUString *) @@ -170,7 +172,7 @@ include/vcl/filter/SvmWriter.hxx:37 SvStream & SvmWriter::Write(const GDIMetaFile &) include/vcl/formatter.hxx:218 _Bool Formatter::SetFormat(const rtl::OUString &,struct o3tl::strong_int) -include/vcl/graphicfilter.hxx:256 +include/vcl/graphicfilter.hxx:257 ErrCode GraphicFilter::ExportGraphic(const Graphic &,const INetURLObject &,unsigned short,const com::sun::star::uno::Sequence *) include/vcl/GraphicNativeMetadata.hxx:34 _Bool GraphicNativeMetadata::read(SvStream &) @@ -204,10 +206,10 @@ sc/inc/orcusfilters.hxx:44 _Bool ScOrcusFilters::importODS_Styles(ScDocument &,rtl::OUString &) const sc/inc/scabstdlg.hxx:55 _Bool ScAsyncTabController::StartExecuteAsync(struct VclAbstractDialog::AsyncContext &) -sc/source/core/opencl/formulagroupcl.cxx:1096 - unsigned long sc::opencl::(anonymous namespace)::DynamicKernelSlidingArgument::GenReductionLoopHeader(std::basic_stringstream &,_Bool &) -sc/source/core/opencl/formulagroupcl.cxx:1367 - unsigned long sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GenReductionLoopHeader(std::basic_stringstream &,int,_Bool &) +sc/source/core/opencl/opbase.hxx:451 + unsigned long sc::opencl::DynamicKernelSlidingArgument::GenReductionLoopHeader(sc::opencl::outputstream &,_Bool &) +sc/source/core/opencl/opbase.hxx:483 + unsigned long sc::opencl::ParallelReductionVectorRef::GenReductionLoopHeader(sc::opencl::outputstream &,int,_Bool &) sc/source/filter/inc/workbookhelper.hxx:262 _Bool oox::xls::WorkbookHelper::importOoxFragment(const rtl::Reference &,oox::core::FastParser &) sc/source/filter/xml/XMLStylesExportHelper.hxx:174 @@ -258,7 +260,7 @@ sc/source/ui/vba/vbaformat.hxx:145 com::sun::star::uno::Any ScVbaFormat::getMergeCells() sc/source/ui/vba/vbaformat.hxx:151 com::sun::star::uno::Any ScVbaFormat::getReadingOrder() -sd/source/filter/eppt/pptx-epptooxml.cxx:132 +sd/source/filter/eppt/pptx-epptooxml.cxx:133 oox::drawingml::ShapeExport & oox::core::PowerPointShapeExport::WritePageShape(const com::sun::star::uno::Reference &,enum PageType,_Bool) sd/source/ui/inc/DrawViewShell.hxx:252 _Bool sd::DrawViewShell::SelectPage(unsigned short,unsigned short) @@ -292,13 +294,15 @@ sw/inc/IDocumentUndoRedo.hxx:100 _Bool IDocumentUndoRedo::Undo() sw/inc/IDocumentUndoRedo.hxx:181 _Bool IDocumentUndoRedo::Repeat(sw::RepeatContext &,const unsigned short) +sw/inc/node.hxx:418 + _Bool SwContentNode::GoNext(struct SwPosition *,enum SwCursorSkipMode) const sw/inc/tblafmt.hxx:267 _Bool SwTableAutoFormatTable::Load(SvStream &) -sw/qa/inc/swmodeltestbase.hxx:386 +sw/qa/inc/swmodeltestbase.hxx:394 SwDoc * SwModelTestBase::createSwWebDoc(std::basic_string_view,const char *) sw/source/core/inc/laycache.hxx:64 _Bool SwLayoutCache::CompareLayout(const SwDoc &) const -sw/source/core/inc/scriptinfo.hxx:237 +sw/source/core/inc/scriptinfo.hxx:239 _Bool SwScriptInfo::GetBoundsOfHiddenRange(struct o3tl::strong_int,struct o3tl::strong_int &,struct o3tl::strong_int &) const sw/source/filter/ww8/ww8toolbar.hxx:337 _Bool Tcg::ImportCustomToolBar(SfxObjectShell &) @@ -308,8 +312,6 @@ sw/source/uibase/inc/fldmgr.hxx:118 const com::sun::star::uno::Reference & SwFieldMgr::GetNumberingInfo() const sw/source/uibase/inc/mailmergewizard.hxx:79 _Bool SwMailMergeWizard::skipUntil(unsigned short) -sw/source/uibase/inc/numpara.hxx:61 - _Bool SwParagraphNumTabPage::ExecuteEditNumStyle_Impl(unsigned short,const rtl::OUString &,enum SfxStyleFamily) sw/source/uibase/inc/wrtsh.hxx:431 _Bool SwWrtShell::GotoContentControl(const SwFormatContentControl &) ucb/source/ucp/webdav-curl/ContentProperties.hxx:160 @@ -318,16 +320,12 @@ vcl/inc/font/FeatureCollector.hxx:45 _Bool vcl::font::FeatureCollector::collect() vcl/inc/impgraph.hxx:186 _Bool ImpGraphic::swapOutGraphic(SvStream &) -vcl/inc/pdf/pdfwriter_impl.hxx:1265 +vcl/inc/pdf/pdfwriter_impl.hxx:1299 _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) -vcl/inc/pdf/pdfwriter_impl.hxx:1266 +vcl/inc/pdf/pdfwriter_impl.hxx:1300 _Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue) -vcl/inc/pdf/pdfwriter_impl.hxx:1267 +vcl/inc/pdf/pdfwriter_impl.hxx:1301 _Bool vcl::PDFWriterImpl::setStructureAttributeNumerical(enum vcl::PDFWriter::StructAttribute,int) -vcl/inc/qt5/QtAccessibleWidget.hxx:48 - QString QtAccessibleWidget::tr(const char *,const char *,int) -vcl/inc/qt5/QtAccessibleWidget.hxx:48 - QString QtAccessibleWidget::trUtf8(const char *,const char *,int) vcl/inc/qt5/QtClipboard.hxx:36 QString QtClipboard::tr(const char *,const char *,int) vcl/inc/qt5/QtClipboard.hxx:36 @@ -360,22 +358,26 @@ vcl/inc/qt5/QtTimer.hxx:27 QString QtTimer::tr(const char *,const char *,int) vcl/inc/qt5/QtTimer.hxx:27 QString QtTimer::trUtf8(const char *,const char *,int) -vcl/inc/salgdi.hxx:414 +vcl/inc/salgdi.hxx:362 _Bool SalGraphics::UpdateSettings(AllSettings &) -vcl/inc/salgdi.hxx:416 +vcl/inc/salgdi.hxx:364 _Bool SalGraphics::BlendBitmap(const struct SalTwoRect &,const SalBitmap &,const OutputDevice &) -vcl/inc/salgdi.hxx:525 +vcl/inc/salgdi.hxx:481 _Bool SalGraphics::implDrawGradient(const basegfx::B2DPolyPolygon &,const struct SalGradient &) vcl/inc/salinst.hxx:177 _Bool SalInstance::CallEventCallback(const void *,int) vcl/inc/salprn.hxx:113 _Bool SalPrinter::EndJob() -vcl/inc/salvtables.hxx:1621 +vcl/inc/salvtables.hxx:1625 _Bool SalInstanceTreeView::get_iter_abs_pos(weld::TreeIter &,int) const vcl/inc/unx/gtk/gtkdata.hxx:335 int GtkSalDisplay::CaptureMouse(SalFrame *) vcl/inc/unx/salframe.h:168 _Bool X11SalFrame::Dispatch(union _XEvent *) +vcl/source/fontsubset/sft.cxx:122 + _Bool vcl::(anonymous namespace)::HexFmt::Flush() +vcl/source/fontsubset/ttcr.hxx:111 + int vcl::TrueTypeTable::GetRawData(struct vcl::TableEntry *) workdir/../vcl/inc/qt5/QtWidget.hxx:36 QString QtWidget::tr(const char *,const char *,int) workdir/../vcl/inc/qt5/QtWidget.hxx:36 diff --git a/include/sfx2/sidebar/SidebarDockingWindow.hxx b/include/sfx2/sidebar/SidebarDockingWindow.hxx index b22aefcb34a9..f433086297cf 100644 --- a/include/sfx2/sidebar/SidebarDockingWindow.hxx +++ b/include/sfx2/sidebar/SidebarDockingWindow.hxx @@ -45,7 +45,6 @@ public: /// Force generation of all panels by completion. void SyncUpdate(); - auto& GetSidebarController() const { return mpSidebarController; } rtl::Reference& GetOrCreateSidebarController(); using SfxDockingWindow::Close; diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index 453f3c9c5b9b..3da4af181ff5 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -189,8 +189,6 @@ public: sal_uInt16 GetItemId( const Point& rPos ) const; - sal_uInt16 getNextItemId () const; - virtual bool renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle); bool isDrawMnemonic() const { return mbDrawMnemonics; } diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index b837bc0e4608..9eea4930aff5 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -142,8 +142,6 @@ public: /** The active table has the focus or is currently edited */ const sdr::table::CellRef& getActiveCell() const; - CellRef getCell(const CellPos& rPos) const; - void setActiveCell( const sdr::table::CellPos& rPos ); void getActiveCellPos( sdr::table::CellPos& rPos ) const; sal_Int32 getColumnCount() const; diff --git a/include/vcl/fontcharmap.hxx b/include/vcl/fontcharmap.hxx index de41b4925683..fc9acd061078 100644 --- a/include/vcl/fontcharmap.hxx +++ b/include/vcl/fontcharmap.hxx @@ -136,8 +136,6 @@ public: */ sal_UCS4 GetCharFromIndex( int nCharIndex ) const; - int GetGlyphIndex( sal_UCS4 ) const; - bool isSymbolic() const; private: diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx index aa0643f5a81d..f90d07319179 100644 --- a/sc/source/filter/inc/formulabase.hxx +++ b/sc/source/filter/inc/formulabase.hxx @@ -651,15 +651,6 @@ public: const BinAddress& rAddress, bool bAbsolute ); - /** Generates a string in Calc formula notation from the passed string. - - @param rString The string value. - - @return The string enclosed in double quotes, where all contained - quote characters are doubled. - */ - static OUString generateApiString( const OUString& rString ); - /** Generates an array string in Calc formula notation from the passed matrix with Any's containing double values or strings. diff --git a/sdext/source/pdfimport/inc/pdfiprocessor.hxx b/sdext/source/pdfimport/inc/pdfiprocessor.hxx index c872ead78917..fa86a5155905 100644 --- a/sdext/source/pdfimport/inc/pdfiprocessor.hxx +++ b/sdext/source/pdfimport/inc/pdfiprocessor.hxx @@ -79,8 +79,6 @@ namespace pdfi static void sortElements( Element* pElement ); - static OUString mirrorString( const OUString& i_rInString ); - private: void processGlyphLine(); diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 3fa722659109..4371d6ab5eb8 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -1054,11 +1054,6 @@ sal_uInt16 ThumbnailView::GetItemId( const Point& rPos ) const return 0; } -sal_uInt16 ThumbnailView::getNextItemId() const -{ - return mItemList.empty() ? 1 : mItemList.back()->mnId + 1; -} - void ThumbnailView::setItemMaxTextLength(sal_uInt32 nLength) { mpItemAttrs->nMaxTextLength = nLength; diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx index f649b022e9fa..22c7b899586e 100644 --- a/starmath/inc/ElementsDockingWindow.hxx +++ b/starmath/inc/ElementsDockingWindow.hxx @@ -43,7 +43,6 @@ class SmElementsControl int mnCurrentSetIndex; sal_uInt16 m_nSmSyntaxVersion; - bool mbVerticalMode; std::vector> maItemDatas; std::unique_ptr mpIconView; @@ -68,8 +67,6 @@ public: static const std::vector& categories(); void setElementSetIndex(int nSetIndex); - void setVerticalMode(bool bVertical); - void setSmSyntaxVersion(sal_uInt16 nSmSyntaxVersion); void SetSelectHdl(const Link& rLink) { maSelectHdlLink = rLink; } diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 75cc153a32ba..c332c5afda2d 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -456,7 +456,6 @@ SmElementsControl::SmElementsControl(std::unique_ptr pIconView) : mpDocShell(new SmDocShell(SfxModelFlags::EMBEDDED_OBJECT)) , mnCurrentSetIndex(-1) , m_nSmSyntaxVersion(SM_MOD()->GetConfig()->GetDefaultSmSyntaxVersion()) - , mbVerticalMode(true) , mpIconView(std::move(pIconView)) { maParser.reset(starmathdatabase::GetVersionSmParser(m_nSmSyntaxVersion)); @@ -471,14 +470,6 @@ SmElementsControl::~SmElementsControl() mpDocShell->DoClose(); } -void SmElementsControl::setVerticalMode(bool bVerticalMode) -{ - if (mbVerticalMode == bVerticalMode) - return; - mbVerticalMode = bVerticalMode; - build(); -} - Color SmElementsControl::GetTextColor() { const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 94006afdde43..a22baf6d07b7 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -1576,19 +1576,6 @@ void SdrTableObj::TakeTextRect( const CellPos& rPos, SdrOutliner& rOutliner, too rTextRect=tools::Rectangle(aTextPos,aTextSiz); } -CellRef SdrTableObj::getCell(const CellPos& rPos) const -{ - if (mpImpl.is()) - { - return mpImpl->getCell(rPos); - } - else - { - static CellRef xCell; - return xCell; - } -} - const CellRef& SdrTableObj::getActiveCell() const { if( mpImpl.is() ) diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 1ac709ca2965..75096dd2aa28 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -411,9 +411,6 @@ public: bool CanJoinNext( SwPosition* pIdx ) const; bool CanJoinPrev( SwNodeIndex* pIdx =nullptr ) const; - void MakeStartIndex( SwContentIndex * pIdx ) { pIdx->Assign( this, 0 ); } - void MakeEndIndex( SwContentIndex * pIdx ) { pIdx->Assign( this, Len() ); } - bool GoNext(SwContentIndex *, SwCursorSkipMode nMode ) const; bool GoNext(SwPosition*, SwCursorSkipMode nMode ) const; bool GoPrevious(SwContentIndex *, SwCursorSkipMode nMode ) const; diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 06cdc6ccfd2c..1114478ed395 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -400,9 +400,6 @@ public: // Font metric attribute "External Leading" should be considered. void SetAddExtLeading( bool bNew ); - // Formatting by virtual device or printer. - void SetUseVirDev( bool bNew ); - // Adding paragraph and table spacing at bottom // of table cells. void SetAddParaSpacingToTableCells( bool _bAddParaSpacingToTableCells ); diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index d26ecaa71178..49a716d51391 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -911,18 +911,6 @@ void SwViewShell::SetAddExtLeading( bool bNew ) } } -void SwViewShell::SetUseVirDev( bool bNewVirtual ) -{ - IDocumentSettingAccess& rIDSA = getIDocumentSettingAccess(); - if ( rIDSA.get(DocumentSettingId::USE_VIRTUAL_DEVICE) != bNewVirtual ) - { - SwWait aWait( *GetDoc()->GetDocShell(), true ); - // this sets the flag at the document and calls PrtDataChanged - IDocumentDeviceAccess& rIDDA = getIDocumentDeviceAccess(); - rIDDA.setReferenceDeviceType( bNewVirtual, true ); - } -} - /** Sets if paragraph and table spacing is added at bottom of table cells. * #106629# * @param[in] (bool) setting of the new value diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index 25c8fe693c3a..4814c0e87245 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -650,18 +650,6 @@ class TrueTypeFont; sal_uInt8 *encoding, int nGlyphs); -/** - * Queries glyph metrics. Allocates an array of advance width/height values and returns it. - * - * @param ttf pointer to the TrueTypeFont structure - * @param glyphArray pointer to an array of glyphs that are to be extracted from ttf - * @param nGlyphs number of glyph IDs in glyphArray and encoding values in encoding - * @param vertical writing mode: false - horizontal, true - vertical - * @ingroup sft - * - */ - VCL_DLLPUBLIC std::unique_ptr GetTTSimpleGlyphMetrics(AbstractTrueTypeFont const *ttf, const sal_uInt16 *glyphArray, int nGlyphs, bool vertical); - /** * Returns global font information about the TrueType font. * @see TTGlobalFontInfo diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx index 255a5216d49b..f6f885badbf3 100644 --- a/vcl/inc/unx/glyphcache.hxx +++ b/vcl/inc/unx/glyphcache.hxx @@ -124,8 +124,6 @@ public: bool NeedsArtificialItalic() const { return mbArtItalic; } void GetFontMetric(ImplFontMetricDataRef const &) const; - const unsigned char* GetTable( const char* pName, sal_uLong* pLength ) const; - bool GetFontCapabilities(vcl::FontCapabilities &) const; bool GetGlyphBoundRect(sal_GlyphId, tools::Rectangle&, bool) const; bool GetGlyphOutline(sal_GlyphId, basegfx::B2DPolyPolygon&, bool) const; diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 3bf3beac9080..9a9d5fc34a96 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -2177,49 +2177,6 @@ SFErrCodes CreateT42FromTTGlyphs(TrueTypeFont *ttf, return SFErrCodes::Ok; } -std::unique_ptr GetTTSimpleGlyphMetrics(AbstractTrueTypeFont const *ttf, const sal_uInt16 *glyphArray, int nGlyphs, bool vertical) -{ - const sal_uInt8* pTable; - sal_uInt32 n; - sal_uInt32 nTableSize; - - if (!vertical) - { - n = ttf->horzMetricCount(); - pTable = ttf->table(O_hmtx, nTableSize); - } - else - { - n = ttf->vertMetricCount(); - pTable = ttf->table(O_vmtx, nTableSize); - } - - if (!nGlyphs || !glyphArray) return nullptr; /* invalid parameters */ - if (!n || !pTable) return nullptr; /* the font does not contain the requested metrics */ - - std::unique_ptr res(new sal_uInt16[nGlyphs]); - - const int UPEm = ttf->unitsPerEm(); - for( int i = 0; i < nGlyphs; ++i) { - sal_uInt32 nAdvOffset; - sal_uInt16 glyphID = glyphArray[i]; - - if (glyphID < n) { - nAdvOffset = 4 * glyphID; - } else { - nAdvOffset = 4 * (n - 1); - } - - if (nAdvOffset >= nTableSize || UPEm == 0) - res[i] = 0; /* better than a crash for buggy fonts */ - else - res[i] = static_cast( - XUnits( UPEm, GetUInt16( pTable, nAdvOffset) ) ); - } - - return res; -} - bool GetTTGlobalFontHeadInfo(const AbstractTrueTypeFont *ttf, int& xMin, int& yMin, int& xMax, int& yMax, sal_uInt16& macStyle) { sal_uInt32 table_size; diff --git a/vcl/source/fontsubset/ttcr.cxx b/vcl/source/fontsubset/ttcr.cxx index 5214f15885c4..4bd53ca6e053 100644 --- a/vcl/source/fontsubset/ttcr.cxx +++ b/vcl/source/fontsubset/ttcr.cxx @@ -226,29 +226,6 @@ SFErrCodes TrueTypeCreator::StreamToMemory(std::vector& rOutBuffer) return SFErrCodes::Ok; } -SFErrCodes TrueTypeCreator::StreamToFile(const char* fname) -{ - SFErrCodes r; - std::vector aOutBuffer; - - if ((r = StreamToMemory(aOutBuffer)) != SFErrCodes::Ok) return r; - r = SFErrCodes::BadFile; - if (fname) - { - FILE* fd = fopen(fname, "wb"); - if (fd) - { - if (fwrite(aOutBuffer.data(), 1, aOutBuffer.size(), fd) != aOutBuffer.size()) { - r = SFErrCodes::FileIo; - } else { - r = SFErrCodes::Ok; - } - fclose(fd); - } - } - return r; -} - /* * TrueTypeTable private methods */ @@ -750,16 +727,6 @@ TrueTypeTableCmap::TrueTypeTableCmap() m_cmap->s.reset(new CmapSubTable[CMAP_SUBTABLE_INIT]); } -TrueTypeTableName::TrueTypeTableName(int n, NameRecord const *nr) - : TrueTypeTable(T_name) -{ - m_list.resize(n); - for (int i = 0; i < n; i++) { - const NameRecord* p = nr + i; - m_list[i] = *p; - } -} - TrueTypeTableName::TrueTypeTableName(std::vector nr) : TrueTypeTable(T_name) , m_list(std::move(nr)) diff --git a/vcl/source/fontsubset/ttcr.hxx b/vcl/source/fontsubset/ttcr.hxx index d5cf47d97308..e48d9fe69d75 100644 --- a/vcl/source/fontsubset/ttcr.hxx +++ b/vcl/source/fontsubset/ttcr.hxx @@ -78,11 +78,6 @@ struct TableEntry; * @return value of SFErrCodes type */ SFErrCodes StreamToMemory(std::vector& rOutBuffer); - /** - * Writes a TrueType font generated by the TrueTypeCreator to a file - * @return value of SFErrCodes type - */ - SFErrCodes StreamToFile(const char* fname); private: TrueTypeTable *FindTable(sal_uInt32 tag); @@ -266,7 +261,6 @@ struct TableEntry; class TrueTypeTableName : public TrueTypeTable { public: - TrueTypeTableName(int n, NameRecord const *nr); TrueTypeTableName(std::vector nr); virtual ~TrueTypeTableName() override; virtual int GetRawData(TableEntry*) override; diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx index a9cc4e8ae56f..4aca36d6c101 100644 --- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx +++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx @@ -890,9 +890,4 @@ bool FreetypeFont::GetGlyphOutline(sal_GlyphId nId, basegfx::B2DPolyPolygon& rB2 return true; } -const unsigned char* FreetypeFont::GetTable(const char* pName, sal_uLong* pLength) const -{ - return mxFontInfo->GetTable( pName, pLength ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3