compilerplugins/clang/unusedmethods.results | 174 ++++++++++++++-------------- include/vcl/combobox.hxx | 2 include/vcl/lstbox.hxx | 2 include/vcl/splitwin.hxx | 1 include/vcl/treelistbox.hxx | 3 include/vcl/window.hxx | 2 sfx2/source/appl/newhelp.cxx | 26 ---- sfx2/source/appl/newhelp.hxx | 1 sfx2/source/appl/panelist.hxx | 45 ------- vcl/inc/svimpbox.hxx | 1 vcl/source/control/combobox.cxx | 4 vcl/source/treelist/svimpbox.cxx | 12 - vcl/source/treelist/treelistbox.cxx | 13 -- vcl/source/window/splitwin.cxx | 12 - vcl/source/window/window.cxx | 6 15 files changed, 91 insertions(+), 213 deletions(-)
New commits: commit b13eb902dfa3ed3f540e257b6865997ff23d560b Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri May 15 20:11:34 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat May 16 09:21:42 2020 +0200 loplugin:unusedmethods Change-Id: I52187eccf6170f64d38c673a86dc80818813efa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94328 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index f3650915fd32..35675d0393ea 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -56,8 +56,6 @@ canvas/inc/vclwrapper.hxx:137 void canvas::vcltools::VCLObject::swap(VCLObject<Wrappee_> &) canvas/source/vcl/impltools.hxx:103 vclcanvas::tools::LocalGuard::LocalGuard() -chart2/qa/extras/chart2export.cxx:2757 - int main() chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx:55 void chart::ThreeD_SceneIllumination_TabPage::LinkStubfillControlsFromModel(void *,void *) connectivity/inc/sdbcx/VGroup.hxx:63 @@ -108,8 +106,6 @@ connectivity/source/inc/OTypeInfo.hxx:47 _Bool connectivity::OTypeInfo::operator!=(const struct connectivity::OTypeInfo &) const cui/source/dialogs/SpellAttrib.hxx:72 _Bool svx::SpellErrorDescription::operator==(const struct svx::SpellErrorDescription &) const -cui/source/inc/about.hxx:51 - class rtl::OUString AboutDialog::GetExtraString() cui/source/inc/cfg.hxx:336 class rtl::OUString SvxMenuEntriesListBox::get_text(int) cui/source/inc/cfg.hxx:337 @@ -554,8 +550,6 @@ include/editeng/outliner.hxx:877 _Bool Outliner::(anonymous)::__invoke(const class SvxFieldData *) include/filter/msfilter/mstoolbar.hxx:102 Indent::Indent(_Bool) -include/filter/msfilter/svdfppt.hxx:1131 - _Bool PPTPortionObj::HasTabulator() const include/formula/opcode.hxx:522 class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > OpCodeEnumToString(enum OpCode) include/formula/tokenarray.hxx:182 @@ -650,8 +644,6 @@ include/sfx2/lokcharthelper.hxx:42 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const -include/sfx2/StylePreviewRenderer.hxx:50 - class Size sfx2::StylePreviewRenderer::getRenderSize() include/sfx2/viewsh.hxx:359 enum LOKDeviceFormFactor SfxViewShell::GetLOKDeviceFormFactor() const include/sfx2/viewsh.hxx:361 @@ -672,8 +664,6 @@ include/svtools/toolbarmenu.hxx:112 class weld::Container * ToolbarPopupContainer::getContainer() include/svtools/toolbarmenu.hxx:129 class weld::Container * InterimToolbarPopup::getContainer() -include/svtools/toolboxcontroller.hxx:170 - _Bool svt::ToolboxController::isBound() const include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const class AutoFormatBase &) const include/svx/ClassificationDialog.hxx:78 @@ -806,6 +796,8 @@ include/vcl/animate/Animation.hxx:40 _Bool Animation::operator!=(const class Animation &) const include/vcl/animate/AnimationBitmap.hxx:69 _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const +include/vcl/BitmapBasicMorphologyFilter.hxx:63 + BitmapDilateFilter::BitmapDilateFilter(int,unsigned char) include/vcl/BitmapColor.hxx:39 void BitmapColor::SetAlpha(unsigned char) include/vcl/builderpage.hxx:36 @@ -816,9 +808,11 @@ include/vcl/ColorMask.hxx:114 void ColorMask::SetColorFor16BitMSB(const class BitmapColor &,unsigned char *) const include/vcl/ColorMask.hxx:116 void ColorMask::SetColorFor16BitLSB(const class BitmapColor &,unsigned char *) const -include/vcl/combobox.hxx:106 - void ComboBox::SetSeparatorPos(int) -include/vcl/combobox.hxx:143 +include/vcl/combobox.hxx:117 + void ComboBox::SetDoubleClickHdl(const class Link<class ComboBox &, void> &) +include/vcl/combobox.hxx:118 + const class Link<class ComboBox &, void> & ComboBox::GetDoubleClickHdl() const +include/vcl/combobox.hxx:141 class rtl::OUString ComboBox::GetSelectedEntry() const include/vcl/commandevent.hxx:249 CommandMediaData::CommandMediaData(enum MediaCommand) @@ -832,9 +826,9 @@ include/vcl/cursor.hxx:96 _Bool vcl::Cursor::operator!=(const class vcl::Cursor &) const include/vcl/customweld.hxx:42 class rtl::OUString weld::CustomWidgetController::GetHelpText() const -include/vcl/customweld.hxx:126 +include/vcl/customweld.hxx:138 void weld::CustomWeld::queue_draw_area(int,int,int,int) -include/vcl/customweld.hxx:141 +include/vcl/customweld.hxx:153 void weld::CustomWeld::set_visible(_Bool) include/vcl/errcode.hxx:86 _Bool ErrCode::operator<(const class ErrCode &) const @@ -846,7 +840,7 @@ include/vcl/errcode.hxx:89 _Bool ErrCode::operator>=(const class ErrCode &) const include/vcl/gdimtf.hxx:110 _Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const -include/vcl/gdimtf.hxx:202 +include/vcl/gdimtf.hxx:204 void GDIMetaFile::dumpAsXml(const char *) const include/vcl/gradient.hxx:82 _Bool Gradient::operator!=(const class Gradient &) const @@ -858,6 +852,10 @@ include/vcl/ITiledRenderable.hxx:190 enum PointerStyle vcl::ITiledRenderable::getPointer() include/vcl/lok.hxx:24 void vcl::lok::unregisterPollCallbacks() +include/vcl/lstbox.hxx:175 + void * ListBox::GetSelectedEntryData() const +include/vcl/lstbox.hxx:224 + const class Link<class ListBox &, void> & ListBox::GetDoubleClickHdl() const include/vcl/menu.hxx:456 unsigned short MenuBar::AddMenuBarButton(const class Image &,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &,const class rtl::OUString &) include/vcl/menu.hxx:460 @@ -898,6 +896,8 @@ include/vcl/settings.hxx:721 _Bool AllSettings::operator!=(const class AllSettings &) const include/vcl/split.hxx:92 void Splitter::SetHorizontal(_Bool) +include/vcl/splitwin.hxx:140 + void SplitWindow::Clear() include/vcl/svapp.hxx:169 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &) include/vcl/svapp.hxx:802 @@ -916,16 +916,16 @@ include/vcl/TaskStopwatch.hxx:118 void TaskStopwatch::setTimeSlice(unsigned int) include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const -include/vcl/toolbox.hxx:257 - void ToolBox::SetCurItemId(unsigned short) -include/vcl/toolbox.hxx:461 - const class Link<class ToolBox *, void> & ToolBox::GetSelectHdl() const include/vcl/treelist.hxx:171 const class SvTreeListEntry * SvTreeList::GetParent(const class SvTreeListEntry *) const include/vcl/treelistbox.hxx:368 void SvTreeListBox::RemoveSelection() -include/vcl/treelistbox.hxx:657 - void SvTreeListBox::SetOptimalImageIndent() +include/vcl/treelistbox.hxx:441 + const class Link<class SvTreeListBox *, _Bool> & SvTreeListBox::GetDoubleClickHdl() const +include/vcl/treelistbox.hxx:618 + void SvTreeListBox::SetSublistOpenWithReturn() +include/vcl/treelistbox.hxx:655 + void SvTreeListBox::SetIndent(short) include/vcl/txtattr.hxx:56 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:278 @@ -936,8 +936,6 @@ include/vcl/uitest/uiobject.hxx:349 SpinUIObject::SpinUIObject(const class VclPtr<class SpinButton> &) include/vcl/uitest/uiobject.hxx:357 class std::unique_ptr<class UIObject, struct std::default_delete<class UIObject> > SpinUIObject::create(class vcl::Window *) -include/vcl/viewdataentry.hxx:87 - const class tools::Rectangle & SvViewDataEntry::GetPaintRectangle() const include/vcl/weld.hxx:137 _Bool weld::Widget::get_hexpand() const include/vcl/weld.hxx:139 @@ -952,10 +950,6 @@ include/vcl/weld.hxx:149 int weld::Widget::get_margin_bottom() const include/vcl/weld.hxx:151 int weld::Widget::get_margin_right() const -include/vcl/weld.hxx:301 - void weld::Paned::set_position(int) -include/vcl/weld.hxx:303 - int weld::Paned::get_position() const include/vcl/weld.hxx:328 void weld::ScrolledWindow::hadjustment_set_step_increment(int) include/vcl/weld.hxx:330 @@ -982,82 +976,88 @@ include/vcl/weld.hxx:555 class rtl::OString weld::Assistant::get_current_page_ident() const include/vcl/weld.hxx:561 class rtl::OUString weld::Assistant::get_page_title(const class rtl::OString &) const -include/vcl/weld.hxx:878 +include/vcl/weld.hxx:709 + void weld::ComboBox::set_entry_editable(_Bool) +include/vcl/weld.hxx:710 + void weld::ComboBox::cut_entry_clipboard() +include/vcl/weld.hxx:711 + void weld::ComboBox::copy_entry_clipboard() +include/vcl/weld.hxx:712 + void weld::ComboBox::paste_entry_clipboard() +include/vcl/weld.hxx:882 void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:887 +include/vcl/weld.hxx:891 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:981 +include/vcl/weld.hxx:985 _Bool weld::TreeView::iter_next_visible(class weld::TreeIter &) const -include/vcl/weld.hxx:1022 +include/vcl/weld.hxx:1026 void weld::TreeView::set_text_align(const class weld::TreeIter &,double,int) -include/vcl/weld.hxx:1096 +include/vcl/weld.hxx:1100 void weld::TreeView::select_all() -include/vcl/weld.hxx:1145 +include/vcl/weld.hxx:1149 const class rtl::OUString & weld::TreeView::get_saved_value() const -include/vcl/weld.hxx:1199 +include/vcl/weld.hxx:1203 class rtl::OUString weld::IconView::get_selected_id() const -include/vcl/weld.hxx:1214 +include/vcl/weld.hxx:1218 _Bool weld::IconView::get_cursor(class weld::TreeIter *) const -include/vcl/weld.hxx:1224 +include/vcl/weld.hxx:1228 void weld::IconView::select_all() -include/vcl/weld.hxx:1230 +include/vcl/weld.hxx:1234 void weld::IconView::save_value() -include/vcl/weld.hxx:1231 +include/vcl/weld.hxx:1235 const class rtl::OUString & weld::IconView::get_saved_value() const -include/vcl/weld.hxx:1232 +include/vcl/weld.hxx:1236 _Bool weld::IconView::get_value_changed_from_saved() const -include/vcl/weld.hxx:1330 +include/vcl/weld.hxx:1334 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1338 +include/vcl/weld.hxx:1342 void weld::MenuButton::append_item_radio(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1346 +include/vcl/weld.hxx:1350 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:1351 +include/vcl/weld.hxx:1355 void weld::MenuButton::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1402 +include/vcl/weld.hxx:1406 void weld::Scale::get_increments(int &,int &) const -include/vcl/weld.hxx:1419 +include/vcl/weld.hxx:1423 class rtl::OUString weld::ProgressBar::get_text() const -include/vcl/weld.hxx:1436 +include/vcl/weld.hxx:1440 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:1452 +include/vcl/weld.hxx:1456 int weld::Entry::get_position() const -include/vcl/weld.hxx:1562 +include/vcl/weld.hxx:1566 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1617 +include/vcl/weld.hxx:1621 void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &) -include/vcl/weld.hxx:1853 +include/vcl/weld.hxx:1857 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1865 +include/vcl/weld.hxx:1869 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:1915 +include/vcl/weld.hxx:1919 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1917 +include/vcl/weld.hxx:1921 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1918 +include/vcl/weld.hxx:1922 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1919 +include/vcl/weld.hxx:1923 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1922 +include/vcl/weld.hxx:1926 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1923 +include/vcl/weld.hxx:1927 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1991 +include/vcl/weld.hxx:1995 int weld::TextView::vadjustment_get_lower() const -include/vcl/weld.hxx:2096 - void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:2139 +include/vcl/weld.hxx:2143 _Bool weld::Toolbar::get_item_visible(const class rtl::OString &) const -include/vcl/weld.hxx:2141 +include/vcl/weld.hxx:2145 class rtl::OUString weld::Toolbar::get_item_label(const class rtl::OString &) const -include/vcl/weld.hxx:2151 +include/vcl/weld.hxx:2155 void weld::Toolbar::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:2194 +include/vcl/weld.hxx:2198 class std::unique_ptr<class weld::Window, struct std::default_delete<class weld::Window> > weld::Builder::weld_window(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:2200 - class std::unique_ptr<class weld::Paned, struct std::default_delete<class weld::Paned> > weld::Builder::weld_paned(const class rtl::OString &,_Bool) include/vcl/window.hxx:410 const char * ImplDbgCheckWindow(const void *) +include/vcl/window.hxx:1047 + class tools::Rectangle vcl::Window::GetClientWindowExtentsRelative() const include/xmloff/txtimp.hxx:385 class XMLPropertyBackpatcher<short> & XMLTextImportHelper::GetFootnoteBP() include/xmloff/txtimp.hxx:386 @@ -1078,10 +1078,10 @@ libreofficekit/qa/gtktiledviewer/gtv-application-window.cxx:72 void ::operator()(struct _GtkBuilder *) const libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx:31 void * gtv_comments_sidebar_get_instance_private(struct GtvCommentsSidebar *) +libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx:49 + void ::operator()(struct _GList *) const libreofficekit/qa/gtktiledviewer/gtv-helpers.cxx:80 void ::operator()(struct _GtkTargetList *) const -libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx:183 - void ::operator()(struct _GList *) const libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) lotuswordpro/source/filter/clone.hxx:28 @@ -1204,6 +1204,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:155 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:182 @@ -1274,8 +1276,6 @@ sc/source/filter/inc/xestream.hxx:105 class XclExpStream & XclExpStream::operator<<(float) sc/source/filter/inc/xiescher.hxx:154 class Color XclImpDrawObjBase::GetSolidLineColor(const struct XclObjLineData &) const -sc/source/filter/inc/xiroot.hxx:138 - void XclImpRoot::SetAppFontEncoding(unsigned short) sc/source/filter/inc/xlformula.hxx:409 _Bool XclTokenArray::operator==(const class XclTokenArray &) const sc/source/filter/xml/xmltransformationi.hxx:160 @@ -1358,6 +1358,14 @@ sfx2/inc/autoredactdialog.hxx:72 _Bool TargetsTable::has_focus() const sfx2/inc/autoredactdialog.hxx:73 int TargetsTable::n_children() const +sfx2/source/appl/newhelp.hxx:57 + class weld::Widget * HelpTabPage_Impl::GetLastFocusControl() +sfx2/source/appl/newhelp.hxx:253 + class HelpTabPage_Impl * SfxHelpIndexWindow_Impl::GetCurrentPage() +sfx2/source/appl/panelist.hxx:32 + void sfx2::AddToTaskPaneList(class vcl::Window *) +sfx2/source/appl/panelist.hxx:37 + void sfx2::RemoveFromTaskPaneList(class vcl::Window *) sfx2/source/appl/shutdownicon.hxx:79 class rtl::OUString ShutdownIcon::getShortcutName() sfx2/source/appl/shutdownicon.hxx:95 @@ -1372,7 +1380,7 @@ sfx2/source/appl/shutdownicon.hxx:112 class rtl::OUString ShutdownIcon::GetUrlDescription(const class rtl::OUString &) sfx2/source/appl/shutdownicon.hxx:114 void ShutdownIcon::SetVeto(_Bool) -sfx2/source/inc/templdgi.hxx:245 +sfx2/source/inc/templdgi.hxx:244 class weld::Widget * SfxCommonTemplateDialog_Impl::GetFrameWeld() shell/inc/xml_parser.hxx:48 xml_parser::xml_parser() @@ -1418,12 +1426,12 @@ slideshow/source/inc/listenercontainer.hxx:45 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::PauseEventHandler> &) slideshow/source/inc/listenercontainer.hxx:45 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::EventHandler> &) -slideshow/source/inc/listenercontainer.hxx:45 - _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::ViewUpdate> &) slideshow/source/inc/listenercontainer.hxx:45 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::IntrinsicAnimationEventHandler> &) slideshow/source/inc/listenercontainer.hxx:45 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::UserPaintEventHandler> &) +slideshow/source/inc/listenercontainer.hxx:45 + _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::ViewUpdate> &) slideshow/source/inc/listenercontainer.hxx:45 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::AnimationEventHandler> &) slideshow/source/inc/listenercontainer.hxx:45 @@ -1438,8 +1446,6 @@ svgio/inc/svgstyleattributes.hxx:348 class svgio::svgreader::SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeDashOffset() const svgio/inc/svgstyleattributes.hxx:372 enum svgio::svgreader::FontStretch svgio::svgreader::SvgStyleAttributes::getFontStretch() const -svl/source/misc/gridprinter.cxx:47 - void rtl::mdds_mtv_prepend_values(struct mdds::mtv::base_element_block &,const class rtl::OUString &,const type-parameter-?-? &,const type-parameter-?-? &) svl/source/misc/gridprinter.cxx:47 void rtl::mdds_mtv_get_empty_value(class rtl::OUString &) svl/source/misc/gridprinter.cxx:47 @@ -1448,6 +1454,8 @@ svl/source/misc/gridprinter.cxx:47 struct mdds::mtv::base_element_block * rtl::mdds_mtv_create_new_block(const class rtl::OUString &,const type-parameter-?-? &,const type-parameter-?-? &) svl/source/misc/gridprinter.cxx:47 void rtl::mdds_mtv_insert_values(struct mdds::mtv::base_element_block &,unsigned long,const class rtl::OUString &,const type-parameter-?-? &,const type-parameter-?-? &) +svl/source/misc/gridprinter.cxx:47 + void rtl::mdds_mtv_prepend_values(struct mdds::mtv::base_element_block &,const class rtl::OUString &,const type-parameter-?-? &,const type-parameter-?-? &) svl/source/misc/gridprinter.cxx:47 void rtl::mdds_mtv_get_value(const struct mdds::mtv::base_element_block &,unsigned long,class rtl::OUString &) svl/source/misc/gridprinter.cxx:47 @@ -1458,8 +1466,6 @@ svx/inc/sdr/contact/viewcontactofgraphic.hxx:54 class SdrGrafObj & sdr::contact::ViewContactOfGraphic::GetGrafObject() svx/source/tbxctrls/tbcontrl.cxx:150 void (anonymous namespace)::SvxStyleBox_Base::set_sensitive(_Bool) -sw/inc/accessibilityoptions.hxx:39 - _Bool SwAccessibilityOptions::IsStopAnimatedText() const sw/inc/calbck.hxx:307 class sw::WriterListener * sw::ClientIteratorBase::GetLeftOfPos() sw/inc/dbgoutsw.hxx:53 @@ -1518,10 +1524,10 @@ sw/inc/docary.hxx:94 void SwVectorModifyBase::insert(class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<class SwSectionFormat **, class std::__cxx1998::vector<class SwSectionFormat *, class std::allocator<class SwSectionFormat *> > >, class std::__debug::vector<class SwSectionFormat *, class std::allocator<class SwSectionFormat *> >, struct std::random_access_iterator_tag>,type-parameter-?-?,type-parameter-?-?) sw/inc/docary.hxx:94 void SwVectorModifyBase::insert(class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<class SwCharFormat **, class std::__cxx1998::vector<class SwCharFormat *, class std::allocator<class SwCharFormat *> > >, class std::__debug::vector<class SwCharFormat *, class std::allocator<class SwCharFormat *> >, struct std::random_access_iterator_tag>,type-parameter-?-?,type-parameter-?-?) -sw/inc/docary.hxx:94 - void SwVectorModifyBase::insert(class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<class SwFrameFormat **, class std::__cxx1998::vector<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > >, class std::__debug::vector<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> >, struct std::random_access_iterator_tag>,type-parameter-?-?,type-parameter-?-?) sw/inc/docary.hxx:94 void SwVectorModifyBase::insert(class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<class SwNumRule **, class std::__cxx1998::vector<class SwNumRule *, class std::allocator<class SwNumRule *> > >, class std::__debug::vector<class SwNumRule *, class std::allocator<class SwNumRule *> >, struct std::random_access_iterator_tag>,type-parameter-?-?,type-parameter-?-?) +sw/inc/docary.hxx:94 + void SwVectorModifyBase::insert(class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<class SwFrameFormat **, class std::__cxx1998::vector<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > >, class std::__debug::vector<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> >, struct std::random_access_iterator_tag>,type-parameter-?-?,type-parameter-?-?) sw/inc/docary.hxx:140 void SwVectorModifyBase::dumpAsXml(struct _xmlTextWriter *) sw/inc/docufld.hxx:494 @@ -1632,10 +1638,6 @@ sw/source/core/inc/frame.hxx:1394 long SwRectFnSet::RightDist(const class SwRect &,long) const sw/source/core/inc/mvsave.hxx:169 _Bool ZSortFly::operator==(const class ZSortFly &) const -sw/source/core/inc/swfont.hxx:249 - _Bool SwFont::IsBlink() const -sw/source/core/inc/txtfrm.hxx:521 - void SwTextFrame::SetBlinkPor() const sw/source/core/text/porlin.hxx:118 _Bool SwLinePortion::IsTabRightPortion() const sw/source/core/text/txtpaint.hxx:71 @@ -1782,7 +1784,9 @@ vcl/inc/skia/gdiimpl.hxx:198 void SkiaSalGraphicsImpl::dump(const char *) const vcl/inc/skia/salbmp.hxx:70 void SkiaSalBitmap::dump(const char *) const -vcl/inc/skia/utils.hxx:57 +vcl/inc/skia/utils.hxx:58 + void SkiaHelper::removeCachedImage(class sk_sp<class SkImage>) +vcl/inc/skia/utils.hxx:62 void SkiaHelper::dump(const class SkBitmap &,const char *) vcl/inc/skia/zone.hxx:22 void SkiaZone::relaxWatchdogTimings() diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 88693051ace6..ddea969bde5f 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -113,8 +113,6 @@ public: bool IsMultiSelectionEnabled() const; void SetSelectHdl(const Link<ComboBox&,void>& rLink); - void SetDoubleClickHdl(const Link<ComboBox&,void>& rLink); - const Link<ComboBox&,void>& GetDoubleClickHdl() const; void SetEntryActivateHdl(const Link<Edit&,bool>& rLink); void SetUserDrawHdl(const Link<UserDrawEvent*, void>& rLink); diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 386d8e89c217..b8df2abc525d 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -172,7 +172,6 @@ public: void SetEntryData( sal_Int32 nPos, void* pNewData ); void* GetEntryData( sal_Int32 nPos ) const; - void* GetSelectedEntryData() const { return GetEntryData(GetSelectedEntryPos()); } /** this methods stores a combination of flags from the ListBoxEntryFlags::* defines at the given entry. @@ -221,7 +220,6 @@ public: void SetSelectHdl( const Link<ListBox&,void>& rLink ) { maSelectHdl = rLink; } void SetDoubleClickHdl( const Link<ListBox&,void>& rLink ) { maDoubleClickHdl = rLink; } - const Link<ListBox&,void>& GetDoubleClickHdl() const { return maDoubleClickHdl; } Size CalcSubEditSize() const; //size of area inside lstbox, i.e. no scrollbar/dropdown Size CalcMinimumSize() const; //size of lstbox area, i.e. including scrollbar/dropdown diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index 49d08d644e39..fcec64ef7892 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -137,7 +137,6 @@ public: sal_uInt16 nPos, sal_uInt16 nIntoSetId, SplitWindowItemFlags nBits ); void RemoveItem( sal_uInt16 nId ); - void Clear(); void SplitItem( sal_uInt16 nId, long nNewSize, bool bPropSmall, diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index 565a943c41a5..879f1ef84276 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -438,7 +438,6 @@ public: void SetSelectHdl( const Link<SvTreeListBox*,void>& rNewHdl ) {aSelectHdl=rNewHdl; } void SetDeselectHdl( const Link<SvTreeListBox*,void>& rNewHdl ) {aDeselectHdl=rNewHdl; } void SetDoubleClickHdl(const Link<SvTreeListBox*,bool>& rNewHdl) {aDoubleClickHdl=rNewHdl;} - const Link<SvTreeListBox*,bool>& GetDoubleClickHdl() const { return aDoubleClickHdl; } void SetExpandingHdl(const Link<SvTreeListBox*,bool>& rNewHdl){aExpandingHdl=rNewHdl;} void SetExpandedHdl(const Link<SvTreeListBox*,void>& rNewHdl){aExpandedHdl=rNewHdl;} void SetPopupMenuHdl(const Link<const CommandEvent&, bool>& rLink) { aPopupMenuHdl = rLink; } @@ -615,7 +614,6 @@ public: void SetCheckButtonHdl( const Link<SvTreeListBox*,void>& rLink ) { aCheckButtonHdl=rLink; } virtual void CheckButtonHdl(); - void SetSublistOpenWithReturn(); // open/close sublist with return/enter void SetSublistOpenWithLeftRight(); // open/close sublist with cursor left/right void EnableInplaceEditing( bool bEnable ); @@ -652,7 +650,6 @@ public: void SetEntryWidth( short nWidth ); Size GetOutputSizePixel() const; short GetIndent() const { return nIndent; } - void SetIndent( short nIndent ); void SetSpaceBetweenEntries( short nSpace ); Point GetEntryPosition(const SvTreeListEntry*) const; void MakeVisible( SvTreeListEntry* pEntry ); diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 3d1ce91c93a6..1e5487f3779e 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -1043,8 +1043,6 @@ public: tools::Rectangle GetDesktopRectPixel() const; // window extents including border and decoration tools::Rectangle GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const; - // window extents of the client window, coordinates to be used in SetPosPixel - tools::Rectangle GetClientWindowExtentsRelative() const; bool IsScrollable() const; virtual void Scroll( long nHorzScroll, long nVertScroll, diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index e48522f87808..9160c231f7e3 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -22,7 +22,6 @@ #include <sfx2/sfxresid.hxx> #include "helpinterceptor.hxx" #include <helper.hxx> -#include "panelist.hxx" #include <srchdlg.hxx> #include <sfx2/sfxhelp.hxx> #include <sal/log.hxx> @@ -136,25 +135,6 @@ namespace sfx2 { - void HandleTaskPaneList( vcl::Window* pWindow, bool bAddToList ) - { - vcl::Window* pParent = pWindow->GetParent(); - DBG_ASSERT( pParent, "HandleTaskPaneList(): every window here should have a parent" ); - - SystemWindow* pSysWin = pParent->GetSystemWindow(); - if( pSysWin ) - { - TaskPaneList* pTaskPaneList = pSysWin->GetTaskPaneList(); - if( pTaskPaneList ) - { - if( bAddToList ) - pTaskPaneList->AddWindow( pWindow ); - else - pTaskPaneList->RemoveWindow( pWindow ); - } - } - } - /** Prepare a search string for searching or selecting. For searching every search word needs the postfix '*' and the delimiter ' ' if necessary. For selecting the delimiter '|' is required to search with regular expressions. @@ -1433,12 +1413,6 @@ HelpTabPage_Impl* SfxHelpIndexWindow_Impl::GetPage(const OString& rName) return pPage; } -HelpTabPage_Impl* SfxHelpIndexWindow_Impl::GetCurrentPage() -{ - OString sName(m_xTabCtrl->get_current_page_ident()); - return GetPage(sName); -} - IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, SelectHdl, weld::ComboBox&, void) { aIdle.Start(); diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index 83b356eee551..6a78b857081e 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -250,7 +250,6 @@ private: void Initialize(); void SetActiveFactory(); HelpTabPage_Impl* GetPage(const OString&); - HelpTabPage_Impl* GetCurrentPage(); inline ContentTabPage_Impl* GetContentPage(); inline IndexTabPage_Impl* GetIndexPage(); diff --git a/sfx2/source/appl/panelist.hxx b/sfx2/source/appl/panelist.hxx deleted file mode 100644 index 0761c2532fc7..000000000000 --- a/sfx2/source/appl/panelist.hxx +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_SFX2_SOURCE_APPL_PANELIST_HXX -#define INCLUDED_SFX2_SOURCE_APPL_PANELIST_HXX - -#include <vcl/keycod.hxx> - -namespace sfx2 -{ - // source in newhelp.cxx - - void HandleTaskPaneList( vcl::Window* pWindow, bool bAddToList ); - // pWindow: just a system window or something which is child of a system window - - inline void AddToTaskPaneList( vcl::Window* pWindowToBeHandled ) - { - HandleTaskPaneList( pWindowToBeHandled, true ); - } - - inline void RemoveFromTaskPaneList( vcl::Window* pWindowToBeHandled ) - { - HandleTaskPaneList( pWindowToBeHandled, false ); - } -} - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/svimpbox.hxx b/vcl/inc/svimpbox.hxx index df7d5724663f..5d23b3f2c46b 100644 --- a/vcl/inc/svimpbox.hxx +++ b/vcl/inc/svimpbox.hxx @@ -131,7 +131,6 @@ private: short m_nHorSBarHeight, m_nVerSBarWidth; bool m_bUpdateMode : 1; - bool m_bSubLstOpRet : 1; // open/close sublist with return/enter, defaulted with false bool m_bSubLstOpLR : 1; // open/close sublist with cursor left/right, defaulted with false bool m_bContextMenuHandling : 1; bool mbForceMakeVisible; diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 1bdbaa975a9e..72d07497c802 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -984,10 +984,6 @@ bool ComboBox::IsMultiSelectionEnabled() const void ComboBox::SetSelectHdl(const Link<ComboBox&,void>& rLink) { m_pImpl->m_SelectHdl = rLink; } -void ComboBox::SetDoubleClickHdl(const Link<ComboBox&,void>& rLink) { m_pImpl->m_DoubleClickHdl = rLink; } - -const Link<ComboBox&,void>& ComboBox::GetDoubleClickHdl() const { return m_pImpl->m_DoubleClickHdl; } - void ComboBox::SetEntryActivateHdl(const Link<Edit&,bool>& rLink) { if (!m_pImpl->m_pSubEdit) diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index 64016e99b691..4385c1ae8f9d 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -106,7 +106,7 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS m_bInVScrollHdl = false; m_nFlags |= LBoxFlags::Filling; - m_bSubLstOpRet = m_bSubLstOpLR = m_bContextMenuHandling = false; + m_bSubLstOpLR = m_bContextMenuHandling = false; } SvImpLBox::~SvImpLBox() @@ -2367,15 +2367,7 @@ bool SvImpLBox::KeyInput( const KeyEvent& rKEvt) break; case KEY_RETURN: - if( m_bSubLstOpRet && IsExpandable() ) - { - if( m_pView->IsExpanded( m_pCursor ) ) - m_pView->Collapse( m_pCursor ); - else - m_pView->Expand( m_pCursor ); - } - else - bKeyUsed = false; + bKeyUsed = false; break; case KEY_F2: diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 75b858b75b30..f88224828832 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -1408,11 +1408,6 @@ void SvTreeListBox::SetNoAutoCurEntry( bool b ) pImpl->SetNoAutoCurEntry( b ); } -void SvTreeListBox::SetSublistOpenWithReturn() -{ - pImpl->m_bSubLstOpRet = true; -} - void SvTreeListBox::SetSublistOpenWithLeftRight() { pImpl->m_bSubLstOpLR = true; @@ -1837,14 +1832,6 @@ SvTreeListEntry* SvTreeListBox::CloneEntry( SvTreeListEntry* pSource ) return pClone; } -void SvTreeListBox::SetIndent( short nNewIndent ) -{ - nIndent = nNewIndent; - SetTabs(); - if( IsUpdateMode() ) - Invalidate(); -} - const Image& SvTreeListBox::GetDefaultExpandedEntryBmp( ) const { return pImpl->GetDefaultEntryExpBmp( ); diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index 4cc59d084554..9acc609c963d 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -2299,18 +2299,6 @@ void SplitWindow::RemoveItem( sal_uInt16 nId ) pOrgParent.clear(); } -void SplitWindow::Clear() -{ - // create Main-Set again - mpMainSet.reset(new ImplSplitSet()); - if ( mnWinStyle & WB_NOSPLITDRAW ) - mpMainSet->mnSplitSize -= 2; - mpBaseSet = mpMainSet.get(); - - // and invalidate again - ImplUpdate(); -} - void SplitWindow::SplitItem( sal_uInt16 nId, long nNewSize, bool bPropSmall, bool bPropGreat ) { diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 5e70e2674f95..125e805e108b 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -2961,12 +2961,6 @@ tools::Rectangle Window::GetWindowExtentsRelative( vcl::Window *pRelativeWindow return ImplGetWindowExtentsRelative( pRelativeWindow, false ); } -tools::Rectangle Window::GetClientWindowExtentsRelative() const -{ - // without decoration - return ImplGetWindowExtentsRelative( nullptr, true ); -} - tools::Rectangle Window::ImplGetWindowExtentsRelative( vcl::Window *pRelativeWindow, bool bClientOnly ) const { SalFrameGeometry g = mpWindowImpl->mpFrame->GetGeometry(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits