diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-29 09:35:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-29 14:45:43 +0200 |
commit | 73e6a7975b3508c5cfccb3df7c35b0303f87d9bb (patch) | |
tree | 0b9a2c93b1db01dd476be1479022ac5066980db9 | |
parent | 3138abfb052a4241cfca4b8d430c139cca50a85c (diff) |
loplugin:unusedmethods
Change-Id: I7805ac9bc6f8c0aa5ba4804777e7d7c2c29a78f3
Reviewed-on: https://gerrit.libreoffice.org/52066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
36 files changed, 154 insertions, 464 deletions
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx index ace9c6c139f8..668b4df03bc5 100644 --- a/basic/source/sbx/sbxarray.cxx +++ b/basic/source/sbx/sbxarray.cxx @@ -87,11 +87,6 @@ SbxDataType SbxArray::GetType() const return static_cast<SbxDataType>( eType | SbxARRAY ); } -SbxClassType SbxArray::GetClass() const -{ - return SbxClassType::Array; -} - void SbxArray::Clear() { mVarEntries.clear(); diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index 351e78273543..0d4c74f88384 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -244,6 +244,8 @@ include/basegfx/vector/b2ivector.hxx:118 class basegfx::B2IVector & basegfx::B2IVector::operator*=(const class basegfx::B2DHomMatrix &) include/basegfx/vector/b3dvector.hxx:85 class basegfx::B3DVector & basegfx::B3DVector::operator*=(const class basegfx::B3DVector &) +include/basic/sbx.hxx:130 + enum SbxClassType SbxArray::GetClass() const include/basic/sbxvar.hxx:133 struct SbxValues * SbxValue::data() include/canvas/rendering/icolorbuffer.hxx:49 @@ -364,6 +366,10 @@ 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/lspcitem.hxx:96 + class rtl::OUString SvxLineSpacingItem::GetValueTextByPos(unsigned short) const +include/editeng/shaditem.hxx:79 + class rtl::OUString SvxShadowItem::GetValueTextByPos(unsigned short) const include/filter/msfilter/mstoolbar.hxx:98 Indent::Indent(_Bool) include/formula/opcode.hxx:520 @@ -490,6 +496,8 @@ include/svl/itempool.hxx:167 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const include/svl/itempool.hxx:196 void SfxItemPool::dumpAsXml(struct _xmlTextWriter *) const +include/svtools/treelist.hxx:104 + void SvTreeList::SelectAll(class SvListView *,_Bool) include/svx/ClassificationEditView.hxx:42 void svx::ClassificationEditView::SetCharAttributes() include/svx/ClassificationEditView.hxx:48 @@ -502,8 +510,14 @@ include/svx/framelink.hxx:201 _Bool operator>(const class svx::frame::Style &,const class svx::frame::Style &) include/svx/framelink.hxx:238 _Bool svx::frame::StyleVectorCombination::operator<(const class svx::frame::StyleVectorCombination &) const +include/svx/obj3d.hxx:84 + class E3dObjList * E3dObjList::Clone() const include/svx/svdlayer.hxx:72 _Bool SdrLayer::operator==(const class SdrLayer &) const +include/svx/xmlgrhlp.hxx:83 + _Bool SvXMLGraphicHelper::ImplWriteGraphic(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &,_Bool) +include/svx/xmlgrhlp.hxx:87 + void SvXMLGraphicHelper::ImplInsertGraphicURL(const class rtl::OUString &,unsigned int,const class rtl::OUString &) include/svx/xpoly.hxx:82 _Bool XPolygon::operator==(const class XPolygon &) const include/tools/bigint.hxx:86 @@ -576,8 +590,6 @@ include/vcl/alpha.hxx:48 _Bool AlphaMask::operator!=(const class AlphaMask &) const include/vcl/animate.hxx:95 _Bool Animation::operator!=(const class Animation &) const -include/vcl/bitmapaccess.hxx:336 - void BitmapWriteAccess::SetFillColor() include/vcl/bitmapex.hxx:58 _Bool BitmapEx::operator!=(const class BitmapEx &) const include/vcl/commandevent.hxx:250 @@ -590,25 +602,23 @@ include/vcl/edit.hxx:230 class rtl::OUString Edit::GetPlaceholderText() const include/vcl/EnumContext.hxx:133 _Bool vcl::EnumContext::operator!=(const class vcl::EnumContext &) -include/vcl/errcode.hxx:81 +include/vcl/errcode.hxx:87 _Bool ErrCode::operator<(const class ErrCode &) const -include/vcl/errcode.hxx:82 +include/vcl/errcode.hxx:88 _Bool ErrCode::operator<=(const class ErrCode &) const -include/vcl/errcode.hxx:83 +include/vcl/errcode.hxx:89 _Bool ErrCode::operator>(const class ErrCode &) const -include/vcl/errcode.hxx:84 +include/vcl/errcode.hxx:90 _Bool ErrCode::operator>=(const class ErrCode &) const include/vcl/gdimtf.hxx:108 _Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const include/vcl/gradient.hxx:104 _Bool Gradient::operator!=(const class Gradient &) const -include/vcl/GraphicObject.hxx:467 - _Bool GraphicObject::isGraphicObjectUniqueIdURL(const class rtl::OUString &) include/vcl/hatch.hxx:56 _Bool Hatch::operator!=(const class Hatch &) const include/vcl/inputctx.hxx:63 _Bool InputContext::operator!=(const class InputContext &) const -include/vcl/ITiledRenderable.hxx:285 +include/vcl/ITiledRenderable.hxx:288 class Pointer vcl::ITiledRenderable::getPointer() include/vcl/listctrl.hxx:48 void ListControl::deleteEntry(unsigned int) @@ -616,7 +626,7 @@ include/vcl/opengl/OpenGLContext.hxx:98 void OpenGLContext::UseNoProgram() include/vcl/opengl/OpenGLHelper.hxx:91 void OpenGLHelper::debugMsgStreamWarn(const class std::basic_ostringstream<char> &) -include/vcl/pdfwriter.hxx:565 +include/vcl/pdfwriter.hxx:564 vcl::PDFWriter::PDFSignContext::PDFSignContext(class rtl::OStringBuffer &) include/vcl/salnativewidgets.hxx:367 _Bool TabitemValue::isBothAligned() const @@ -662,126 +672,116 @@ include/vcl/uitest/uiobject.hxx:341 class std::unique_ptr<class UIObject, struct std::default_delete<class UIObject> > SpinUIObject::create(class vcl::Window *) include/vcl/wall.hxx:98 _Bool Wallpaper::operator!=(const class Wallpaper &) const -include/vcl/weld.hxx:30 +include/vcl/weld.hxx:39 void weld::Widget::set_visible(_Bool) -include/vcl/weld.hxx:48 +include/vcl/weld.hxx:57 class rtl::OString weld::Widget::get_buildable_name() const -include/vcl/weld.hxx:52 +include/vcl/weld.hxx:61 void weld::Widget::set_grid_left_attach(int) -include/vcl/weld.hxx:53 +include/vcl/weld.hxx:62 int weld::Widget::get_grid_left_attach() const -include/vcl/weld.hxx:76 +include/vcl/weld.hxx:71 + void weld::Widget::connect_focus_in(const class Link<class weld::Widget &, void> &) +include/vcl/weld.hxx:72 + void weld::Widget::connect_focus_out(const class Link<class weld::Widget &, void> &) +include/vcl/weld.hxx:90 class rtl::OUString weld::Frame::get_label() const -include/vcl/weld.hxx:89 +include/vcl/weld.hxx:103 void weld::Notebook::set_current_page(const class rtl::OString &) -include/vcl/weld.hxx:90 +include/vcl/weld.hxx:104 int weld::Notebook::get_n_pages() const -include/vcl/weld.hxx:91 +include/vcl/weld.hxx:105 class weld::Container * weld::Notebook::get_page(const class rtl::OString &) const -include/vcl/weld.hxx:93 +include/vcl/weld.hxx:107 void weld::Notebook::connect_leave_page(const class Link<const class rtl::OString &, _Bool> &) -include/vcl/weld.hxx:95 +include/vcl/weld.hxx:109 void weld::Notebook::connect_enter_page(const class Link<const class rtl::OString &, void> &) -include/vcl/weld.hxx:164 - class rtl::OUString weld::ComboBoxText::get_active_id() const -include/vcl/weld.hxx:165 - void weld::ComboBoxText::set_active_id(const class rtl::OUString &) -include/vcl/weld.hxx:167 +include/vcl/weld.hxx:185 class rtl::OUString weld::ComboBoxText::get_id(int) const -include/vcl/weld.hxx:168 +include/vcl/weld.hxx:187 void weld::ComboBoxText::append_text(const class rtl::OUString &) -include/vcl/weld.hxx:170 - void weld::ComboBoxText::append(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:171 - void weld::ComboBoxText::insert(int,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:174 - void weld::ComboBoxText::make_sorted() -include/vcl/weld.hxx:179 +include/vcl/weld.hxx:200 void weld::ComboBoxText::set_active(const class rtl::OUString &) -include/vcl/weld.hxx:181 +include/vcl/weld.hxx:202 void weld::ComboBoxText::save_value() -include/vcl/weld.hxx:183 - _Bool weld::ComboBoxText::get_value_changed_from_saved() const -include/vcl/weld.hxx:199 - int weld::TreeView::n_children() const include/vcl/weld.hxx:204 + _Bool weld::ComboBoxText::get_value_changed_from_saved() const +include/vcl/weld.hxx:231 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:208 - class rtl::OUString weld::TreeView::get(int) -include/vcl/weld.hxx:218 +include/vcl/weld.hxx:236 + class rtl::OUString weld::TreeView::get(int) const +include/vcl/weld.hxx:247 void weld::TreeView::select(const class rtl::OUString &) -include/vcl/weld.hxx:220 +include/vcl/weld.hxx:249 void weld::TreeView::remove(const class rtl::OUString &) -include/vcl/weld.hxx:283 +include/vcl/weld.hxx:312 _Bool weld::ToggleButton::get_state_changed_from_saved() const -include/vcl/weld.hxx:307 +include/vcl/weld.hxx:336 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:347 +include/vcl/weld.hxx:345 + void weld::Entry::set_editable(_Bool) +include/vcl/weld.hxx:377 void weld::SpinButton::set_min(int) -include/vcl/weld.hxx:402 +include/vcl/weld.hxx:432 enum FieldUnit weld::MetricSpinButton::get_unit() const -include/vcl/weld.hxx:421 +include/vcl/weld.hxx:451 void weld::MetricSpinButton::set_range(int,int,enum FieldUnit) -include/vcl/weld.hxx:429 +include/vcl/weld.hxx:459 void weld::MetricSpinButton::get_range(int &,int &,enum FieldUnit) const -include/vcl/weld.hxx:436 +include/vcl/weld.hxx:466 void weld::MetricSpinButton::set_increments(int,int,enum FieldUnit) -include/vcl/weld.hxx:443 +include/vcl/weld.hxx:473 void weld::MetricSpinButton::get_increments(int &,int &,enum FieldUnit) const -include/vcl/weld.hxx:455 +include/vcl/weld.hxx:485 int weld::MetricSpinButton::normalize(int) const -include/vcl/weld.hxx:456 +include/vcl/weld.hxx:486 int weld::MetricSpinButton::denormalize(int) const -include/vcl/weld.hxx:457 +include/vcl/weld.hxx:487 void weld::MetricSpinButton::set_sensitive(_Bool) -include/vcl/weld.hxx:458 +include/vcl/weld.hxx:488 _Bool weld::MetricSpinButton::get_sensitive() const -include/vcl/weld.hxx:459 +include/vcl/weld.hxx:489 _Bool weld::MetricSpinButton::get_visible() const -include/vcl/weld.hxx:460 +include/vcl/weld.hxx:490 void weld::MetricSpinButton::grab_focus() -include/vcl/weld.hxx:461 +include/vcl/weld.hxx:491 _Bool weld::MetricSpinButton::has_focus() const -include/vcl/weld.hxx:462 +include/vcl/weld.hxx:492 void weld::MetricSpinButton::show() -include/vcl/weld.hxx:463 +include/vcl/weld.hxx:493 void weld::MetricSpinButton::hide() -include/vcl/weld.hxx:464 +include/vcl/weld.hxx:494 void weld::MetricSpinButton::set_digits(unsigned int) -include/vcl/weld.hxx:465 +include/vcl/weld.hxx:495 unsigned int weld::MetricSpinButton::get_digits() const -include/vcl/weld.hxx:466 +include/vcl/weld.hxx:496 void weld::MetricSpinButton::save_value() -include/vcl/weld.hxx:467 +include/vcl/weld.hxx:497 _Bool weld::MetricSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:471 +include/vcl/weld.hxx:501 void weld::MetricSpinButton::set_text(const class rtl::OUString &) -include/vcl/weld.hxx:472 +include/vcl/weld.hxx:502 class rtl::OUString weld::MetricSpinButton::get_text() const -include/vcl/weld.hxx:473 +include/vcl/weld.hxx:503 void weld::MetricSpinButton::set_size_request(int,int) -include/vcl/weld.hxx:477 +include/vcl/weld.hxx:507 class Size weld::MetricSpinButton::get_preferred_size() const -include/vcl/weld.hxx:490 - void weld::TextView::set_text(const class rtl::OUString &) -include/vcl/weld.hxx:491 - class rtl::OUString weld::TextView::get_text() const -include/vcl/weld.hxx:492 +include/vcl/weld.hxx:522 class Selection weld::TextView::get_selection() const -include/vcl/weld.hxx:493 +include/vcl/weld.hxx:523 void weld::TextView::set_selection(const class Selection &) -include/vcl/weld.hxx:551 +include/vcl/weld.hxx:581 class weld::Window * weld::Builder::weld_window(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:556 +include/vcl/weld.hxx:586 class weld::Notebook * weld::Builder::weld_notebook(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:567 - class weld::TextView * weld::Builder::weld_text_view(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:617 - void weld::MessageDialogController::set_help_id(const class rtl::OString &) +include/vcl/weld.hxx:657 + class rtl::OUString weld::MessageDialogController::get_primary_text() const include/vcl/window.hxx:431 const char * ImplDbgCheckWindow(const void *) include/vcl/window.hxx:1230 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const +l10ntools/inc/export.hxx:171 + class __gnu_debug::_Safe_iterator<struct std::__detail::_Node_iterator<struct std::pair<const class rtl::OString, class std::unique_ptr<class MergeData, struct std::default_delete<class MergeData> > >, false, true>, class std::__debug::unordered_map<class rtl::OString, class std::unique_ptr<class MergeData, struct std::default_delete<class MergeData> >, struct std::hash< ::rtl::OString>, struct std::equal_to<class rtl::OString>, class std::allocator<struct std::pair<const class rtl::OString, class std::unique_ptr<class MergeData, struct std::default_delete<class MergeData> > > > > > MergeDataHashMap::begin() libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) o3tl/qa/cow_wrapper_clients.hxx:140 @@ -796,7 +796,7 @@ oox/inc/drawingml/textliststyle.hxx:49 void oox::drawingml::TextListStyle::dump() const oox/inc/drawingml/textparagraphproperties.hxx:101 void oox::drawingml::TextParagraphProperties::setLineSpacing(const class oox::drawingml::TextSpacing &) -sc/inc/address.hxx:650 +sc/inc/address.hxx:651 _Bool ScRange::operator<=(const class ScRange &) const sc/inc/bigrange.hxx:71 _Bool ScBigAddress::operator!=(const class ScBigAddress &) const @@ -833,7 +833,7 @@ sc/inc/stlalgorithm.hxx:62 sc/inc/stlalgorithm.hxx:63 _Bool sc::AlignedAllocator::operator!=(const AlignedAllocator<T, Alignment> &) const sc/inc/table.hxx:327 - _Bool ScTable::IsColRowTabValid(short,int,short) const + _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/qa/unit/helper/qahelper.hxx:165 @@ -856,32 +856,34 @@ sc/qa/unit/ucalc.hxx:509 void Test::testCondFormatUpdateInsertTab() sc/qa/unit/ucalc.hxx:510 void Test::testCondFormatUpdateReference() -sc/source/core/opencl/formulagroupcl.cxx:934 - _Bool sc::opencl::DynamicKernelSlidingArgument::NeedParallelReduction() const -sc/source/core/opencl/formulagroupcl.cxx:941 - void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class std::basic_stringstream<char> &) -sc/source/core/opencl/formulagroupcl.cxx:1219 - void sc::opencl::ParallelReductionVectorRef::GenSlidingWindowFunction(class std::basic_stringstream<char> &) -sc/source/core/opencl/formulagroupcl.cxx:1398 - class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > sc::opencl::ParallelReductionVectorRef::GenSlidingWindowDeclRef(_Bool) const -sc/source/core/opencl/formulagroupcl.cxx:1432 - unsigned long sc::opencl::ParallelReductionVectorRef::Marshal(struct _cl_kernel *,int,int,struct _cl_program *) -sc/source/core/opencl/formulagroupcl.cxx:1608 +sc/source/core/opencl/formulagroupcl.cxx:856 + _Bool sc::opencl::DynamicKernelMixedArgument::IsMixedArgument() const +sc/source/core/opencl/formulagroupcl.cxx:871 + void sc::opencl::DynamicKernelMixedArgument::GenNumDeclRef(class std::basic_stringstream<char> &) const +sc/source/core/opencl/formulagroupcl.cxx:875 + void sc::opencl::DynamicKernelMixedArgument::GenStringDeclRef(class std::basic_stringstream<char> &) const +sc/source/core/opencl/formulagroupcl.cxx:1069 + unsigned long sc::opencl::DynamicKernelSlidingArgument::GetWindowSize() const +sc/source/core/opencl/formulagroupcl.cxx:1071 + unsigned long sc::opencl::DynamicKernelSlidingArgument::GetStartFixed() const +sc/source/core/opencl/formulagroupcl.cxx:1073 + unsigned long sc::opencl::DynamicKernelSlidingArgument::GetEndFixed() const +sc/source/core/opencl/formulagroupcl.cxx:1121 + _Bool sc::opencl::DynamicKernelMixedSlidingArgument::IsMixedArgument() const +sc/source/core/opencl/formulagroupcl.cxx:1134 + void sc::opencl::DynamicKernelMixedSlidingArgument::GenNumDeclRef(class std::basic_stringstream<char> &) const +sc/source/core/opencl/formulagroupcl.cxx:1138 + void sc::opencl::DynamicKernelMixedSlidingArgument::GenStringDeclRef(class std::basic_stringstream<char> &) const +sc/source/core/opencl/formulagroupcl.cxx:1245 unsigned long sc::opencl::ParallelReductionVectorRef::GetArrayLength() const -sc/source/core/opencl/formulagroupcl.cxx:1610 +sc/source/core/opencl/formulagroupcl.cxx:1247 unsigned long sc::opencl::ParallelReductionVectorRef::GetWindowSize() const -sc/source/core/opencl/formulagroupcl.cxx:1612 +sc/source/core/opencl/formulagroupcl.cxx:1249 unsigned long sc::opencl::ParallelReductionVectorRef::GetStartFixed() const -sc/source/core/opencl/formulagroupcl.cxx:1614 +sc/source/core/opencl/formulagroupcl.cxx:1251 unsigned long sc::opencl::ParallelReductionVectorRef::GetEndFixed() const sc/source/core/opencl/op_statistical.hxx:204 sc::opencl::OpGeoMean::OpGeoMean() -sc/source/core/opencl/opbase.hxx:115 - _Bool sc::opencl::DynamicKernelArgument::IsMixedArgument() const -sc/source/core/opencl/opbase.hxx:119 - void sc::opencl::DynamicKernelArgument::GenNumDeclRef(class std::basic_stringstream<char> &) const -sc/source/core/opencl/opbase.hxx:121 - void sc::opencl::DynamicKernelArgument::GenStringDeclRef(class std::basic_stringstream<char> &) const sc/source/core/tool/scmatrix.cxx:2269 type-parameter-?-? * wrapped_iterator::operator->() const sc/source/core/tool/scmatrix.cxx:3263 @@ -892,6 +894,8 @@ sc/source/filter/inc/xestream.hxx:106 class XclExpStream & XclExpStream::operator<<(float) sc/source/filter/inc/xiescher.hxx:159 class Color XclImpDrawObjBase::GetSolidLineColor(const struct XclObjLineData &) const +sc/source/filter/xml/XMLStylesImportHelper.hxx:150 + _Bool ScMyStylesImportHelper::IsEqual(const class rtl::OUString *,const class rtl::OUString *) sc/source/ui/inc/dataprovider.hxx:68 _Bool sc::CSVFetchThread::IsRequestedTerminate() sc/source/ui/inc/dataprovider.hxx:69 @@ -910,7 +914,9 @@ sc/source/ui/inc/impex.hxx:93 ScImportExport::ScImportExport(class ScDocument *,const class rtl::OUString &) sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:69 void ScRandomNumberGeneratorDialog::GenerateNumbers(type-parameter-?-? &,const char *,const class boost::optional<signed char>) -scaddins/source/analysis/analysishelper.hxx:822 +sc/source/ui/inc/tabvwsh.hxx:193 + void ScTabViewShell::AdjustPosSizePixel(const class Point &,const class Size &) +scaddins/source/analysis/analysishelper.hxx:821 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const sccomp/source/solver/DifferentialEvolution.hxx:67 int DifferentialEvolutionAlgorithm::getLastChange() @@ -920,6 +926,8 @@ sd/inc/sddll.hxx:49 SdDLL::SdDLL() sd/source/filter/ppt/pptinanimations.hxx:109 void ppt::AnimationImporter::dump(const char *,long) +sd/source/ui/inc/AccessibleDocumentViewBase.hxx:297 + class rtl::OUString accessibility::AccessibleDocumentViewBase::CreateAccessibleDescription() sd/source/ui/inc/filedlg.hxx:54 _Bool SdOpenSoundFileDialog::IsInsertAsLinkSelected() sd/source/ui/inc/optsitem.hxx:176 @@ -962,12 +970,12 @@ slideshow/source/engine/opengl/TransitionImpl.hxx:180 void OGLTransitionImpl::finish(double,double,double,double,double) slideshow/source/inc/shapeattributelayer.hxx:391 void slideshow::internal::ShapeAttributeLayer::setCharRotationAngle(const double &) +starmath/inc/view.hxx:258 + void SmViewShell::AdjustPosSizePixel(const class Point &,const class Size &) svgio/inc/svgstyleattributes.hxx:345 class svgio::svgreader::SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeDashOffset() const svgio/inc/svgstyleattributes.hxx:369 enum svgio::svgreader::FontStretch svgio::svgreader::SvgStyleAttributes::getFontStretch() const -sw/inc/calbck.hxx:231 - class SwClient * SwDepend::GetToTell() sw/inc/dbgoutsw.hxx:53 const char * dbg_out(const void *) sw/inc/dbgoutsw.hxx:55 @@ -1052,7 +1060,7 @@ sw/inc/rdfhelper.hxx:80 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>() -sw/inc/swatrset.hxx:227 +sw/inc/swatrset.hxx:226 const class SvxNoHyphenItem & SwAttrSet::GetNoHyphenHere(_Bool) const sw/inc/swrect.hxx:99 class SwRect & SwRect::operator-=(const class Point &) @@ -1066,15 +1074,17 @@ sw/inc/swrect.hxx:147 _Bool SwRect::OverStepTop(long) const sw/qa/extras/inc/swmodeltestbase.hxx:556 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:6009 +sw/qa/extras/uiwriter/uiwriter.cxx:6102 int main() -sw/source/core/inc/frame.hxx:1325 +sw/source/core/inc/frame.hxx:893 + void SwFrame::dumpTopMostAsXml(struct _xmlTextWriter *) const +sw/source/core/inc/frame.hxx:1326 class Size SwRectFnSet::GetSize(const class SwRect &) const -sw/source/core/inc/frame.hxx:1356 - long SwRectFnSet::LeftDist(const class SwRect &,long) const sw/source/core/inc/frame.hxx:1357 + long SwRectFnSet::LeftDist(const class SwRect &,long) const +sw/source/core/inc/frame.hxx:1358 long SwRectFnSet::RightDist(const class SwRect &,long) const -sw/source/core/inc/frame.hxx:1365 +sw/source/core/inc/frame.hxx:1366 long SwRectFnSet::XInc(long,long) const sw/source/core/inc/mvsave.hxx:162 _Bool ZSortFly::operator==(const class ZSortFly &) const @@ -1090,6 +1100,14 @@ test/source/sheet/xsubtotalfield.cxx:28 _Bool CppUnit::assertion_traits::equal(const class com::sun::star::uno::Sequence<struct com::sun::star::sheet::SubTotalColumn> &,const class com::sun::star::uno::Sequence<struct com::sun::star::sheet::SubTotalColumn> &) test/source/sheet/xsubtotalfield.cxx:34 class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > CppUnit::assertion_traits::toString(const class com::sun::star::uno::Sequence<struct com::sun::star::sheet::SubTotalColumn> &) +toolkit/inc/helper/btndlg.hxx:52 + ButtonDialog::ButtonDialog(class vcl::Window *,long) +toolkit/inc/helper/btndlg.hxx:61 + void ButtonDialog::AddButton(const class rtl::OUString &,unsigned short,enum ButtonDialogFlags,long) +toolkit/inc/helper/btndlg.hxx:65 + unsigned short ButtonDialog::GetButtonId(unsigned short) const +toolkit/inc/helper/btndlg.hxx:66 + class PushButton * ButtonDialog::GetPushButton(unsigned short) const ucb/source/inc/regexpmap.hxx:375 RegexpMapConstIter<type-parameter-?-?> ucb_impl::RegexpMap::begin() const ucb/source/inc/regexpmap.hxx:379 @@ -1098,8 +1116,12 @@ ucb/source/ucp/ftp/ftpurl.hxx:112 class rtl::OUString ftp::FTPURL::child() const ucb/source/ucp/webdav-neon/NeonUri.hxx:65 _Bool webdav_ucp::NeonUri::operator!=(const class webdav_ucp::NeonUri &) const +vcl/inc/bitmapwriteaccess.hxx:75 + void BitmapWriteAccess::SetFillColor() vcl/inc/fontselect.hxx:47 _Bool FontSelectPatternAttributes::operator!=(const class FontSelectPatternAttributes &) const +vcl/inc/messagedialog.hxx:42 + MessageDialog::MessageDialog(class vcl::Window *,const class rtl::OString &,const class rtl::OUString &) vcl/inc/opengl/BufferObject.hxx:50 void vcl::BufferObject::unbind() vcl/inc/opengl/PackedTextureAtlas.hxx:44 @@ -1119,11 +1141,11 @@ vcl/inc/opengl/zone.hxx:41 vcl/inc/openglgdiimpl.hxx:109 void OpenGLSalGraphicsImpl::ImplDrawLineAA(double,double,double,double,_Bool) vcl/inc/openglgdiimpl.hxx:116 - _Bool OpenGLSalGraphicsImpl::UseSolid(unsigned int,unsigned char) + _Bool OpenGLSalGraphicsImpl::UseSolid(class Color,unsigned char) vcl/inc/openglgdiimpl.hxx:141 - void OpenGLSalGraphicsImpl::DrawMask(class OpenGLTexture &,unsigned int,const struct SalTwoRect &) + void OpenGLSalGraphicsImpl::DrawMask(class OpenGLTexture &,class Color,const struct SalTwoRect &) vcl/inc/openglgdiimpl.hxx:145 - void OpenGLSalGraphicsImpl::DeferredTextDraw(const class OpenGLTexture &,const unsigned int,const struct SalTwoRect &) + void OpenGLSalGraphicsImpl::DeferredTextDraw(const class OpenGLTexture &,const class Color,const struct SalTwoRect &) vcl/inc/PhysicalFontFace.hxx:64 int PhysicalFontFace::GetWidth() const vcl/inc/PhysicalFontFace.hxx:73 @@ -1178,15 +1200,23 @@ vcl/source/fontsubset/xlat.hxx:35 unsigned short TranslateChar16(unsigned short) vcl/source/gdi/pdfwriter_impl.hxx:1270 void vcl::PDFWriterImpl::setAutoAdvanceTime(unsigned int,int) -workdir/LexTarget/l10ntools/source/cfglex.cxx:3736 - void YYWarning(const char *) workdir/LexTarget/l10ntools/source/xrmlex.cxx:730 void YYWarning() +workdir/LexTarget/l10ntools/source/xrmlex.cxx:2226 + void YYWarning(const char *) writerfilter/source/ooxml/OOXMLPropertySet.hxx:157 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> *, class std::__cxx1998::vector<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> > > >, class std::__debug::vector<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> > > > writerfilter::ooxml::OOXMLPropertySet::begin() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:158 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> *, class std::__cxx1998::vector<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> > > >, class std::__debug::vector<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> > > > writerfilter::ooxml::OOXMLPropertySet::end() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:161 class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > writerfilter::ooxml::OOXMLPropertySet::toString() +xmloff/source/transform/FlatTContext.hxx:54 + void XMLPersTextContentTContext::ExportContent() +xmloff/source/transform/StyleOASISTContext.hxx:57 + void XMLStyleOASISTContext::ExportContent() +xmlsecurity/inc/framework/signaturecreatorimpl.hxx:64 + _Bool SignatureCreatorImpl::checkReady() const +xmlsecurity/inc/framework/signatureverifierimpl.hxx:58 + _Bool SignatureVerifierImpl::checkReady() const xmlsecurity/source/gpg/XMLEncryption.hxx:27 XMLEncryptionGpg::XMLEncryptionGpg() diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index ff792fe435f4..9c9811ba9931 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -46,9 +46,9 @@ extensions/source/scanner/sanedlg.hxx:90 _Bool SaneDlg::LoadState() extensions/source/scanner/sanedlg.hxx:104 _Bool SaneDlg::SetAdjustedNumericalValue(const char *,double,int) -filter/source/flash/swfexporter.hxx:88 +filter/source/flash/swfexporter.hxx:84 _Bool swf::FlashExporter::exportAll(const class com::sun::star::uno::Reference<class com::sun::star::lang::XComponent> &,const class com::sun::star::uno::Reference<class com::sun::star::io::XOutputStream> &,const class com::sun::star::uno::Reference<class com::sun::star::task::XStatusIndicator> &) -i18nlangtag/source/languagetag/languagetag.cxx:275 +i18nlangtag/source/languagetag/languagetag.cxx:274 const class rtl::OUString & LanguageTagImpl::getBcp47() const include/basegfx/vector/b2dvector.hxx:115 class basegfx::B2DVector & basegfx::B2DVector::setLength(double) @@ -208,28 +208,14 @@ lotuswordpro/inc/lwpsvstream.hxx:77 class LwpSvStream & LwpSvStream::ReadUInt16(unsigned short &) lotuswordpro/inc/lwpsvstream.hxx:78 class LwpSvStream & LwpSvStream::ReadUInt32(unsigned int &) -sc/inc/dpobject.hxx:107 - _Bool ScDPObject::FillLabelDataForDimension(const class com::sun::star::uno::Reference<class com::sun::star::container::XIndexAccess> &,int,struct ScDPLabelData &) sc/inc/orcusfilters.hxx:44 _Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const -sc/inc/postit.hxx:89 - _Bool ScCaptionPtr::forget() -sc/inc/segmenttree.hxx:44 - _Bool ScFlatBoolRowSegments::ForwardIterator::getValue(int,_Bool &) -sc/inc/table.hxx:943 - _Bool ScTable::GetDataEntries(short,int,class std::__debug::set<class ScTypedStrData, struct std::less<class ScTypedStrData>, class std::allocator<class ScTypedStrData> > &,_Bool) -sc/source/core/opencl/formulagroupcl.cxx:966 +sc/source/core/opencl/formulagroupcl.cxx:957 unsigned long sc::opencl::DynamicKernelSlidingArgument::GenReductionLoopHeader(class std::basic_stringstream<char> &,_Bool &) -sc/source/core/opencl/formulagroupcl.cxx:1408 +sc/source/core/opencl/formulagroupcl.cxx:1210 unsigned long sc::opencl::ParallelReductionVectorRef::GenReductionLoopHeader(class std::basic_stringstream<char> &,int,_Bool &) -sc/source/filter/inc/fapihelper.hxx:223 - _Bool ScfPropSetHelper::ReadValue(type-parameter-?-? &) -sc/source/filter/inc/fapihelper.hxx:225 - _Bool ScfPropSetHelper::ReadValue(class com::sun::star::uno::Any &) sc/source/filter/inc/workbookhelper.hxx:254 _Bool oox::xls::WorkbookHelper::importOoxFragment(const class rtl::Reference<class oox::core::FragmentHandler> &,class oox::core::FastParser &) -sc/source/ui/inc/content.hxx:144 - _Bool ScContentTree::SelectEntryByName(const enum ScContentId,const class rtl::OUString &) sc/source/ui/inc/select.hxx:73 _Bool ScViewFunctionSet::SetCursorAtCell(short,int,_Bool) sc/source/ui/vba/vbaformat.hxx:69 @@ -264,7 +250,7 @@ sc/source/ui/vba/vbaformat.hxx:145 class com::sun::star::uno::Any ScVbaFormat::getMergeCells() sc/source/ui/vba/vbaformat.hxx:151 class com::sun::star::uno::Any ScVbaFormat::getReadingOrder() -sd/source/filter/eppt/pptx-epptooxml.cxx:136 +sd/source/filter/eppt/pptx-epptooxml.cxx:135 class oox::drawingml::ShapeExport & oox::core::PowerPointShapeExport::WritePageShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &,enum PageType,_Bool) sd/source/ui/inc/OutlineViewShell.hxx:114 class ErrCode sd::OutlineViewShell::ReadRtf(class SvStream &) @@ -276,9 +262,9 @@ sfx2/source/appl/appserv.cxx:336 short (anonymous namespace)::SafeModeQueryDialog::execute() sw/inc/calc.hxx:112 class SwSbxValue & SwSbxValue::MakeDouble() -sw/inc/doc.hxx:1102 +sw/inc/doc.hxx:1103 _Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &) -sw/inc/doc.hxx:1284 +sw/inc/doc.hxx:1285 _Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool) sw/inc/editsh.hxx:270 _Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const @@ -286,9 +272,9 @@ sw/inc/editsh.hxx:641 const class GraphicAttr * SwEditShell::GetGraphicAttr(class GraphicAttr &) const sw/inc/IDocumentUndoRedo.hxx:180 _Bool IDocumentUndoRedo::Repeat(class sw::RepeatContext &,const unsigned short) -sw/inc/swcrsr.hxx:166 +sw/inc/swcrsr.hxx:164 _Bool SwCursor::ExpandToSentenceBorders() -sw/inc/tblafmt.hxx:345 +sw/inc/tblafmt.hxx:343 _Bool SwTableAutoFormatTable::Load(class SvStream &) sw/source/core/inc/laycache.hxx:64 _Bool SwLayoutCache::CompareLayout(const class SwDoc &) const diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 7339035a6500..d6da0edc1bc6 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -1317,13 +1317,6 @@ sal_uInt16 SvxShadowItem::GetValueCount() const return sal_uInt16(SvxShadowLocation::End); // SvxShadowLocation::BottomRight + 1 } -OUString SvxShadowItem::GetValueTextByPos( sal_uInt16 nPos ) const -{ - static_assert(SAL_N_ELEMENTS(RID_SVXITEMS_SHADOW) == size_t(SvxShadowLocation::End), "unexpected size"); - assert(nPos < sal_uInt16(SvxShadowLocation::End) && "enum overflow!"); - return EditResId(RID_SVXITEMS_SHADOW[nPos]); -} - sal_uInt16 SvxShadowItem::GetEnumValue() const { return static_cast<sal_uInt16>(GetLocation()); diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index 39240e00f577..5b318a8b26c0 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -248,30 +248,6 @@ sal_uInt16 SvxLineSpacingItem::GetValueCount() const } -OUString SvxLineSpacingItem::GetValueTextByPos( sal_uInt16 nPos ) const -{ - //! load strings from resource - OUString aText; - switch ( static_cast<SvxSpecialLineSpace>(nPos) ) - { - case SvxSpecialLineSpace::User: - aText = "User"; - break; - case SvxSpecialLineSpace::OneLine: - aText = "One line"; - break; - case SvxSpecialLineSpace::OnePointFiveLines: - aText = "1.5 line"; - break; - case SvxSpecialLineSpace::TwoLines: - aText = "Two lines"; - break; - default: break; - } - return aText; -} - - sal_uInt16 SvxLineSpacingItem::GetEnumValue() const { SvxSpecialLineSpace nVal; diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx index 96fb4cd07a1a..4a51b99fd457 100644 --- a/include/basic/sbx.hxx +++ b/include/basic/sbx.hxx @@ -127,7 +127,6 @@ public: virtual void Clear() override; sal_uInt16 Count() const; virtual SbxDataType GetType() const override; - virtual SbxClassType GetClass() const; SbxVariableRef& GetRef( sal_uInt16 ); SbxVariable* Get( sal_uInt16 ); void Put( SbxVariable*, sal_uInt16 ); diff --git a/include/editeng/lspcitem.hxx b/include/editeng/lspcitem.hxx index 87308b8f97ea..a12af58db17e 100644 --- a/include/editeng/lspcitem.hxx +++ b/include/editeng/lspcitem.hxx @@ -93,7 +93,6 @@ public: SvxInterLineSpaceRule GetInterLineSpaceRule() const { return eInterLineSpaceRule; } virtual sal_uInt16 GetValueCount() const override; - virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const; virtual sal_uInt16 GetEnumValue() const override; virtual void SetEnumValue( sal_uInt16 nNewVal ) override; }; diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx index 758f57b3990d..7a75d55c2e30 100644 --- a/include/editeng/shaditem.hxx +++ b/include/editeng/shaditem.hxx @@ -76,7 +76,6 @@ public: sal_uInt16 CalcShadowSpace( SvxShadowItemSide nShadow ) const; virtual sal_uInt16 GetValueCount() const override; - virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const; virtual sal_uInt16 GetEnumValue() const override; virtual void SetEnumValue( sal_uInt16 nNewVal ) override; void dumpAsXml(struct _xmlTextWriter* pWriter) const override; diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx index b5ba91d42e71..7027db593da2 100644 --- a/include/svtools/treelist.hxx +++ b/include/svtools/treelist.hxx @@ -101,7 +101,6 @@ class SVT_DLLPUBLIC SvTreeList final SvTreeListEntry* LastSelected( const SvListView*) const; static bool Select( SvListView*,SvTreeListEntry* pEntry, bool bSelect ); - void SelectAll( SvListView*, bool bSelect ); // Does not call Select Handler sal_uLong GetChildSelectionCount( const SvListView*,SvTreeListEntry* pParent ) const; static void Expand( SvListView*,SvTreeListEntry* pParent ); diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx index 11229e7ed368..87117cc5d203 100644 --- a/include/svx/obj3d.hxx +++ b/include/svx/obj3d.hxx @@ -81,8 +81,6 @@ public: E3dObjList(); SVX_DLLPUBLIC virtual ~E3dObjList() override; - virtual E3dObjList* Clone() const; - virtual void NbcInsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE) override; virtual void InsertObject(SdrObject* pObj, size_t nPos=SAL_MAX_SIZE) override; virtual SdrObject* NbcRemoveObject(size_t nObjNum) override; diff --git a/include/svx/xmlgrhlp.hxx b/include/svx/xmlgrhlp.hxx index 79d9123a58ef..498b0154e774 100644 --- a/include/svx/xmlgrhlp.hxx +++ b/include/svx/xmlgrhlp.hxx @@ -80,11 +80,6 @@ private: SVX_DLLPRIVATE static OUString ImplGetGraphicMimeType( const OUString& rFileName ); SVX_DLLPRIVATE Graphic ImplReadGraphic( const OUString& rPictureStorageName, const OUString& rPictureStreamName ); - SVX_DLLPRIVATE bool ImplWriteGraphic( const OUString& rPictureStorageName, - const OUString& rPictureStreamName, - const OUString& rGraphicId, - bool bUseGfxLink ); - SVX_DLLPRIVATE void ImplInsertGraphicURL( const OUString& rURLStr, sal_uInt32 nInsertPos, OUString const & rRequestedFileName ); SvXMLGraphicHelper(); virtual ~SvXMLGraphicHelper() override; diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 5a9389ff7d19..c2d43b75a60c 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -168,7 +168,6 @@ class MergeDataHashMap std::pair<iterator,bool> insert(const OString& rKey, std::unique_ptr<MergeData> pMergeData); iterator const & find(const OString& rKey); - iterator begin() {return m_aHashMap.begin();} iterator end() {return m_aHashMap.end();} private: diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index b151451dbd9a..9f261aef056d 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -853,7 +853,6 @@ public: ss << ", "; mStringArgument.GenSlidingWindowDecl(ss); } - virtual bool IsMixedArgument() const { return true;} virtual void GenSlidingWindowFunction( std::stringstream& ) override { } /// Generate declaration virtual void GenDecl( std::stringstream& ss ) const override @@ -872,10 +871,6 @@ public: { VectorRef::GenSlidingWindowDecl(ss); } - virtual void GenStringDeclRef( std::stringstream& ss ) const - { - mStringArgument.GenSlidingWindowDecl(ss); - } virtual std::string GenSlidingWindowDeclRef( bool nested ) const override { std::stringstream ss; @@ -1066,12 +1061,6 @@ public: size_t GetArrayLength() const { return mpDVR->GetArrayLength(); } - size_t GetWindowSize() const { return mpDVR->GetRefRowSize(); } - - size_t GetStartFixed() const { return bIsStartFixed; } - - size_t GetEndFixed() const { return bIsEndFixed; } - protected: bool bIsStartFixed, bIsEndFixed; const formula::DoubleVectorRefToken* mpDVR; @@ -1118,7 +1107,6 @@ public: ss << ")"; return ss.str(); } - virtual bool IsMixedArgument() const { return true;} virtual std::string GenDoubleSlidingWindowDeclRef( bool = false ) const override { std::stringstream ss; @@ -1131,14 +1119,6 @@ public: ss << mStringArgument.GenSlidingWindowDeclRef(); return ss.str(); } - virtual void GenNumDeclRef( std::stringstream& ss ) const - { - mDoubleArgument.GenDeclRef(ss); - } - virtual void GenStringDeclRef( std::stringstream& ss ) const - { - mStringArgument.GenDeclRef(ss); - } virtual size_t Marshal( cl_kernel k, int argno, int vw, cl_program p ) override { int i = mDoubleArgument.Marshal(k, argno, vw, p); diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx index ccffeb7f0c8f..62b36fb681db 100644 --- a/sc/source/filter/xml/XMLStylesImportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx @@ -147,13 +147,6 @@ class ScMyStylesImportHelper void AddDefaultRange(const ScRange& rRange); void AddSingleRange(const ScRange& rRange); void AddRange(); - static bool IsEqual(const OUString* pFirst, const OUString* pSecond) - { - return ((pFirst && pSecond && *pFirst == *pSecond) || - (!pFirst && !pSecond) || - (!pFirst && pSecond && pSecond->isEmpty()) || - (!pSecond && pFirst && pFirst->isEmpty())); - } public: explicit ScMyStylesImportHelper(ScXMLImport& rImport); ~ScMyStylesImportHelper(); diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 8db44ce95f01..00f883ab4237 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -190,8 +190,6 @@ protected: virtual void Move() override; // notification - virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ); // old - virtual void InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override; // new virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override; virtual void SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoomY ) override; diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index 2c67a32a1ae6..0b4bfa714cad 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -330,11 +330,6 @@ void ScTabViewShell::UpdateOleZoom() } } -void ScTabViewShell::AdjustPosSizePixel( const Point &rPos, const Size &rSize ) -{ - OuterResizePixel( rPos, rSize ); -} - void ScTabViewShell::InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) { Size aNewSize( rSize ); diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index 690c69e7f952..470aa565e4ea 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -607,30 +607,6 @@ OUString return OUString ("AccessibleDocumentViewBase"); } -/** Create a description for this view. Use the model's description or URL - if a description is not available. -*/ -OUString - AccessibleDocumentViewBase::CreateAccessibleDescription() -{ - OUString sDescription; - - uno::Reference<lang::XServiceInfo> xInfo (mxController, uno::UNO_QUERY); - if (xInfo.is()) - { - OUString sFirstService = xInfo->getSupportedServiceNames()[0]; - if ( sFirstService == "com.sun.star.drawing.DrawingDocumentDrawView" ) - { - sDescription = "Draw Document"; - } - else - sDescription = sFirstService; - } - else - sDescription = "Accessible Draw Document"; - return sDescription; -} - void AccessibleDocumentViewBase::Activated() { // Empty. Overwrite to do something useful. diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index f4dd53e5eb15..7899d7e03fa1 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -574,58 +574,6 @@ OUString AccessibleDrawDocumentView::CreateAccessibleName() return sName; } -/** Create a description for this view. Use the model's description or URL - if a description is not available. -*/ -OUString - AccessibleDrawDocumentView::CreateAccessibleDescription() -{ - OUString sDescription; - - uno::Reference<lang::XServiceInfo> xInfo (mxController, uno::UNO_QUERY); - if (xInfo.is()) - { - uno::Sequence< OUString > aServices( xInfo->getSupportedServiceNames() ); - OUString sFirstService = aServices[0]; - if ( sFirstService == "com.sun.star.drawing.DrawingDocumentDrawView" ) - { - if( aServices.getLength() >= 2 && aServices[1] == "com.sun.star.presentation.PresentationView") - { - SolarMutexGuard aGuard; - - sDescription = SdResId(SID_SD_A11Y_I_DRAWVIEW_D); - } - else - { - SolarMutexGuard aGuard; - - sDescription = SdResId(SID_SD_A11Y_D_DRAWVIEW_D); - } - } - else if ( sFirstService == "com.sun.star.presentation.NotesView" ) - { - SolarMutexGuard aGuard; - - sDescription = SdResId(SID_SD_A11Y_I_NOTESVIEW_D); - } - else if ( sFirstService == "com.sun.star.presentation.HandoutView" ) - { - SolarMutexGuard aGuard; - - sDescription = SdResId(SID_SD_A11Y_I_HANDOUTVIEW_D); - } - else - { - sDescription = sFirstService; - } - } - else - { - sDescription = "Accessible Draw Document"; - } - return sDescription; -} - /** Return selection state of specified child */ bool diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx index a704c8190de7..96e35b4436e4 100644 --- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx +++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx @@ -243,17 +243,6 @@ OUString return SdResId(SID_SD_A11Y_I_OUTLINEVIEW_N); } -/** Create a description for this view. Use the model's description or URL - if a description is not available. -*/ -OUString - AccessibleOutlineView::CreateAccessibleDescription() -{ - SolarMutexGuard aGuard; - - return SdResId(SID_SD_A11Y_I_OUTLINEVIEW_D); -} - void AccessibleOutlineView::UpdateChildren() { SolarMutexGuard aGuard; diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 31d7c0db0ccc..516b4630db89 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -286,16 +286,6 @@ protected: virtual OUString CreateAccessibleName () override; - /** Create a description string. The current description is not - modified and, therefore, no events are send. This method is usually - called once by the <member>getAccessibleDescription</member> method - of the base class. - @return - A description string. - */ - virtual OUString - CreateAccessibleDescription (); - /** This method is called when (after) the frame containing this document has been activated. Can be used to send FOCUSED state changes for the currently selected element. diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx index ecde467c37ae..df03a3eee460 100644 --- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx +++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx @@ -143,12 +143,6 @@ private: virtual OUString CreateAccessibleName () override; - /** Create an accessible description that contains the current - view mode. - */ - virtual OUString - CreateAccessibleDescription () override; - /** Make sure that the currently focused shape sends a FOCUSED state change event indicating that it has (regained) the focus. */ diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx index 7972ad684df3..b7cd34d114c6 100644 --- a/sd/source/ui/inc/AccessibleOutlineView.hxx +++ b/sd/source/ui/inc/AccessibleOutlineView.hxx @@ -108,11 +108,6 @@ private: virtual OUString CreateAccessibleName () override; - /// Create an accessible description that contains the current - /// view mode. - virtual OUString - CreateAccessibleDescription () override; - /// Invalidate text helper, updates visible children void UpdateChildren(); diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 376de8a552ba..5950e9e7731e 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -255,7 +255,6 @@ protected: const SfxItemSet &rOptions) override; virtual void Deactivate(bool IsMDIActivate) override; virtual void Activate(bool IsMDIActivate) override; - virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize); virtual void InnerResizePixel(const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override; virtual void OuterResizePixel(const Point &rOfs, const Size &rSize) override; virtual void QueryObjAreaPixel( tools::Rectangle& rRect ) const override; diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 9cbb38e075a7..f64876457931 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -875,11 +875,6 @@ SFX_IMPL_NAMED_VIEWFACTORY(SmViewShell, "Default") SFX_VIEW_REGISTRATION(SmDocShell); } -void SmViewShell::AdjustPosSizePixel(const Point &rPos, const Size &rSize) -{ - mpGraphic->SetPosSizePixel(rPos, rSize); -} - void SmViewShell::InnerResizePixel(const Point &rOfs, const Size &rSize, bool) { Size aObjSize = GetObjectShell()->GetVisArea().GetSize(); diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx index e227891dd572..2b1f3eff5a3e 100644 --- a/svtools/source/contnr/treelist.cxx +++ b/svtools/source/contnr/treelist.cxx @@ -1050,23 +1050,6 @@ bool SvTreeList::Remove( const SvTreeListEntry* pEntry ) return true; } -void SvTreeList::SelectAll( SvListView* pView, bool bSelect ) -{ - assert(pView && "SelectAll:NoView"); - SvTreeListEntry* pEntry = First(); - while ( pEntry ) - { - SvViewDataEntry* pViewData = pView->GetViewData( pEntry ); - pViewData->SetSelected(bSelect); - pEntry = Next( pEntry ); - } - if ( bSelect ) - pView->m_pImpl->m_nSelectionCount = nEntryCount; - else - pView->m_pImpl->m_nSelectionCount = 0; -} - - SvTreeListEntry* SvTreeList::GetEntryAtAbsPos( sal_uLong nAbsPos ) const { SvTreeListEntry* pEntry = First(); diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx index bd8ddd511c44..73a0675efdb4 100644 --- a/svx/source/engine3d/obj3d.cxx +++ b/svx/source/engine3d/obj3d.cxx @@ -93,13 +93,6 @@ E3dObjList::E3dObjList(const E3dObjList&) { } -E3dObjList* E3dObjList::Clone() const -{ - E3dObjList* const pObjList = new E3dObjList(*this); - pObjList->lateInit(*this); - return pObjList; -} - E3dObjList::~E3dObjList() { } diff --git a/toolkit/inc/helper/btndlg.hxx b/toolkit/inc/helper/btndlg.hxx index eb278846d5f1..afc26c828357 100644 --- a/toolkit/inc/helper/btndlg.hxx +++ b/toolkit/inc/helper/btndlg.hxx @@ -58,13 +58,9 @@ public: void SetPageSizePixel( const Size& rSize ) { maPageSize = rSize; } - void AddButton( const OUString& rText, sal_uInt16 nId, ButtonDialogFlags nBtnFlags = ButtonDialogFlags::NONE, long nSepPixel = 0 ); void AddButton( StandardButtonType eType, sal_uInt16 nId, ButtonDialogFlags nBtnFlags = ButtonDialogFlags::NONE, long nSepPixel = 0 ); void RemoveButton( sal_uInt16 nId ); - sal_uInt16 GetButtonId( sal_uInt16 nButton ) const; - PushButton* GetPushButton( sal_uInt16 nId ) const; - protected: ButtonDialog( WindowType nType ); long ImplGetButtonSize(); diff --git a/toolkit/source/helper/btndlg.cxx b/toolkit/source/helper/btndlg.cxx index 28d63b2c3f3e..4e3e89944308 100644 --- a/toolkit/source/helper/btndlg.cxx +++ b/toolkit/source/helper/btndlg.cxx @@ -259,27 +259,6 @@ void ButtonDialog::StateChanged( StateChangedType nType ) Dialog::StateChanged( nType ); } -void ButtonDialog::AddButton( const OUString& rText, sal_uInt16 nId, - ButtonDialogFlags nBtnFlags, long nSepPixel ) -{ - // PageItem anlegen - std::unique_ptr<ImplBtnDlgItem> pItem(new ImplBtnDlgItem); - pItem->mnId = nId; - pItem->mbOwnButton = true; - pItem->mnSepSize = nSepPixel; - pItem->mpPushButton = ImplCreatePushButton( nBtnFlags ); - - if (!rText.isEmpty()) - pItem->mpPushButton->SetText( rText ); - - m_ItemList.push_back(std::move(pItem)); - - if ( nBtnFlags & ButtonDialogFlags::Focus ) - mnFocusButtonId = nId; - - mbFormat = true; -} - void ButtonDialog::AddButton( StandardButtonType eType, sal_uInt16 nId, ButtonDialogFlags nBtnFlags, long nSepPixel ) { @@ -341,22 +320,4 @@ void ButtonDialog::RemoveButton( sal_uInt16 nId ) SAL_WARN( "vcl.window", "ButtonDialog::RemoveButton(): ButtonId invalid" ); } -sal_uInt16 ButtonDialog::GetButtonId( sal_uInt16 nButton ) const -{ - if ( nButton < m_ItemList.size() ) - return m_ItemList[nButton]->mnId; - else - return BUTTONDIALOG_BUTTON_NOTFOUND; -} - -PushButton* ButtonDialog::GetPushButton( sal_uInt16 nId ) const -{ - ImplBtnDlgItem* pItem = ImplGetItem( nId ); - - if ( pItem ) - return pItem->mpPushButton; - else - return nullptr; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FlatTContext.cxx b/xmloff/source/transform/FlatTContext.cxx index 0b00a0314791..1b735442fe34 100644 --- a/xmloff/source/transform/FlatTContext.cxx +++ b/xmloff/source/transform/FlatTContext.cxx @@ -49,9 +49,4 @@ void XMLPersTextContentTContext::Characters( const OUString& rChars ) m_aCharacters += rChars; } -void XMLPersTextContentTContext::ExportContent() -{ - GetTransformer().GetDocHandler()->characters( m_aCharacters ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/FlatTContext.hxx b/xmloff/source/transform/FlatTContext.hxx index 44a8c080adcf..0f39c0f4af05 100644 --- a/xmloff/source/transform/FlatTContext.hxx +++ b/xmloff/source/transform/FlatTContext.hxx @@ -51,8 +51,6 @@ public: // current element. virtual void Characters( const OUString& rChars ) override; - void ExportContent(); - const OUString& GetTextContent() const { return m_aCharacters; } }; diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx index 3546f0bc7377..9d26f853cbee 100644 --- a/xmloff/source/transform/StyleOASISTContext.cxx +++ b/xmloff/source/transform/StyleOASISTContext.cxx @@ -905,13 +905,6 @@ void XMLStyleOASISTContext::Characters( const OUString& ) // element content only: } -void XMLStyleOASISTContext::ExportContent() -{ - if( m_xPropContext.is() ) - m_xPropContext->Export(); - XMLPersElemContentTContext::ExportContent(); -} - bool XMLStyleOASISTContext::IsPersistent() const { return m_bPersistent; diff --git a/xmloff/source/transform/StyleOASISTContext.hxx b/xmloff/source/transform/StyleOASISTContext.hxx index 4a07fcc1fcc8..a2a9886d3e45 100644 --- a/xmloff/source/transform/StyleOASISTContext.hxx +++ b/xmloff/source/transform/StyleOASISTContext.hxx @@ -54,8 +54,6 @@ public: virtual void EndElement() override; virtual void Characters( const OUString& rChars ) override; - void ExportContent(); - virtual bool IsPersistent() const override; static XMLTransformerActions *CreateTransformerActions( sal_uInt16 nType ); diff --git a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx index 8637f29395bf..435ca05ec343 100644 --- a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx +++ b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx @@ -61,7 +61,6 @@ private: virtual void notifyResultListener() const override; virtual void clearUp( ) const override; - bool checkReady() const; virtual void startEngine( const rtl::Reference<XMLSignatureTemplateImpl>& xSignatureTemplate) override; public: diff --git a/xmlsecurity/inc/framework/signatureverifierimpl.hxx b/xmlsecurity/inc/framework/signatureverifierimpl.hxx index 7c609804aa85..b4c73fb2eec0 100644 --- a/xmlsecurity/inc/framework/signatureverifierimpl.hxx +++ b/xmlsecurity/inc/framework/signatureverifierimpl.hxx @@ -55,7 +55,6 @@ private: css::uno::Reference< css::xml::crypto::XXMLSecurityContext > m_xXMLSecurityContext; virtual void notifyResultListener() const override; - bool checkReady() const; virtual void startEngine( const rtl::Reference<XMLSignatureTemplateImpl>& xSignatureTemplate) override; public: diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.cxx b/xmlsecurity/source/framework/signaturecreatorimpl.cxx index 953a8f6ea3bb..e044f14f7e5d 100644 --- a/xmlsecurity/source/framework/signaturecreatorimpl.cxx +++ b/xmlsecurity/source/framework/signaturecreatorimpl.cxx @@ -43,30 +43,6 @@ SignatureCreatorImpl::~SignatureCreatorImpl( ) { } -bool SignatureCreatorImpl::checkReady() const -/****** SignatureCreatorImpl/checkReady ************************************** - * - * NAME - * checkReady -- checks the conditions for the signature generation. - * - * SYNOPSIS - * bReady = checkReady( ); - * - * FUNCTION - * checks whether all following conditions are satisfied: - * 1. the result listener is ready; - * 2. the id of the template blocker is known; - * 3. the SignatureEngine is ready. - * - * RESULT - * bReady - true if all conditions are satisfied, false otherwise - ******************************************************************************/ -{ - return (m_xResultListener.is() && - (m_nIdOfBlocker != -1) && - SignatureEngine::checkReady()); -} - void SignatureCreatorImpl::notifyResultListener() const /****** SignatureCreatorImpl/notifyResultListener ***************************** * diff --git a/xmlsecurity/source/framework/signatureverifierimpl.cxx b/xmlsecurity/source/framework/signatureverifierimpl.cxx index f6982ae88dc4..ac45855f3de5 100644 --- a/xmlsecurity/source/framework/signatureverifierimpl.cxx +++ b/xmlsecurity/source/framework/signatureverifierimpl.cxx @@ -41,27 +41,6 @@ SignatureVerifierImpl::~SignatureVerifierImpl() { } -bool SignatureVerifierImpl::checkReady() const -/****** SignatureVerifierImpl/checkReady ************************************* - * - * NAME - * checkReady -- checks the conditions for the signature verification. - * - * SYNOPSIS - * bReady = checkReady( ); - * - * FUNCTION - * checks whether all following conditions are satisfied: - * 1. the result listener is ready; - * 2. the SignatureEngine is ready. - * - * RESULT - * bReady - true if all conditions are satisfied, false otherwise - ******************************************************************************/ -{ - return (m_xResultListener.is() && SignatureEngine::checkReady()); -} - void SignatureVerifierImpl::notifyResultListener() const /****** SignatureVerifierImpl/notifyResultListener *************************** * |