diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-01 13:42:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-01 15:35:41 +0200 |
commit | 6fb45286490f866013c90a9d5dc4d296e67c7d04 (patch) | |
tree | 4c7fc3ba0f592c80884d34f76e6b1f9a8e0532ad | |
parent | f767d5e2b017c0d0cfd23ff3318cb30901847722 (diff) |
loplugin:unusedmethods
Change-Id: Ifaf3860a31fc151bb7052db1b87962b8aba27c37
Reviewed-on: https://gerrit.libreoffice.org/78366
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | comphelper/source/misc/interaction.cxx | 11 | ||||
-rw-r--r-- | compilerplugins/clang/unusedmethods.results | 114 | ||||
-rw-r--r-- | compilerplugins/clang/unusedmethods.unused-returns.results | 8 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppController.hxx | 5 | ||||
-rw-r--r-- | include/comphelper/interaction.hxx | 19 | ||||
-rw-r--r-- | include/svtools/inettbc.hxx | 2 | ||||
-rw-r--r-- | include/svx/DescriptionGenerator.hxx | 7 | ||||
-rw-r--r-- | include/svx/ImageMapInfo.hxx | 1 | ||||
-rw-r--r-- | include/vcl/roadmapwizard.hxx | 7 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 6 | ||||
-rw-r--r-- | svx/source/accessibility/DescriptionGenerator.cxx | 33 | ||||
-rw-r--r-- | svx/source/inc/tablemodel.hxx | 3 | ||||
-rw-r--r-- | svx/source/sdr/misc/ImageMapInfo.cxx | 10 | ||||
-rw-r--r-- | svx/source/table/tablemodel.cxx | 9 | ||||
-rw-r--r-- | vcl/source/control/roadmapwizard.cxx | 7 |
15 files changed, 43 insertions, 199 deletions
diff --git a/comphelper/source/misc/interaction.cxx b/comphelper/source/misc/interaction.cxx index c585a3ca6d10..5a24075504b7 100644 --- a/comphelper/source/misc/interaction.cxx +++ b/comphelper/source/misc/interaction.cxx @@ -30,17 +30,6 @@ namespace comphelper using namespace ::com::sun::star::uno; using namespace ::com::sun::star::task; - void SAL_CALL OInteractionPassword::setPassword( const OUString& Password ) - { - m_sPassword = Password; - } - - - OUString SAL_CALL OInteractionPassword::getPassword( ) - { - return m_sPassword; - } - OInteractionRequest::OInteractionRequest(const Any& _rRequestDescription) :m_aRequest(_rRequestDescription) { diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index 014fef9fa889..f78a7ce43258 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -86,10 +86,8 @@ dbaccess/source/filter/hsqldb/fbalterparser.hxx:20 void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const dbaccess/source/filter/hsqldb/parseschema.hxx:82 const class std::__debug::map<class rtl::OUString, class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> >, struct std::less<class rtl::OUString>, class std::allocator<struct std::pair<const class rtl::OUString, class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > > > > & dbahsql::SchemaParser::getPrimaryKeys() const -dbaccess/source/ui/dlg/adminpages.hxx:48 - dbaui::OSaveValueWrapper::OSaveValueWrapper<T>(type-parameter-?-? *) -dbaccess/source/ui/dlg/adminpages.hxx:103 - dbaui::ODisableWrapper::ODisableWrapper<T>(type-parameter-?-? *) +dbaccess/source/ui/app/AppController.hxx:352 + void dbaui::OApplicationController::impl_migrateScripts_nothrow() dbaccess/source/ui/inc/dsmeta.hxx:88 class __gnu_debug::_Safe_iterator<struct std::_Rb_tree_const_iterator<int>, class std::__debug::set<int, struct std::less<int>, class std::allocator<int> >, struct std::bidirectional_iterator_tag> dbaui::FeatureSet::begin() const dbaccess/source/ui/inc/dsmeta.hxx:89 @@ -370,6 +368,8 @@ include/comphelper/configuration.hxx:264 void comphelper::ConfigurationLocalizedProperty::set(const type-parameter-?-? &,const class std::shared_ptr<class comphelper::ConfigurationChanges> &) include/comphelper/configuration.hxx:300 class com::sun::star::uno::Reference<class com::sun::star::container::XHierarchicalNameReplace> comphelper::ConfigurationGroup::get(const class std::shared_ptr<class comphelper::ConfigurationChanges> &) +include/comphelper/interaction.hxx:92 + comphelper::OInteractionPassword::OInteractionPassword(const class rtl::OUString &) include/comphelper/interfacecontainer3.hxx:60 OInterfaceIteratorHelper3<ListenerT> comphelper::<deduction guide for OInterfaceIteratorHelper3>(OInterfaceIteratorHelper3<ListenerT>) include/comphelper/interfacecontainer3.hxx:94 @@ -424,7 +424,7 @@ include/comphelper/logging.hxx:416 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const include/comphelper/logging.hxx:429 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/lok.hxx:47 +include/comphelper/lok.hxx:53 _Bool comphelper::LibreOfficeKit::isLocalRendering() include/comphelper/propagg.hxx:59 _Bool comphelper::internal::OPropertyAccessor::operator==(const struct comphelper::internal::OPropertyAccessor &) const @@ -534,8 +534,6 @@ include/oox/helper/propertymap.hxx:114 void oox::PropertyMap::dumpCode(const class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySet> &) include/oox/helper/propertymap.hxx:115 void oox::PropertyMap::dumpData(const class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySet> &) -include/oox/ole/axcontrol.hxx:337 - const class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> & oox::ole::ControlConverter::GetDocModel() const include/opencl/openclconfig.hxx:57 _Bool OpenCLConfig::ImplMatcher::operator!=(const struct OpenCLConfig::ImplMatcher &) const include/opencl/OpenCLZone.hxx:42 @@ -554,8 +552,6 @@ include/sfx2/lokcharthelper.hxx:41 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const -include/sfx2/sidebar/Deck.hxx:72 - int sfx2::sidebar::Deck::GetMinimalHeight() const include/svl/itempool.hxx:171 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const include/svl/itempool.hxx:207 @@ -564,12 +560,8 @@ include/svl/lockfilecommon.hxx:58 void svt::LockFileCommon::SetURL(const class rtl::OUString &) include/svtools/DocumentToGraphicRenderer.hxx:106 _Bool DocumentToGraphicRenderer::isImpress() const -include/svtools/simptabl.hxx:98 - void SvSimpleTable::EnableTable() -include/svtools/simptabl.hxx:99 - void SvSimpleTable::DisableTable() -include/svtools/simptabl.hxx:100 - _Bool SvSimpleTable::IsEnabled() const +include/svtools/inettbc.hxx:82 + void SvtURLBox::SetFilter(const class rtl::OUString &) include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const class AutoFormatBase &) include/svx/ClassificationEditView.hxx:38 @@ -580,39 +572,21 @@ include/svx/ClassificationField.hxx:47 const class rtl::OUString & svx::ClassificationResult::getDisplayText() const include/svx/ClassificationField.hxx:52 _Bool svx::ClassificationResult::operator==(const class svx::ClassificationResult &) const -include/svx/colorbox.hxx:64 - const struct std::pair<class Color, class rtl::OUString> & SvxColorListBox::GetSelectedEntry() const -include/svx/colorbox.hxx:76 - void SvxColorListBox::SaveValue() -include/svx/colorbox.hxx:77 - _Bool SvxColorListBox::IsValueChangedFromSaved() const +include/svx/DescriptionGenerator.hxx:156 + void accessibility::DescriptionGenerator::AddString(const class rtl::OUString &,const class rtl::OUString &,unsigned short) +include/svx/DiagramDataInterface.hxx:33 + class rtl::OUString DiagramDataInterface::getString() const include/svx/dlgctrl.hxx:256 void SvxLineLB::set_sensitive(_Bool) include/svx/dlgctrl.hxx:257 _Bool SvxLineLB::get_sensitive() const include/svx/dlgctrl.hxx:279 void SvxLineEndLB::set_active_text(const class rtl::OUString &) -include/svx/fntctrl.hxx:54 - class SvxFont & SvxFontPrevWindow::GetFont() -include/svx/fntctrl.hxx:55 - const class SvxFont & SvxFontPrevWindow::GetFont() const -include/svx/fntctrl.hxx:57 - class SvxFont & SvxFontPrevWindow::GetCJKFont() -include/svx/fntctrl.hxx:58 - class SvxFont & SvxFontPrevWindow::GetCTLFont() -include/svx/fntctrl.hxx:59 - void SvxFontPrevWindow::SetColor(const class Color &) -include/svx/fntctrl.hxx:60 - void SvxFontPrevWindow::ResetColor() -include/svx/fntctrl.hxx:62 - void SvxFontPrevWindow::UseResourceText() include/svx/framelink.hxx:194 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) -include/svx/langbox.hxx:68 - void SvxLanguageBoxBase::InsertDefaultLanguage(short) -include/svx/langbox.hxx:69 - void SvxLanguageBoxBase::InsertSystemLanguage() -include/svx/langbox.hxx:159 +include/svx/ImageMapInfo.hxx:53 + class ImageMap * SvxIMapInfo::GetImageMapForObject(class SdrObject *) +include/svx/langbox.hxx:157 void LanguageBox::show() include/svx/svdlayer.hxx:74 _Bool SdrLayer::operator==(const class SdrLayer &) const @@ -682,12 +656,14 @@ include/tools/link.hxx:137 const char * Link::getTargetName() const include/tools/poly.hxx:160 _Bool tools::Polygon::operator!=(const class tools::Polygon &) const -include/tools/poly.hxx:247 +include/tools/poly.hxx:248 _Bool tools::PolyPolygon::operator!=(const class tools::PolyPolygon &) const include/tools/simd.hxx:21 type-parameter-?-? simd::roundDown(type-parameter-?-?,unsigned int) include/tools/stream.hxx:506 class rtl::OString read_uInt32_lenPrefixed_uInt8s_ToOString(class SvStream &) +include/tools/urlobj.hxx:448 + _Bool INetURLObject::SetHost(const class rtl::OUString &) include/tools/weakbase.h:101 _Bool tools::WeakReference::operator==(const type-parameter-?-? *) const include/tools/weakbase.h:110 @@ -710,12 +686,6 @@ include/vcl/animate/AnimationBitmap.hxx:69 _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const include/vcl/BitmapColor.hxx:39 void BitmapColor::SetAlpha(unsigned char) -include/vcl/button.hxx:351 - void RadioButton::SaveValue() -include/vcl/button.hxx:352 - _Bool RadioButton::GetSavedValue() const -include/vcl/button.hxx:353 - _Bool RadioButton::IsValueChangedFromSaved() const include/vcl/commandevent.hxx:249 CommandMediaData::CommandMediaData(enum MediaCommand) include/vcl/commandevent.hxx:256 @@ -732,9 +702,9 @@ include/vcl/customweld.hxx:73 void weld::CustomWidgetController::SetAccessibleName(const class rtl::OUString &) include/vcl/customweld.hxx:114 void weld::CustomWeld::queue_draw_area(int,int,int,int) -include/vcl/edit.hxx:205 +include/vcl/edit.hxx:193 _Bool Edit::IsSelectAllSingleClick() const -include/vcl/edit.hxx:237 +include/vcl/edit.hxx:225 class rtl::OUString Edit::GetPlaceholderText() const include/vcl/errcode.hxx:86 _Bool ErrCode::operator<(const class ErrCode &) const @@ -760,7 +730,7 @@ include/vcl/ITiledRenderable.hxx:193 enum PointerStyle vcl::ITiledRenderable::getPointer() include/vcl/lok.hxx:24 void vcl::lok::unregisterPollCallbacks() -include/vcl/NotebookBarAddonsMerger.hxx:65 +include/vcl/NotebookBarAddonsMerger.hxx:66 NotebookBarAddonsMerger::NotebookBarAddonsMerger() include/vcl/opengl/OpenGLHelper.hxx:67 void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &) @@ -770,12 +740,8 @@ include/vcl/pdfread.hxx:48 unsigned long vcl::ImportPDF(const class rtl::OUString &,class std::__debug::vector<class Bitmap, class std::allocator<class Bitmap> > &,class std::__debug::vector<signed char, class std::allocator<signed char> > &,const double) include/vcl/pngread.hxx:56 void vcl::PNGReader::SetIgnoreGammaChunk(_Bool) -include/vcl/roadmapwizard.hxx:208 - void vcl::RoadmapWizard::updateRoadmapItemLabel(short) -include/vcl/roadmapwizard.hxx:265 - void vcl::RoadmapWizardMachine::describeState(short,const class rtl::OUString &,class VclPtr<class TabPage> (*)(class vcl::RoadmapWizard &)) -include/vcl/roadmapwizard.hxx:333 - _Bool vcl::RoadmapWizardMachine::knowsState(short) const +include/vcl/roadmapwizard.hxx:116 + void vcl::RoadmapWizard::describeState(short,const class rtl::OUString &,class VclPtr<class TabPage> (*)(class vcl::RoadmapWizard &)) include/vcl/salnativewidgets.hxx:410 _Bool TabitemValue::isBothAligned() const include/vcl/salnativewidgets.hxx:411 @@ -796,10 +762,6 @@ include/vcl/svapp.hxx:170 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &) include/vcl/svapp.hxx:801 void Application::AppEvent(const class ApplicationEvent &) -include/vcl/svtabbx.hxx:100 - void SvTabListBox::SetEntryText(const class rtl::OUString &,unsigned long,unsigned short) -include/vcl/svtabbx.hxx:103 - unsigned long SvTabListBox::GetEntryPos(const class rtl::OUString &,unsigned short) include/vcl/syswin.hxx:173 void SystemWindow::SetIdleDebugName(const char *) include/vcl/TaskStopwatch.hxx:97 @@ -814,12 +776,10 @@ include/vcl/TaskStopwatch.hxx:118 void TaskStopwatch::setTimeSlice(unsigned int) include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const -include/vcl/treelistbox.hxx:360 +include/vcl/treelistbox.hxx:354 void SvTreeListBox::RemoveSelection() -include/vcl/treelistbox.hxx:377 +include/vcl/treelistbox.hxx:371 const class SvTreeListEntry * SvTreeListBox::GetParent(const class SvTreeListEntry *) const -include/vcl/treelistbox.hxx:621 - const class Link<class SvTreeListBox *, void> & SvTreeListBox::GetCheckButtonHdl() const include/vcl/txtattr.hxx:56 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:274 @@ -920,8 +880,6 @@ include/vcl/window.hxx:408 const char * ImplDbgCheckWindow(const void *) include/vcl/window.hxx:1217 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const -include/vcl/wizardmachine.hxx:479 - void vcl::WizardMachine::skip() libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) o3tl/qa/cow_wrapper_clients.hxx:140 @@ -980,6 +938,8 @@ sc/inc/userlist.hxx:88 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> > *, class std::__cxx1998::vector<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> >, class std::allocator<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> > > > >, class std::__debug::vector<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> >, class std::allocator<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> > > >, struct std::random_access_iterator_tag> ScUserList::begin() const sc/qa/unit/helper/qahelper.hxx:160 class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > print(const class ScAddress &) +sc/qa/unit/screenshots/screenshots.cxx:326 + int main() sc/qa/unit/ucalc.hxx:143 void Test::testFormulaHashAndTag() sc/qa/unit/ucalc.hxx:181 @@ -1040,7 +1000,7 @@ sc/source/filter/inc/xlformula.hxx:409 _Bool XclTokenArray::operator==(const class XclTokenArray &) const sc/source/filter/xml/xmltransformationi.hxx:160 ScXMLDateTimeContext::ScXMLDateTimeContext(class ScXMLImport &,const class rtl::Reference<class sax_fastparser::FastAttributeList> &) -sc/source/ui/inc/condformatdlg.hxx:55 +sc/source/ui/inc/condformatdlg.hxx:51 class weld::ScrolledWindow * ScCondFormatList::GetWidget() sc/source/ui/inc/condformatdlgentry.hxx:84 int ScCondFrmtEntry::get_grid_top_attach() const @@ -1058,7 +1018,7 @@ sc/source/ui/inc/datatableview.hxx:115 void ScDataTableView::getRowRange(int &,int &) const sc/source/ui/inc/impex.hxx:93 ScImportExport::ScImportExport(class ScDocument *,const class rtl::OUString &) -sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:67 +sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:64 void ScRandomNumberGeneratorDialog::GenerateNumbers(type-parameter-?-? &,const char *,const class boost::optional<signed char>) sc/source/ui/inc/TableFillingAndNavigationTools.hxx:121 unsigned long DataRangeIterator::size() @@ -1158,6 +1118,8 @@ svx/inc/sdr/contact/viewcontactofgraphic.hxx:56 class SdrGrafObj & sdr::contact::ViewContactOfGraphic::GetGrafObject() svx/source/fmcomp/fmgridcl.cxx:1265 _Bool ::__invoke(const int) +svx/source/inc/tablemodel.hxx:89 + class std::__debug::vector<int, class std::allocator<int> > sdr::table::TableModel::getRowHeights() svx/source/svdraw/svdpdf.hxx:92 double ImpSdrPdfImport::Matrix::b() const svx/source/svdraw/svdpdf.hxx:94 @@ -1312,17 +1274,17 @@ sw/inc/viscrs.hxx:205 const class SwShellTableCursor * SwShellTableCursor::GetPrev() const sw/qa/extras/inc/swmodeltestbase.hxx:624 class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySet> SwModelTestBase::getParagraphAnchoredObject(const int,const class com::sun::star::uno::Reference<class com::sun::star::text::XTextRange> &) const -sw/source/core/access/accportions.cxx:73 +sw/source/core/access/accportions.cxx:56 unsigned long FindBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?) -sw/source/core/access/accportions.cxx:77 +sw/source/core/access/accportions.cxx:60 unsigned long FindLastBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?) sw/source/core/inc/frame.hxx:912 void SwFrame::dumpTopMostAsXml(struct _xmlTextWriter *) const -sw/source/core/inc/frame.hxx:1356 +sw/source/core/inc/frame.hxx:1360 class Size SwRectFnSet::GetSize(const class SwRect &) const -sw/source/core/inc/frame.hxx:1387 +sw/source/core/inc/frame.hxx:1391 long SwRectFnSet::LeftDist(const class SwRect &,long) const -sw/source/core/inc/frame.hxx:1388 +sw/source/core/inc/frame.hxx:1392 long SwRectFnSet::RightDist(const class SwRect &,long) const sw/source/core/inc/mvsave.hxx:176 _Bool ZSortFly::operator==(const class ZSortFly &) const @@ -1436,6 +1398,8 @@ vcl/inc/qt5/Qt5DragAndDrop.hxx:80 void Qt5DropTarget::deinitialize() vcl/inc/qt5/Qt5FilePicker.hxx:145 void Qt5FilePicker::disposing(const struct com::sun::star::lang::EventObject &) +vcl/inc/qt5/Qt5FilePicker.hxx:162 + void Qt5FilePicker::setCustomControlWidgetLayout(class QGridLayout *) vcl/inc/qt5/Qt5FontFace.hxx:37 class Qt5FontFace * Qt5FontFace::fromQFont(const class QFont &) vcl/inc/qt5/Qt5FontFace.hxx:43 @@ -1486,7 +1450,7 @@ vcl/inc/unx/salframe.h:185 enum SalFrameStyleFlags X11SalFrame::GetStyle() const vcl/inc/unx/salgdi.h:306 void X11SalGraphics::releaseGlyphPeer() -vcl/source/app/scheduler.cxx:84 +vcl/source/app/scheduler.cxx:83 basic_ostream<type-parameter-?-?, type-parameter-?-?> & (anonymous namespace)::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const class Idle &) vcl/source/edit/textdat2.hxx:85 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class std::unique_ptr<class TETextPortion, struct std::default_delete<class TETextPortion> > *, class std::__cxx1998::vector<class std::unique_ptr<class TETextPortion, struct std::default_delete<class TETextPortion> >, class std::allocator<class std::unique_ptr<class TETextPortion, struct std::default_delete<class TETextPortion> > > > >, class std::__debug::vector<class std::unique_ptr<class TETextPortion, struct std::default_delete<class TETextPortion> >, class std::allocator<class std::unique_ptr<class TETextPortion, struct std::default_delete<class TETextPortion> > > >, struct std::random_access_iterator_tag> TETextPortionList::begin() const @@ -1512,8 +1476,6 @@ writerfilter/source/ooxml/OOXMLPropertySet.hxx:177 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class tools::SvRef<class writerfilter::ooxml::OOXMLProperty> *, class std::__cxx1998::vector<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty> > > >, class std::__debug::vector<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty> > >, struct std::random_access_iterator_tag> writerfilter::ooxml::OOXMLPropertySet::end() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:180 class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > writerfilter::ooxml::OOXMLPropertySet::toString() -xmlsecurity/qa/unit/xmlsecurity-dialogs-test.cxx:61 - int main() xmlsecurity/source/gpg/XMLEncryption.hxx:25 XMLEncryptionGpg::XMLEncryptionGpg() xmlsecurity/source/xmlsec/nss/nssinitializer.hxx:45 diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index 6aa9d802b7d4..bab75bdc1baa 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -160,6 +160,8 @@ include/sax/fshelper.hxx:135 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int) include/sax/fshelper.hxx:136 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long) +include/sax/fshelper.hxx:137 + class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(double) include/sax/fshelper.hxx:139 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::writeEscaped(const char *) include/sfx2/linkmgr.hxx:63 @@ -234,11 +236,11 @@ include/vcl/weld.hxx:795 _Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const include/vcl/weld.hxx:1643 _Bool weld::TextView::get_selection_bounds(int &,int &) -include/vcl/wizardmachine.hxx:448 +include/vcl/wizardmachine.hxx:447 _Bool vcl::WizardMachine::travelNext() -include/vcl/wizardmachine.hxx:451 +include/vcl/wizardmachine.hxx:450 _Bool vcl::WizardMachine::travelPrevious() -include/vcl/wizardmachine.hxx:541 +include/vcl/wizardmachine.hxx:524 class TabPage * vcl::WizardMachine::GetOrCreatePage(const short) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index 53b0ea32fbde..a05b7367dc3b 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -346,11 +346,6 @@ namespace dbaui /// determines whether the given table name denotes a view which can be altered bool impl_isAlterableView_nothrow( const OUString& _rTableOrViewName ) const; - /** does the macro/script migration, where macros/scripts in forms/reports are moved - to the database document itself. - */ - void impl_migrateScripts_nothrow(); - /** verifies the object type denotes a valid DatabaseObject, and the object name denotes an existing object of this type. Throws if not. */ diff --git a/include/comphelper/interaction.hxx b/include/comphelper/interaction.hxx index ec9f38e29436..be22d4254983 100644 --- a/include/comphelper/interaction.hxx +++ b/include/comphelper/interaction.hxx @@ -84,25 +84,6 @@ namespace comphelper typedef OInteraction< css::task::XInteractionRetry > OInteractionRetry; - //= OInteractionPassword - - class COMPHELPER_DLLPUBLIC OInteractionPassword : public OInteraction< css::task::XInteractionPassword > - { - public: - OInteractionPassword( const OUString& _rInitialPassword ) - :m_sPassword( _rInitialPassword ) - { - } - - // XInteractionPassword - virtual void SAL_CALL setPassword( const OUString& Password ) override; - virtual OUString SAL_CALL getPassword( ) override; - - private: - OUString m_sPassword; - }; - - //= OInteractionRequest typedef ::cppu::WeakImplHelper < css::task::XInteractionRequest diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index bf61e0ddef2a..ff2a674618b8 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -79,8 +79,6 @@ public: static OUString ParseSmart( const OUString& aText, const OUString& aBaseURL ); - void SetFilter(const OUString& _sFilter); - void EnableAutocompletion( bool _bEnable ) { bIsAutoCompleteEnabled = _bEnable; } void SetPlaceHolder( const OUString& sPlaceHolder ) diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx index 562b3070bfd0..cd0ba8f9e7d9 100644 --- a/include/svx/DescriptionGenerator.hxx +++ b/include/svx/DescriptionGenerator.hxx @@ -148,13 +148,6 @@ private: */ SVX_DLLPRIVATE void AddInteger (const OUString& sPropertyName, const OUString& sLocalizedName); - - /** Add a property value formatted as string to the description string. - @param sPropertyName - Name of the property. - */ - SVX_DLLPRIVATE void AddString (const OUString& sPropertyName, - const OUString& sLocalizedName, sal_uInt16 nWhichId); }; diff --git a/include/svx/ImageMapInfo.hxx b/include/svx/ImageMapInfo.hxx index 84836969af8e..cedb1cf0512c 100644 --- a/include/svx/ImageMapInfo.hxx +++ b/include/svx/ImageMapInfo.hxx @@ -50,7 +50,6 @@ public: static SvxIMapInfo* GetIMapInfo(const SdrObject* pObject); static IMapObject* GetHitIMapObject(const SdrObject* pObj, const Point& rWinPoint, const vcl::Window* rCmpWnd = nullptr); - static ImageMap* GetImageMapForObject(SdrObject* pObj); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/roadmapwizard.hxx b/include/vcl/roadmapwizard.hxx index 872d90bf624e..9488b7840955 100644 --- a/include/vcl/roadmapwizard.hxx +++ b/include/vcl/roadmapwizard.hxx @@ -108,13 +108,6 @@ namespace vcl */ void declarePath( PathId _nPathId, const WizardPath& _lWizardStates); - /** provides basic information about a state - - The given display name is used in the default implementation of getStateDisplayName, - and the given factory is used in the default implementation of createPage. - */ - void describeState( WizardState _nState, const OUString& _rStateDisplayName, RoadmapPageFactory _pPageFactory ); - /** activates a path which has previously been declared with <member>declarePath</member> You can only activate paths which share the first <code>k</code> states with the path diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 1787f280fdad..d3c957f01c56 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -1878,12 +1878,6 @@ bool SvtURLBox_Impl::TildeParsing( return true; } -void SvtURLBox::SetFilter(const OUString& _sFilter) -{ - pImpl->m_aFilters.clear(); - FilterMatch::createWildCardFilterList(_sFilter,pImpl->m_aFilters); -} - //-- OUString URLBox::ParseSmart( const OUString& _aText, const OUString& _aBaseURL ) diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index 9afb976571ee..636baf66cefb 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -226,39 +226,6 @@ void DescriptionGenerator::AddInteger (const OUString& sPropertyName, } } - -void DescriptionGenerator::AddString (const OUString& sPropertyName, - const OUString& sLocalizedName, sal_uInt16 nWhichId) -{ - msDescription.append(sLocalizedName); - msDescription.append('='); - - try - { - if (mxSet.is()) - { - uno::Any aValue = mxSet->getPropertyValue (sPropertyName); - OUString sValue; - aValue >>= sValue; - - if (nWhichId != 0xffff) - { - SolarMutexGuard aGuard; - OUString sLocalizedValue = - SvxUnogetInternalNameForItem(nWhichId, sValue); - msDescription.append (sLocalizedValue); - } - else - msDescription.append (sValue); - } - } - catch (const css::beans::UnknownPropertyException &) - { - msDescription.append ("<unknown>"); - } -} - - } // end of namespace accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/inc/tablemodel.hxx b/svx/source/inc/tablemodel.hxx index 0dba1c058866..78aabc51f692 100644 --- a/svx/source/inc/tablemodel.hxx +++ b/svx/source/inc/tablemodel.hxx @@ -85,9 +85,6 @@ public: /// Get the width of all columns in this table. std::vector<sal_Int32> getColumnWidths(); - /// Get the height of all rows in this table. - std::vector<sal_Int32> getRowHeights(); - void dumpAsXml(xmlTextWriterPtr pWriter) const; // ICellRange diff --git a/svx/source/sdr/misc/ImageMapInfo.cxx b/svx/source/sdr/misc/ImageMapInfo.cxx index 39a0091116c4..754e341c811b 100644 --- a/svx/source/sdr/misc/ImageMapInfo.cxx +++ b/svx/source/sdr/misc/ImageMapInfo.cxx @@ -119,13 +119,3 @@ IMapObject* SvxIMapInfo::GetHitIMapObject(const SdrObject* pObj, const Point& rW return pIMapObj; } - -ImageMap* SvxIMapInfo::GetImageMapForObject(SdrObject* pObj) -{ - SvxIMapInfo* pIMapInfo = GetIMapInfo(pObj); - if (pIMapInfo) - { - return const_cast<ImageMap*>(&(pIMapInfo->GetImageMap())); - } - return nullptr; -}
\ No newline at end of file diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index d1de143dc898..7b0cc4de5806 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -303,15 +303,6 @@ sal_Int32 SAL_CALL TableModel::getRowCount() return getRowCountImpl(); } -std::vector<sal_Int32> TableModel::getRowHeights() -{ - std::vector<sal_Int32> aRet; - for (const TableRowRef& xRow : maRows) - aRet.push_back(xRow->getHeight()); - return aRet; -} - - sal_Int32 SAL_CALL TableModel::getColumnCount() { ::SolarMutexGuard aGuard; diff --git a/vcl/source/control/roadmapwizard.cxx b/vcl/source/control/roadmapwizard.cxx index ea0f1efa0026..396a7cffdb3d 100644 --- a/vcl/source/control/roadmapwizard.cxx +++ b/vcl/source/control/roadmapwizard.cxx @@ -204,13 +204,6 @@ namespace vcl implUpdateRoadmap( ); } - void RoadmapWizard::describeState( WizardState _nState, const OUString& _rStateDisplayName, RoadmapPageFactory _pPageFactory ) - { - OSL_ENSURE( m_pImpl->aStateDescriptors.find( _nState ) == m_pImpl->aStateDescriptors.end(), - "RoadmapWizard::describeState: there already is a descriptor for this state!" ); - m_pImpl->aStateDescriptors[ _nState ] = StateDescriptions::mapped_type( _rStateDisplayName, _pPageFactory ); - } - void RoadmapWizard::activatePath( PathId _nPathId, bool _bDecideForIt ) { |