diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-08 14:59:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-09 07:18:17 +0100 |
commit | 0d43b791e60aa75eb7f769d0f9b3177f93e1591c (patch) | |
tree | 0f22f0ab1972013ff6c7cce91895d1b69c236dfb | |
parent | 145280ffd1dabdc629c14c8162beef668741bcef (diff) |
loplugin:unusedmethods
Change-Id: I4f2635d468c9ad83b3ac93733529e01a4d03f38e
Reviewed-on: https://gerrit.libreoffice.org/64805
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | compilerplugins/clang/unusedmethods.results | 278 | ||||
-rw-r--r-- | compilerplugins/clang/unusedmethods.unused-returns.results | 78 | ||||
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 35 | ||||
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 7 | ||||
-rw-r--r-- | cui/source/inc/autocdlg.hxx | 27 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 102 | ||||
-rw-r--r-- | include/svtools/simptabl.hxx | 2 | ||||
-rw-r--r-- | include/vcl/print.hxx | 4 | ||||
-rw-r--r-- | include/vcl/treelist.hxx | 4 | ||||
-rw-r--r-- | sc/inc/xmlwrap.hxx | 12 | ||||
-rw-r--r-- | svtools/source/contnr/simptabl.cxx | 10 | ||||
-rw-r--r-- | sw/source/core/inc/UndoTable.hxx | 9 | ||||
-rw-r--r-- | vcl/source/gdi/print.cxx | 9 | ||||
-rw-r--r-- | vcl/source/gdi/print3.cxx | 5 |
14 files changed, 180 insertions, 402 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index e6a994b0931d..5266394c7c3c 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -1,7 +1,5 @@ basctl/source/basicide/moduldlg.hxx:256 void basctl::createLibImpl(class weld::Window *,const class basctl::ScriptDocument &,class basctl::CheckBox *,class basctl::TreeListBox *) -basctl/source/inc/bastype2.hxx:224 - class SbxVariable * basctl::TreeListBox::FindVariable(class SvTreeListEntry *) basegfx/source/range/b2drangeclipper.cxx:691 type-parameter-?-? basegfx::(anonymous namespace)::eraseFromList(type-parameter-?-? &,const type-parameter-?-? &) basic/source/inc/buffer.hxx:41 @@ -50,8 +48,30 @@ connectivity/source/inc/OTypeInfo.hxx:46 _Bool connectivity::OTypeInfo::operator==(const struct connectivity::OTypeInfo &) const connectivity/source/inc/OTypeInfo.hxx:47 _Bool connectivity::OTypeInfo::operator!=(const struct connectivity::OTypeInfo &) const -cui/source/inc/cfgutil.hxx:263 - void CuiConfigGroupListBox::SelectMacro(const class rtl::OUString &,const class rtl::OUString &) +cppcanvas/source/inc/implrenderer.hxx:114 + void cppcanvas::internal::XForm::Set(const struct cppcanvas::internal::XForm &) +cppcanvas/source/inc/implrenderer.hxx:130 + void cppcanvas::internal::XForm::Multiply(const struct cppcanvas::internal::XForm &) +cppcanvas/source/inc/implrenderer.hxx:249 + void cppcanvas::internal::ImplRenderer::processObjectRecord(class SvMemoryStream &,unsigned short,unsigned int,_Bool) +cui/source/inc/autocdlg.hxx:71 + OfaACorrCheckListBox::OfaACorrCheckListBox(class SvSimpleTableContainer &) +cui/source/inc/autocdlg.hxx:76 + void * OfaACorrCheckListBox::GetUserData(unsigned long) +cui/source/inc/autocdlg.hxx:77 + void OfaACorrCheckListBox::SetUserData(unsigned long,void *) +cui/source/inc/cfgutil.hxx:147 + class std::unique_ptr<class weld::TreeIter, struct std::default_delete<class weld::TreeIter> > CuiConfigFunctionListBox::make_iterator(const class weld::TreeIter *) const +cui/source/inc/cfgutil.hxx:148 + _Bool CuiConfigFunctionListBox::get_iter_first(class weld::TreeIter &) const +cui/source/inc/cfgutil.hxx:150 + _Bool CuiConfigFunctionListBox::iter_next(class weld::TreeIter &) const +cui/source/inc/cfgutil.hxx:151 + class rtl::OUString CuiConfigFunctionListBox::get_text(const class weld::TreeIter &) const +cui/source/inc/cfgutil.hxx:152 + void CuiConfigFunctionListBox::scroll_to_row(const class weld::TreeIter &) +cui/source/inc/cfgutil.hxx:153 + void CuiConfigFunctionListBox::select(const class weld::TreeIter &) dbaccess/source/filter/hsqldb/fbalterparser.hxx:20 void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const dbaccess/source/filter/hsqldb/parseschema.hxx:82 @@ -104,7 +124,7 @@ editeng/inc/edtspell.hxx:113 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > > WrongList::end() const extensions/source/scanner/scanner.hxx:81 void ScannerManager::SetData(void *) -framework/source/uiconfiguration/ImageList.hxx:51 +framework/source/uiconfiguration/ImageList.hxx:53 _Bool ImageList::operator!=(const class ImageList &) const hwpfilter/source/mzstring.h:99 class MzString & MzString::operator<<(unsigned char) @@ -418,10 +438,6 @@ include/drawinglayer/primitive3d/baseprimitive3d.hxx:113 _Bool drawinglayer::primitive3d::BasePrimitive3D::operator!=(const class drawinglayer::primitive3d::BasePrimitive3D &) const include/drawinglayer/texture/texture.hxx:44 _Bool drawinglayer::texture::GeoTexSvx::operator!=(const class drawinglayer::texture::GeoTexSvx &) const -include/editeng/editeng.hxx:193 - unsigned short EditEngine::GetOnePixelInRef() const -include/editeng/editstat.hxx:122 - int & EditStatus::GetPrevParagraph() include/editeng/hyphenzoneitem.hxx:65 _Bool SvxHyphenZoneItem::IsPageEnd() const include/filter/msfilter/mstoolbar.hxx:103 @@ -454,70 +470,56 @@ include/o3tl/safeint.hxx:79 typename enable_if<std::is_unsigned<T>::value, type-parameter-?-?>::type o3tl::saturating_sub(type-parameter-?-?,type-parameter-?-?) include/o3tl/string_view.hxx:173 o3tl::basic_string_view::basic_string_view<charT, traits>() -include/o3tl/string_view.hxx:546 +include/o3tl/string_view.hxx:537 o3tl::basic_string_view::basic_string_view<charT, traits>(const basic_string<type-parameter-?-?, type-parameter-?-?, allocator<type-parameter-?-?> > &) -include/o3tl/string_view.hxx:688 +include/o3tl/string_view.hxx:679 _Bool o3tl::operator==(basic_string_view<type-parameter-?-?, type-parameter-?-?>,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:699 +include/o3tl/string_view.hxx:690 _Bool o3tl::operator==(typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:705 +include/o3tl/string_view.hxx:696 _Bool o3tl::operator!=(basic_string_view<type-parameter-?-?, type-parameter-?-?>,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:710 +include/o3tl/string_view.hxx:701 _Bool o3tl::operator!=(basic_string_view<type-parameter-?-?, type-parameter-?-?>,typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type) -include/o3tl/string_view.hxx:716 +include/o3tl/string_view.hxx:707 _Bool o3tl::operator!=(typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:722 +include/o3tl/string_view.hxx:713 _Bool o3tl::operator<(basic_string_view<type-parameter-?-?, type-parameter-?-?>,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:727 +include/o3tl/string_view.hxx:718 _Bool o3tl::operator<(basic_string_view<type-parameter-?-?, type-parameter-?-?>,typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type) -include/o3tl/string_view.hxx:733 +include/o3tl/string_view.hxx:724 _Bool o3tl::operator<(typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:739 +include/o3tl/string_view.hxx:730 _Bool o3tl::operator>(basic_string_view<type-parameter-?-?, type-parameter-?-?>,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:744 +include/o3tl/string_view.hxx:735 _Bool o3tl::operator>(basic_string_view<type-parameter-?-?, type-parameter-?-?>,typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type) -include/o3tl/string_view.hxx:750 +include/o3tl/string_view.hxx:741 _Bool o3tl::operator>(typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:756 +include/o3tl/string_view.hxx:747 _Bool o3tl::operator<=(basic_string_view<type-parameter-?-?, type-parameter-?-?>,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:761 +include/o3tl/string_view.hxx:752 _Bool o3tl::operator<=(basic_string_view<type-parameter-?-?, type-parameter-?-?>,typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type) -include/o3tl/string_view.hxx:767 +include/o3tl/string_view.hxx:758 _Bool o3tl::operator<=(typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:773 +include/o3tl/string_view.hxx:764 _Bool o3tl::operator>=(basic_string_view<type-parameter-?-?, type-parameter-?-?>,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:778 +include/o3tl/string_view.hxx:769 _Bool o3tl::operator>=(basic_string_view<type-parameter-?-?, type-parameter-?-?>,typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type) -include/o3tl/string_view.hxx:784 +include/o3tl/string_view.hxx:775 _Bool o3tl::operator>=(typename decay<basic_string_view<type-parameter-?-?, type-parameter-?-?> >::type,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:791 +include/o3tl/string_view.hxx:782 basic_ostream<type-parameter-?-?, type-parameter-?-?> & o3tl::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,basic_string_view<type-parameter-?-?, type-parameter-?-?>) -include/o3tl/string_view.hxx:835 +include/o3tl/string_view.hxx:826 unsigned long std::hash::operator()(class o3tl::basic_string_view<char, struct std::char_traits<char> >) -include/o3tl/string_view.hxx:840 +include/o3tl/string_view.hxx:831 unsigned long std::hash::operator()(class o3tl::basic_string_view<char16_t, struct std::char_traits<char16_t> >) -include/o3tl/string_view.hxx:845 +include/o3tl/string_view.hxx:836 unsigned long std::hash::operator()(class o3tl::basic_string_view<char32_t, struct std::char_traits<char32_t> >) -include/o3tl/string_view.hxx:850 +include/o3tl/string_view.hxx:841 unsigned long std::hash::operator()(class o3tl::basic_string_view<wchar_t, struct std::char_traits<wchar_t> >) -include/o3tl/string_view.hxx:862 +include/o3tl/string_view.hxx:853 class rtl::OUString o3tl::toOUString(class o3tl::basic_string_view<char16_t, struct std::char_traits<char16_t> >) -include/o3tl/strong_int.hxx:107 - _Bool o3tl::strong_int::operator>(const strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> &) const -include/o3tl/strong_int.hxx:108 - _Bool o3tl::strong_int::operator>=(const strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> &) const -include/o3tl/strong_int.hxx:112 - strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> o3tl::strong_int::operator++(int) -include/o3tl/strong_int.hxx:113 - strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> & o3tl::strong_int::operator--() include/o3tl/strong_int.hxx:114 strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> o3tl::strong_int::operator--(int) -include/o3tl/strong_int.hxx:115 - strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> & o3tl::strong_int::operator+=(const strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> &) -include/o3tl/strong_int.hxx:116 - strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> & o3tl::strong_int::operator-=(const strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> &) -include/o3tl/strong_int.hxx:138 - strong_int<type-parameter-?-?, type-parameter-?-?> o3tl::operator-(const strong_int<type-parameter-?-?, type-parameter-?-?> &,const strong_int<type-parameter-?-?, type-parameter-?-?> &) include/o3tl/typed_flags_set.hxx:118 typename typed_flags<type-parameter-?-?>::Wrap operator~(typename typed_flags<type-parameter-?-?>::Wrap) include/o3tl/typed_flags_set.hxx:155 @@ -568,8 +570,6 @@ include/sfx2/lokcharthelper.hxx:41 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const -include/sfx2/objsh.hxx:263 - enum SfxObjectShellFlags SfxObjectShell::GetFlags() const include/sfx2/sidebar/Context.hxx:55 _Bool sfx2::sidebar::Context::operator==(const class sfx2::sidebar::Context &) const include/svl/itempool.hxx:162 @@ -578,8 +578,10 @@ include/svl/itempool.hxx:191 void SfxItemPool::dumpAsXml(struct _xmlTextWriter *) const include/svtools/ctrlbox.hxx:156 long LineListBox::GetWidth() const -include/svtools/tabbar.hxx:482 - class rtl::OString TabBar::GetHelpId(unsigned short) const +include/svtools/simptabl.hxx:108 + void SvSimpleTable::HideTable() +include/svtools/simptabl.hxx:109 + _Bool SvSimpleTable::IsVisible() const include/svx/ClassificationEditView.hxx:41 void svx::ClassificationEditView::SetCharAttributes() include/svx/ClassificationEditView.hxx:47 @@ -596,12 +598,6 @@ include/svx/dlgctrl.hxx:290 void SvxLineEndLB::set_active_text(const class rtl::OUString &) include/svx/framelink.hxx:201 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) -include/svx/galctrl.hxx:75 - _Bool GalleryPreview::SetGraphic(const class INetURLObject &) -include/svx/galctrl.hxx:86 - void SvxGalleryPreview::InitSettings() -include/svx/sdr/contact/objectcontact.hxx:165 - void sdr::contact::ObjectContact::resetViewPort() include/svx/svdlayer.hxx:75 _Bool SdrLayer::operator==(const class SdrLayer &) const include/svx/svdpntv.hxx:462 @@ -654,7 +650,7 @@ include/tools/poly.hxx:160 _Bool tools::Polygon::operator!=(const class tools::Polygon &) const include/tools/poly.hxx:247 _Bool tools::PolyPolygon::operator!=(const class tools::PolyPolygon &) const -include/tools/stream.hxx:508 +include/tools/stream.hxx:506 class rtl::OString read_uInt32_lenPrefixed_uInt8s_ToOString(class SvStream &) include/tools/weakbase.h:101 _Bool tools::WeakReference::operator==(const type-parameter-?-? *) const @@ -708,16 +704,18 @@ include/vcl/gradient.hxx:104 _Bool Gradient::operator!=(const class Gradient &) const include/vcl/hatch.hxx:55 _Bool Hatch::operator!=(const class Hatch &) const -include/vcl/headbar.hxx:311 - class rtl::OString HeaderBar::GetHelpId(unsigned short) const -include/vcl/inputctx.hxx:63 +include/vcl/inputctx.hxx:62 _Bool InputContext::operator!=(const class InputContext &) const -include/vcl/ITiledRenderable.hxx:289 +include/vcl/ITiledRenderable.hxx:286 class Pointer vcl::ITiledRenderable::getPointer() -include/vcl/opengl/OpenGLHelper.hxx:61 +include/vcl/opengl/OpenGLHelper.hxx:62 void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &) -include/vcl/opengl/OpenGLHelper.hxx:91 +include/vcl/opengl/OpenGLHelper.hxx:92 void OpenGLHelper::debugMsgStreamWarn(const class std::__cxx11::basic_ostringstream<char> &) +include/vcl/print.hxx:316 + class rtl::OUString Printer::GetPaperName() const +include/vcl/print.hxx:544 + _Bool vcl::PrinterController::getReversePrint() const include/vcl/salbtype.hxx:125 void BitmapColor::SetAlpha(unsigned char) include/vcl/salnativewidgets.hxx:387 @@ -742,26 +740,26 @@ include/vcl/settings.hxx:653 _Bool HelpSettings::operator!=(const class HelpSettings &) const include/vcl/settings.hxx:708 _Bool AllSettings::operator!=(const class AllSettings &) const -include/vcl/status.hxx:166 - class rtl::OString StatusBar::GetHelpId(unsigned short) const -include/vcl/svapp.hxx:174 +include/vcl/svapp.hxx:175 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &) -include/vcl/svapp.hxx:803 +include/vcl/svapp.hxx:804 void Application::AppEvent(const class ApplicationEvent &) include/vcl/svmain.hxx:27 _Bool ImplSVMainHook(int *) include/vcl/syswin.hxx:173 void SystemWindow::SetIdleDebugName(const char *) -include/vcl/tabctrl.hxx:152 - class rtl::OString TabControl::GetHelpId(unsigned short) const include/vcl/tabdlg.hxx:50 class vcl::Window * TabDialog::GetViewWindow() const include/vcl/textrectinfo.hxx:44 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const include/vcl/threadex.hxx:98 vcl::solarthread::detail::GenericSolarThreadExecutor::GenericSolarThreadExecutor<type-parameter-?-?, void>(const type-parameter-?-? &) -include/vcl/toolbox.hxx:425 - class rtl::OString ToolBox::GetHelpId(unsigned short) const +include/vcl/treelist.hxx:99 + _Bool SvTreeList::Select(class SvListView *,class SvTreeListEntry *,_Bool) +include/vcl/treelist.hxx:102 + void SvTreeList::Expand(class SvListView *,class SvTreeListEntry *) +include/vcl/treelist.hxx:103 + void SvTreeList::Collapse(class SvListView *,class SvTreeListEntry *) include/vcl/txtattr.hxx:57 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:273 @@ -784,75 +782,73 @@ include/vcl/weld.hxx:86 void weld::Widget::set_vexpand(_Bool) include/vcl/weld.hxx:87 _Bool weld::Widget::get_vexpand() const -include/vcl/weld.hxx:149 +include/vcl/weld.hxx:170 void weld::ScrolledWindow::vadjustment_set_upper(int) -include/vcl/weld.hxx:150 +include/vcl/weld.hxx:171 void weld::ScrolledWindow::set_hpolicy(enum VclPolicyType) -include/vcl/weld.hxx:151 +include/vcl/weld.hxx:172 enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const -include/vcl/weld.hxx:181 +include/vcl/weld.hxx:202 class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const -include/vcl/weld.hxx:215 +include/vcl/weld.hxx:234 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:421 +include/vcl/weld.hxx:442 void weld::TreeView::append(class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:426 +include/vcl/weld.hxx:447 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:439 +include/vcl/weld.hxx:465 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:499 +include/vcl/weld.hxx:524 void weld::TreeView::select_all() -include/vcl/weld.hxx:594 +include/vcl/weld.hxx:620 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:602 +include/vcl/weld.hxx:628 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:606 +include/vcl/weld.hxx:632 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:659 +include/vcl/weld.hxx:686 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:671 +include/vcl/weld.hxx:698 int weld::Entry::get_position() const -include/vcl/weld.hxx:731 +include/vcl/weld.hxx:760 int weld::SpinButton::get_min() const -include/vcl/weld.hxx:773 +include/vcl/weld.hxx:802 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1034 +include/vcl/weld.hxx:1064 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1045 +include/vcl/weld.hxx:1075 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:1092 +include/vcl/weld.hxx:1122 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1093 +include/vcl/weld.hxx:1123 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1094 +include/vcl/weld.hxx:1124 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1095 +include/vcl/weld.hxx:1125 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1096 +include/vcl/weld.hxx:1126 void weld::TimeSpinButton::show(_Bool) -include/vcl/weld.hxx:1097 +include/vcl/weld.hxx:1127 void weld::TimeSpinButton::hide() -include/vcl/weld.hxx:1098 +include/vcl/weld.hxx:1128 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1099 +include/vcl/weld.hxx:1129 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1190 - void weld::DrawingArea::connect_key_release(const class Link<const class KeyEvent &, _Bool> &) -include/vcl/weld.hxx:1217 +include/vcl/weld.hxx:1241 void weld::Menu::set_active(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1227 +include/vcl/weld.hxx:1251 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1231 +include/vcl/weld.hxx:1255 void weld::Menu::append(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1247 +include/vcl/weld.hxx:1271 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1269 +include/vcl/weld.hxx:1293 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:1379 +include/vcl/weld.hxx:1403 class rtl::OUString weld::MessageDialogController::get_primary_text() const -include/vcl/window.hxx:419 +include/vcl/window.hxx:418 const char * ImplDbgCheckWindow(const void *) -include/vcl/window.hxx:1230 +include/vcl/window.hxx:1229 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) @@ -898,6 +894,10 @@ sc/inc/table.hxx:324 _Bool ScTable::IsColRowTabValid(const short,const int,const short) const sc/inc/userlist.hxx:86 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> > > > > ScUserList::begin() const +sc/inc/xmlwrap.hxx:98 + ScXMLChartExportWrapper::ScXMLChartExportWrapper(const class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> &,class SfxMedium &) +sc/inc/xmlwrap.hxx:99 + void ScXMLChartExportWrapper::Export() sc/qa/unit/helper/qahelper.hxx:158 class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > print(const class ScAddress &) sc/qa/unit/ucalc.hxx:143 @@ -922,17 +922,25 @@ sc/qa/unit/ucalc.hxx:529 void Test::testCondFormatListenToOwnRange() sc/source/core/inc/interpre.hxx:73 basic_ostream<type-parameter-?-?, type-parameter-?-?> & sc::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const struct sc::ParamIfsResult &) -sc/source/core/opencl/formulagroupcl.cxx:914 - void sc::opencl::DynamicKernelMixedArgument::GenNumDeclRef(class std::__cxx11::basic_stringstream<char> &) const -sc/source/core/opencl/formulagroupcl.cxx:1261 +sc/source/core/opencl/formulagroupcl.cxx:1051 + _Bool sc::opencl::DynamicKernelSlidingArgument::NeedParallelReduction() const +sc/source/core/opencl/formulagroupcl.cxx:1059 + void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class std::__cxx11::basic_stringstream<char> &) +sc/source/core/opencl/formulagroupcl.cxx:1338 + void sc::opencl::ParallelReductionVectorRef::GenSlidingWindowFunction(class std::__cxx11::basic_stringstream<char> &) +sc/source/core/opencl/formulagroupcl.cxx:1518 + class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > sc::opencl::ParallelReductionVectorRef::GenSlidingWindowDeclRef(_Bool) const +sc/source/core/opencl/formulagroupcl.cxx:1553 + unsigned long sc::opencl::ParallelReductionVectorRef::Marshal(struct _cl_kernel *,int,int,struct _cl_program *) +sc/source/core/opencl/formulagroupcl.cxx:1730 unsigned long sc::opencl::ParallelReductionVectorRef::GetArrayLength() const -sc/source/core/opencl/formulagroupcl.cxx:1263 +sc/source/core/opencl/formulagroupcl.cxx:1732 unsigned long sc::opencl::ParallelReductionVectorRef::GetWindowSize() const -sc/source/core/opencl/formulagroupcl.cxx:1265 +sc/source/core/opencl/formulagroupcl.cxx:1734 _Bool sc::opencl::ParallelReductionVectorRef::GetStartFixed() const -sc/source/core/opencl/formulagroupcl.cxx:1267 +sc/source/core/opencl/formulagroupcl.cxx:1736 _Bool sc::opencl::ParallelReductionVectorRef::GetEndFixed() const -sc/source/core/opencl/op_statistical.hxx:204 +sc/source/core/opencl/op_statistical.hxx:206 sc::opencl::OpGeoMean::OpGeoMean() sc/source/core/tool/scmatrix.cxx:2290 type-parameter-?-? * wrapped_iterator::operator->() const @@ -968,11 +976,11 @@ sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:68 void ScRandomNumberGeneratorDialog::GenerateNumbers(type-parameter-?-? &,const char *,const class boost::optional<signed char>) sc/source/ui/inc/TableFillingAndNavigationTools.hxx:120 unsigned long DataRangeIterator::size() -sc/source/ui/inc/viewdata.hxx:405 - long ScViewData::GetLOKDocWidthPixel() const sc/source/ui/inc/viewdata.hxx:406 + long ScViewData::GetLOKDocWidthPixel() const +sc/source/ui/inc/viewdata.hxx:407 long ScViewData::GetLOKDocHeightPixel() const -sc/source/ui/inc/viewdata.hxx:539 +sc/source/ui/inc/viewdata.hxx:540 _Bool ScViewData::IsGridMode() const scaddins/source/analysis/analysishelper.hxx:811 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const @@ -1038,16 +1046,6 @@ slideshow/source/engine/animationfactory.cxx:548 typename type-parameter-?-?::ValueType slideshow::internal::(anonymous namespace)::GenericAnimation::getUnderlyingValue() const slideshow/source/engine/opengl/TransitionImpl.hxx:180 void OGLTransitionImpl::finish(double,double,double,double,double) -slideshow/test/tests.hxx:33 - _Bool TestView::isClearCalled() const -slideshow/test/tests.hxx:34 - class std::__debug::vector<struct std::pair<class basegfx::B2DVector, double>, class std::allocator<struct std::pair<class basegfx::B2DVector, double> > > TestView::getCreatedSprites() const -slideshow/test/tests.hxx:35 - class basegfx::B1DRange TestView::getPriority() const -slideshow/test/tests.hxx:37 - _Bool TestView::wasClipSet() const -slideshow/test/tests.hxx:54 - int TestShape::getAnimationCount() const svgio/inc/svgstyleattributes.hxx:346 class svgio::svgreader::SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeDashOffset() const svgio/inc/svgstyleattributes.hxx:370 @@ -1126,6 +1124,8 @@ sw/inc/docary.hxx:254 class SwFrameFormat *const & SwFrameFormats::front() const sw/inc/docary.hxx:255 class SwFrameFormat *const & SwFrameFormats::back() const +sw/inc/editsh.hxx:373 + void SwEditShell::ValidateCurrentParagraphSignatures(_Bool) sw/inc/extinput.hxx:49 class SwExtTextInput * SwExtTextInput::GetPrev() sw/inc/extinput.hxx:50 @@ -1148,11 +1148,11 @@ sw/inc/pagedesc.hxx:427 class SwPageDesc *const & SwPageDescs::front() const sw/inc/pagedesc.hxx:428 class SwPageDesc *const & SwPageDescs::back() const -sw/inc/rdfhelper.hxx:59 +sw/inc/rdfhelper.hxx:76 void SwRDFHelper::cloneStatements(const class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> &,const class com::sun::star::uno::Reference<class com::sun::star::frame::XModel> &,const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::rdf::XResource> &,const class com::sun::star::uno::Reference<class com::sun::star::rdf::XResource> &) -sw/inc/rdfhelper.hxx:77 +sw/inc/rdfhelper.hxx:94 void SwRDFHelper::removeTextNodeStatement(const class rtl::OUString &,class SwTextNode &,const class rtl::OUString &,const class rtl::OUString &) -sw/inc/rdfhelper.hxx:80 +sw/inc/rdfhelper.hxx:97 void SwRDFHelper::updateTextNodeStatement(const class rtl::OUString &,const class rtl::OUString &,class SwTextNode &,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) sw/inc/ring.hxx:203 sw::RingIterator::RingIterator<value_type>() @@ -1190,7 +1190,7 @@ sw/inc/viscrs.hxx:204 const class SwShellTableCursor * SwShellTableCursor::GetPrev() const sw/qa/extras/inc/swmodeltestbase.hxx:621 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/qa/extras/uiwriter/uiwriter.cxx:6529 +sw/qa/extras/uiwriter/uiwriter.cxx:6834 int main() sw/source/core/access/accportions.cxx:69 unsigned long FindBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?) @@ -1208,6 +1208,8 @@ sw/source/core/inc/frame.hxx:1381 long SwRectFnSet::XInc(long,long) const sw/source/core/inc/mvsave.hxx:170 _Bool ZSortFly::operator==(const class ZSortFly &) const +sw/source/core/inc/UndoTable.hxx:208 + void SwUndoTableNdsChg::SetColWidthParam(unsigned long,unsigned short,enum TableChgWidthHeightType,long,long) sw/source/core/text/porlin.hxx:120 _Bool SwLinePortion::IsTabRightPortion() const sw/source/core/text/txtpaint.hxx:73 @@ -1242,7 +1244,7 @@ vcl/inc/fontselect.hxx:49 _Bool FontSelectPattern::operator!=(const class FontSelectPattern &) const vcl/inc/headless/svpgdi.hxx:244 void SvpSalGraphics::drawBitmap(const struct SalTwoRect &,struct BitmapBuffer *,enum _cairo_operator) -vcl/inc/impgraph.hxx:57 +vcl/inc/impgraph.hxx:58 _Bool GraphicID::operator==(const class GraphicID &) const vcl/inc/opengl/BufferObject.hxx:50 void vcl::BufferObject::unbind() @@ -1272,11 +1274,11 @@ vcl/inc/PhysicalFontFace.hxx:60 int PhysicalFontFace::GetWidth() const vcl/inc/PhysicalFontFace.hxx:69 void PhysicalFontFace::SetBitmapSize(int,int) -vcl/inc/PhysicalFontFamily.hxx:59 +vcl/inc/PhysicalFontFamily.hxx:60 const class rtl::OUString & PhysicalFontFamily::GetAliasNames() const vcl/inc/regionband.hxx:27 const char * ImplDbgTestRegionBand(const void *) -vcl/inc/salgdi.hxx:215 +vcl/inc/salgdi.hxx:216 class basegfx::B2DHomMatrix SalGraphics::mirror(const class basegfx::B2DHomMatrix &,const class OutputDevice *) const vcl/inc/salmenu.hxx:46 SalMenuButtonItem::SalMenuButtonItem() @@ -1294,11 +1296,11 @@ vcl/inc/salwtype.hxx:115 SalMenuEvent::SalMenuEvent() vcl/inc/schedulerimpl.hxx:37 const char * ImplSchedulerData::GetDebugName() const -vcl/inc/unx/glyphcache.hxx:70 +vcl/inc/unx/glyphcache.hxx:71 void GlyphCache::ClearFontOptions() vcl/inc/unx/gtk/gtkdata.hxx:191 void GtkSalDisplay::RefreshMenusUnity() -vcl/inc/unx/gtk/gtkinst.hxx:122 +vcl/inc/unx/gtk/gtkinst.hxx:123 void GtkDropTarget::fire_dragExit(const struct com::sun::star::datatransfer::dnd::DropTargetEvent &) vcl/inc/unx/saldata.hxx:68 void X11SalData::initNWF() @@ -1314,7 +1316,7 @@ 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> > > > > TETextPortionList::begin() const vcl/source/edit/textdat2.hxx:87 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> > > > > TETextPortionList::end() const -vcl/source/filter/FilterConfigCache.hxx:88 +vcl/source/filter/FilterConfigCache.hxx:78 class rtl::OUString FilterConfigCache::GetImportFormatMediaType(unsigned short) vcl/source/fontsubset/xlat.hxx:31 unsigned short vcl::TranslateChar12(unsigned short) diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index adfbde858de3..96b6037f6081 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -1,4 +1,4 @@ -basctl/source/inc/bastype2.hxx:309 +basctl/source/inc/bastype2.hxx:308 _Bool basctl::SbTreeListBox::get_selected(class weld::TreeIter *) const connectivity/source/inc/java/lang/Object.hxx:117 int connectivity::java_lang_Object::callIntMethodWithIntArg_ThrowRuntime(const char *,struct _jmethodID *&,int) const @@ -64,11 +64,13 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:605 _Bool lok::Document::addCertificate(const unsigned char *,const int) include/LibreOfficeKit/LibreOfficeKit.hxx:617 int lok::Document::getSignatureState() -include/LibreOfficeKit/LibreOfficeKit.hxx:712 +include/LibreOfficeKit/LibreOfficeKit.hxx:627 + unsigned long lok::Document::renderShapeSelection(char **) +include/LibreOfficeKit/LibreOfficeKit.hxx:722 char * lok::Office::getFilterTypes() -include/LibreOfficeKit/LibreOfficeKit.hxx:766 +include/LibreOfficeKit/LibreOfficeKit.hxx:776 char * lok::Office::getVersionInfo() -include/LibreOfficeKit/LibreOfficeKit.hxx:780 +include/LibreOfficeKit/LibreOfficeKit.hxx:790 _Bool lok::Office::runMacro(const char *) include/oox/crypto/AgileEngine.hxx:121 _Bool oox::core::AgileEngine::decryptHmacKey() @@ -192,21 +194,21 @@ include/vcl/fontcharmap.hxx:49 class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool) include/vcl/gdimtf.hxx:185 class SvStream & GDIMetaFile::Read(class SvStream &) -include/vcl/graphicfilter.hxx:261 +include/vcl/graphicfilter.hxx:260 class ErrCode GraphicFilter::ExportGraphic(const class Graphic &,const class INetURLObject &,unsigned short,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> *) include/vcl/GraphicNativeTransform.hxx:32 _Bool GraphicNativeTransform::rotateBitmapOnly(unsigned short) -include/vcl/menu.hxx:389 +include/vcl/menu.hxx:388 _Bool Menu::HandleMenuActivateEvent(class Menu *) const -include/vcl/menu.hxx:390 +include/vcl/menu.hxx:389 _Bool Menu::HandleMenuDeActivateEvent(class Menu *) const include/vcl/texteng.hxx:280 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) -include/vcl/toolbox.hxx:514 +include/vcl/toolbox.hxx:513 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:357 +include/vcl/weld.hxx:377 _Bool weld::ComboBox::get_entry_selection_bounds(int &,int &) -include/vcl/weld.hxx:1124 +include/vcl/weld.hxx:1154 _Bool weld::TextView::get_selection_bounds(int &,int &) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) @@ -218,9 +220,9 @@ sc/inc/document.hxx:2108 const struct ScDocumentThreadSpecific & ScDocument::CalculateInColumnInThread(struct ScInterpreterContext &,const class ScAddress &,unsigned long,unsigned int,unsigned int) sc/inc/orcusfilters.hxx:44 _Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const -sc/source/core/opencl/formulagroupcl.cxx:997 +sc/source/core/opencl/formulagroupcl.cxx:1084 unsigned long sc::opencl::DynamicKernelSlidingArgument::GenReductionLoopHeader(class std::__cxx11::basic_stringstream<char> &,_Bool &) -sc/source/core/opencl/formulagroupcl.cxx:1237 +sc/source/core/opencl/formulagroupcl.cxx:1529 unsigned long sc::opencl::ParallelReductionVectorRef::GenReductionLoopHeader(class std::__cxx11::basic_stringstream<char> &,int,_Bool &) sc/source/filter/inc/workbookhelper.hxx:259 _Bool oox::xls::WorkbookHelper::importOoxFragment(const class rtl::Reference<class oox::core::FragmentHandler> &,class oox::core::FastParser &) @@ -232,37 +234,37 @@ sc/source/ui/inc/drawview.hxx:164 _Bool ScDrawView::calculateGridOffsetForB2DRange(const class basegfx::B2DRange &,class basegfx::B2DVector &) const sc/source/ui/inc/select.hxx:72 _Bool ScViewFunctionSet::SetCursorAtCell(short,int,_Bool) -sc/source/ui/vba/vbaformat.hxx:69 +sc/source/ui/vba/vbaformat.hxx:70 class com::sun::star::uno::Any ScVbaFormat::getAddIndent() -sc/source/ui/vba/vbaformat.hxx:73 +sc/source/ui/vba/vbaformat.hxx:74 class com::sun::star::uno::Any ScVbaFormat::Borders(const class com::sun::star::uno::Any &) -sc/source/ui/vba/vbaformat.hxx:76 +sc/source/ui/vba/vbaformat.hxx:77 class com::sun::star::uno::Reference<class ooo::vba::excel::XFont> ScVbaFormat::Font() -sc/source/ui/vba/vbaformat.hxx:79 +sc/source/ui/vba/vbaformat.hxx:80 class com::sun::star::uno::Reference<class ooo::vba::excel::XInterior> ScVbaFormat::Interior() -sc/source/ui/vba/vbaformat.hxx:85 +sc/source/ui/vba/vbaformat.hxx:86 class com::sun::star::uno::Any ScVbaFormat::getNumberFormat() -sc/source/ui/vba/vbaformat.hxx:91 +sc/source/ui/vba/vbaformat.hxx:92 class com::sun::star::uno::Any ScVbaFormat::getNumberFormatLocal() -sc/source/ui/vba/vbaformat.hxx:97 +sc/source/ui/vba/vbaformat.hxx:98 class com::sun::star::uno::Any ScVbaFormat::getIndentLevel() -sc/source/ui/vba/vbaformat.hxx:103 +sc/source/ui/vba/vbaformat.hxx:104 class com::sun::star::uno::Any ScVbaFormat::getHorizontalAlignment() -sc/source/ui/vba/vbaformat.hxx:109 +sc/source/ui/vba/vbaformat.hxx:110 class com::sun::star::uno::Any ScVbaFormat::getVerticalAlignment() -sc/source/ui/vba/vbaformat.hxx:115 +sc/source/ui/vba/vbaformat.hxx:116 class com::sun::star::uno::Any ScVbaFormat::getOrientation() -sc/source/ui/vba/vbaformat.hxx:121 +sc/source/ui/vba/vbaformat.hxx:122 class com::sun::star::uno::Any ScVbaFormat::getShrinkToFit() -sc/source/ui/vba/vbaformat.hxx:127 +sc/source/ui/vba/vbaformat.hxx:128 class com::sun::star::uno::Any ScVbaFormat::getWrapText() -sc/source/ui/vba/vbaformat.hxx:133 +sc/source/ui/vba/vbaformat.hxx:134 class com::sun::star::uno::Any ScVbaFormat::getLocked() -sc/source/ui/vba/vbaformat.hxx:139 +sc/source/ui/vba/vbaformat.hxx:140 class com::sun::star::uno::Any ScVbaFormat::getFormulaHidden() -sc/source/ui/vba/vbaformat.hxx:145 +sc/source/ui/vba/vbaformat.hxx:146 class com::sun::star::uno::Any ScVbaFormat::getMergeCells() -sc/source/ui/vba/vbaformat.hxx:151 +sc/source/ui/vba/vbaformat.hxx:152 class com::sun::star::uno::Any ScVbaFormat::getReadingOrder() sd/source/filter/eppt/pptx-epptooxml.cxx:123 class oox::drawingml::ShapeExport & oox::core::PowerPointShapeExport::WritePageShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &,enum PageType,_Bool) @@ -272,15 +274,15 @@ sd/source/ui/remotecontrol/IBluetoothSocket.hxx:37 int sd::IBluetoothSocket::write(const void *,unsigned int) sw/inc/calc.hxx:114 class SwSbxValue & SwSbxValue::MakeDouble() -sw/inc/doc.hxx:1066 +sw/inc/doc.hxx:1069 _Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &) -sw/inc/doc.hxx:1227 +sw/inc/doc.hxx:1230 _Bool SwDoc::SetColRowWidthHeight(class SwTableBox &,enum TableChgWidthHeightType,long,long) -sw/inc/doc.hxx:1252 +sw/inc/doc.hxx:1255 _Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool) sw/inc/editsh.hxx:264 _Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const -sw/inc/editsh.hxx:633 +sw/inc/editsh.hxx:636 const class GraphicAttr * SwEditShell::GetGraphicAttr(class GraphicAttr &) const sw/inc/IDocumentUndoRedo.hxx:181 _Bool IDocumentUndoRedo::Repeat(class sw::RepeatContext &,const unsigned short) @@ -291,7 +293,7 @@ sw/inc/tblafmt.hxx:353 sw/source/core/inc/laycache.hxx:64 _Bool SwLayoutCache::CompareLayout(const class SwDoc &) const sw/source/core/inc/scriptinfo.hxx:227 - _Bool SwScriptInfo::GetBoundsOfHiddenRange(int,int &,int &) const + _Bool SwScriptInfo::GetBoundsOfHiddenRange(struct o3tl::strong_int<int, struct Tag_TextFrameIndex>,struct o3tl::strong_int<int, struct Tag_TextFrameIndex> &,struct o3tl::strong_int<int, struct Tag_TextFrameIndex> &) const sw/source/filter/ww8/ww8toolbar.hxx:339 _Bool Tcg::ImportCustomToolBar(class SfxObjectShell &) sw/source/uibase/inc/fldmgr.hxx:114 @@ -314,9 +316,9 @@ vcl/inc/opengl/texture.hxx:112 _Bool OpenGLTexture::CopyData(int,int,int,int,const unsigned char *) vcl/inc/salframe.hxx:222 _Bool SalFrame::SetPluginParent(struct SystemParentData *) -vcl/inc/salgdi.hxx:212 +vcl/inc/salgdi.hxx:213 class basegfx::B2DPoint SalGraphics::mirror(const class basegfx::B2DPoint &,const class OutputDevice *) const -vcl/inc/salgdi.hxx:395 +vcl/inc/salgdi.hxx:396 _Bool SalGraphics::BlendBitmap(const struct SalTwoRect &,const class SalBitmap &,const class OutputDevice *) vcl/inc/unx/gtk/gtkdata.hxx:164 int GtkSalDisplay::CaptureMouse(class SalFrame *) @@ -324,9 +326,9 @@ vcl/inc/unx/saldisp.hxx:313 _Bool SalDisplay::Dispatch(union _XEvent *) vcl/inc/WidgetDrawInterface.hxx:97 _Bool vcl::WidgetDrawInterface::updateSettings(class AllSettings &) -vcl/source/gdi/pdfwriter_impl.hxx:1225 - _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) vcl/source/gdi/pdfwriter_impl.hxx:1226 - _Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue) + _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) vcl/source/gdi/pdfwriter_impl.hxx:1227 + _Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue) +vcl/source/gdi/pdfwriter_impl.hxx:1228 _Bool vcl::PDFWriterImpl::setStructureAttributeNumerical(enum vcl::PDFWriter::StructAttribute,int) diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index 26fc5046eede..30850a76fcf0 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -111,32 +111,6 @@ namespace cppcanvas eDx = eDy = eM12 = eM21 = 0.0f; } - void Set (const XForm& f) - { - eM11 = f.eM11; - eM12 = f.eM12; - eM21 = f.eM21; - eM22 = f.eM22; - eDx = f.eDx; - eDy = f.eDy; - } - - // Multiple two square matrices - // [ eM11, eM12, eDx ] [ f.eM11, f.eM12, f.eDx ] - // [ eM21, eM22, eDy ] x [ f.eM21, f.eM22, f.eDy ] - // [ 0, 0, 1 ] [ 0, 0, 1 ] - // More information: https://en.wikipedia.org/wiki/Matrix_multiplication#Square_matrices - // FIXME We shouldn't modify source matrix during computation - void Multiply (const XForm& f) - { - eM11 = eM11*f.eM11 + eM12*f.eM21; - eM12 = eM11*f.eM12 + eM12*f.eM22; - eM21 = eM21*f.eM11 + eM22*f.eM21; - eM22 = eM21*f.eM12 + eM22*f.eM22; - eDx = eDx*f.eM11 + eDy*f.eM21 + f.eDx; - eDy = eDx*f.eM12 + eDy*f.eM22 + f.eDy; - } - friend SvStream& ReadXForm( SvStream& rIn, XForm& rXForm ) { if ( sizeof( float ) != 4 ) @@ -246,19 +220,12 @@ namespace cppcanvas ActionVector::const_iterator& o_rRangeBegin, ActionVector::const_iterator& o_rRangeEnd ) const; - void processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, bool bUseWholeStream = false); - ActionVector maActions; /* EMF+ */ XForm aBaseTransform; XForm aWorldTransform; std::unique_ptr<EMFPObject> aObjects [256]; - float fPageScale; - sal_Int32 nOriginX; - sal_Int32 nOriginY; - sal_Int32 nHDPI; - sal_Int32 nVDPI; /* EMF+ emf header info */ sal_Int32 nFrameLeft; sal_Int32 nFrameTop; @@ -269,8 +236,6 @@ namespace cppcanvas sal_Int32 nMmX; sal_Int32 nMmY; /* multipart object data */ - bool mbMultipart; - sal_uInt16 mMFlags; SvMemoryStream mMStream; /* emf+ graphic state stack */ GraphicStateMap mGSStack; diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 5c5b43fb3c89..9a41900a6208 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -2852,11 +2852,6 @@ namespace cppcanvas const Parameters& rParams ) : CanvasGraphicHelper(rCanvas) , maActions() - , fPageScale(0.0) - , nOriginX(0) - , nOriginY(0) - , nHDPI(0) - , nVDPI(0) , nFrameLeft(0) , nFrameTop(0) , nFrameRight(0) @@ -2865,8 +2860,6 @@ namespace cppcanvas , nPixY(0) , nMmX(0) , nMmY(0) - , mbMultipart(false) - , mMFlags(0) { memset (aObjects, 0, sizeof (aObjects)); diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 465ee0a34498..029cfd744b64 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -56,33 +56,6 @@ public: // class OfaACorrCheckListBox ------------------------------------------ -class OfaACorrCheckListBox : public SvSimpleTable -{ - using SvSimpleTable::SetTabs; - using SvTreeListBox::GetCheckButtonState; - using SvTreeListBox::SetCheckButtonState; - - protected: - virtual void SetTabs() override; - virtual void HBarClick() override; - virtual void KeyInput( const KeyEvent& rKEvt ) override; - - public: - OfaACorrCheckListBox(SvSimpleTableContainer& rParent) - : SvSimpleTable(rParent, WB_BORDER) - { - } - - void *GetUserData(sal_uLong nPos) { return GetEntry(nPos)->GetUserData(); } - void SetUserData(sal_uLong nPos, void *pData ) { GetEntry(nPos)->SetUserData(pData); } - sal_uLong GetSelectedEntryPos() { return GetModel()->GetAbsPos(FirstSelected()); } - - bool IsChecked(sal_uLong nPos, sal_uInt16 nCol = 0); - void CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, bool bChecked); - static SvButtonState GetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol ); - void SetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol, SvButtonState ); -}; - // class OfaAutocorrOptionsPage ------------------------------------------ diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 153d9af05823..add6fb72f3cf 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -654,108 +654,6 @@ IMPL_LINK_NOARG(OfaSwAutoFmtOptionsPage, EditHdl, weld::Button&, void) } } -void OfaACorrCheckListBox::SetTabs() -{ - SvSimpleTable::SetTabs(); - SvLBoxTabFlags nAdjust = SvLBoxTabFlags::ADJUST_RIGHT|SvLBoxTabFlags::ADJUST_LEFT|SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE; - - if( aTabs.size() > 1 ) - { - SvLBoxTab* pTab = aTabs[1].get(); - pTab->nFlags &= ~nAdjust; - pTab->nFlags |= SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE; - } - if( aTabs.size() > 2 ) - { - SvLBoxTab* pTab = aTabs[2].get(); - pTab->nFlags &= ~nAdjust; - pTab->nFlags |= SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE; - } -} - -void OfaACorrCheckListBox::CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, bool bChecked) -{ - if ( nPos < GetEntryCount() ) - SetCheckButtonState( - GetEntry(nPos), - nCol, - bChecked ? SvButtonState::Checked : SvButtonState::Unchecked ); -} - -bool OfaACorrCheckListBox::IsChecked(sal_uLong nPos, sal_uInt16 nCol) -{ - return GetCheckButtonState( GetEntry(nPos), nCol ) == SvButtonState::Checked; -} - -void OfaACorrCheckListBox::SetCheckButtonState( SvTreeListEntry* pEntry, sal_uInt16 nCol, SvButtonState eState) -{ - SvLBoxButton& rItem = static_cast<SvLBoxButton&>(pEntry->GetItem(nCol + 1)); - - if (rItem.GetType() == SvLBoxItemType::Button) - { - switch( eState ) - { - case SvButtonState::Checked: - rItem.SetStateChecked(); - break; - - case SvButtonState::Unchecked: - rItem.SetStateUnchecked(); - break; - - case SvButtonState::Tristate: - rItem.SetStateTristate(); - break; - } - InvalidateEntry( pEntry ); - } -} - -SvButtonState OfaACorrCheckListBox::GetCheckButtonState( SvTreeListEntry* pEntry, sal_uInt16 nCol ) -{ - SvButtonState eState = SvButtonState::Unchecked; - SvLBoxButton& rItem = static_cast<SvLBoxButton&>(pEntry->GetItem(nCol + 1)); - - if (rItem.GetType() == SvLBoxItemType::Button) - { - SvItemStateFlags nButtonFlags = rItem.GetButtonFlags(); - eState = SvLBoxButtonData::ConvertToButtonState( nButtonFlags ); - } - - return eState; -} - -void OfaACorrCheckListBox::HBarClick() -{ - // sorting is stopped by this override -} - -void OfaACorrCheckListBox::KeyInput( const KeyEvent& rKEvt ) -{ - if(!rKEvt.GetKeyCode().GetModifier() && - KEY_SPACE == rKEvt.GetKeyCode().GetCode()) - { - sal_uLong nSelPos = GetSelectedEntryPos(); - sal_uInt16 nCol = GetCurrentTabPos() - 1; - if ( nCol < 2 ) - { - CheckEntryPos( nSelPos, nCol, !IsChecked( nSelPos, nCol ) ); - CallImplEventListeners( VclEventId::CheckboxToggle, static_cast<void*>(GetEntry( nSelPos )) ); - } - else - { - sal_uInt16 nCheck = IsChecked(nSelPos, 1) ? 1 : 0; - if(IsChecked(nSelPos)) - nCheck += 2; - nCheck--; - nCheck &= 3; - CheckEntryPos(nSelPos, 1, 0 != (nCheck & 1)); - CheckEntryPos(nSelPos, 0, 0 != (nCheck & 2)); - } - } - else - SvSimpleTable::KeyInput(rKEvt); -} OfaAutocorrReplacePage::OfaAutocorrReplacePage(TabPageParent pParent, const SfxItemSet& rSet) diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index d94b7179ebb3..e4a15e02e8bd 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -105,8 +105,6 @@ public: void ClearHeader(); void ShowTable(); - void HideTable(); - bool IsVisible() const; void EnableTable(); void DisableTable(); diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 2d1c17e9e486..df9602dd4cd4 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -312,9 +312,6 @@ public: Paper GetPaper() const; static OUString GetPaperName( Paper ePaper ); - /** @return A UI string for the current paper; an empty string for PAPER_USER */ - OUString GetPaperName() const; - /** @return Number of available paper formats */ int GetPaperInfoCount() const; @@ -541,7 +538,6 @@ public: getMultipage() const; void setLastPage( bool i_bLastPage ); VCL_DLLPRIVATE void setReversePrint( bool i_bReverse ); - VCL_DLLPRIVATE bool getReversePrint() const; VCL_DLLPRIVATE void setPapersizeFromSetup( bool i_bPapersizeFromSetup ); VCL_DLLPRIVATE bool getPapersizeFromSetup() const; VCL_DLLPRIVATE Size& getPaperSizeSetup() const; diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx index 0f2a1f45efa9..fb4f724d6ede 100644 --- a/include/vcl/treelist.hxx +++ b/include/vcl/treelist.hxx @@ -96,12 +96,8 @@ class VCL_DLLPUBLIC SvTreeList final SvTreeListEntry* PrevSelected( const SvListView*,SvTreeListEntry* pEntry ) const; SvTreeListEntry* LastSelected( const SvListView*) const; - static bool Select( SvListView*,SvTreeListEntry* pEntry, bool bSelect ); sal_uLong GetChildSelectionCount( const SvListView*,SvTreeListEntry* pParent ) const; - static void Expand( SvListView*,SvTreeListEntry* pParent ); - static void Collapse( SvListView*,SvTreeListEntry* pParent ); - VCL_DLLPRIVATE void SetAbsolutePositions(); VCL_DLLPRIVATE void CloneChildren( diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx index e7768f79d1e6..caa351515273 100644 --- a/sc/inc/xmlwrap.hxx +++ b/sc/inc/xmlwrap.hxx @@ -92,18 +92,6 @@ public: const sc::ImportPostProcessData& GetImportPostProcessData() const { return maPostProcessData;} }; -class ScXMLChartExportWrapper -{ -public: - ScXMLChartExportWrapper( css::uno::Reference< css::frame::XModel > const & xModel, SfxMedium& rMed ); - void Export(); - -private: - css::uno::Reference< css::frame::XModel > mxModel; - css::uno::Reference< css::embed::XStorage > mxStorage; - SfxMedium& mrMedium; -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index cea94c5eba7e..0b4eff95f86f 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -250,16 +250,6 @@ void SvSimpleTable::ShowTable() m_rParentTableContainer.Show(); } -void SvSimpleTable::HideTable() -{ - m_rParentTableContainer.Hide(); -} - -bool SvSimpleTable::IsVisible() const -{ - return m_rParentTableContainer.IsVisible(); -} - void SvSimpleTable::EnableTable() { m_rParentTableContainer.Enable(); diff --git a/sw/source/core/inc/UndoTable.hxx b/sw/source/core/inc/UndoTable.hxx index 30882e9808de..f2dc0b705e55 100644 --- a/sw/source/core/inc/UndoTable.hxx +++ b/sw/source/core/inc/UndoTable.hxx @@ -205,15 +205,6 @@ public: void SaveSection( SwStartNode* pSttNd ); void ReNewBoxes( const SwSelBoxes& rBoxes ); - void SetColWidthParam( sal_uLong nBoxIdx, sal_uInt16 nMode, TableChgWidthHeightType nType, - SwTwips nAbsDif, SwTwips nRelDif ) - { - m_nCurrBox = nBoxIdx; - m_nCount = nMode; - m_nSetColType = nType; - m_nAbsDiff = static_cast<sal_uInt16>(nAbsDif); - m_nRelDiff = static_cast<sal_uInt16>(nRelDif); - } }; class SwUndoMove; diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 5fbee3c918fb..0d72b18e1231 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1454,15 +1454,6 @@ OUString Printer::GetPaperName( Paper ePaper ) return (it != pSVData->maPaperNames.end()) ? it->second : OUString(); } -OUString Printer::GetPaperName() const -{ - Size aPageSize = PixelToLogic( GetPaperSizePixel(), MapMode(MapUnit::Map100thMM)); - Paper ePaper = ImplGetPaperFormat( aPageSize.Width(), aPageSize.Height() ); - if( ePaper == PAPER_USER ) - ePaper = ImplGetPaperFormat( aPageSize.Height(), aPageSize.Width() ); - return (ePaper != PAPER_USER) ? GetPaperName( ePaper ) : OUString(); -} - const PaperInfo& Printer::GetPaperInfo( int nPaper ) const { if( ! mpInfoPrinter ) diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index f8ecb70a1889..fa16e55326a8 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -1362,11 +1362,6 @@ void PrinterController::setReversePrint( bool i_bReverse ) mpImplData->mbReversePageOrder = i_bReverse; } -bool PrinterController::getReversePrint() const -{ - return mpImplData->mbReversePageOrder; -} - void PrinterController::setPapersizeFromSetup( bool i_bPapersizeFromSetup ) { mpImplData->mbPapersizeFromSetup = i_bPapersizeFromSetup; |