From 205c47443ea43341cacec52acbe53a470f41acc6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Aug 2019 13:47:34 +0200 Subject: loplugin:unusedmethods Change-Id: I9d1abe62e7e0ae3434e0b2d440d6ccf0435e97cc Reviewed-on: https://gerrit.libreoffice.org/78131 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/unusedmethods.results | 318 ++++++++++++++------- .../clang/unusedmethods.unused-returns.results | 78 +++-- dbaccess/source/ui/dlg/adminpages.hxx | 22 -- include/oox/ole/axcontrol.hxx | 2 - include/sfx2/sidebar/Deck.hxx | 1 - include/svtools/simptabl.hxx | 4 - include/svx/colorbox.hxx | 4 - include/svx/fntctrl.hxx | 8 - include/svx/langbox.hxx | 2 - include/vcl/button.hxx | 4 - include/vcl/roadmapwizard.hxx | 16 -- include/vcl/svtabbx.hxx | 2 - include/vcl/treelistbox.hxx | 1 - include/vcl/wizardmachine.hxx | 16 -- svtools/source/contnr/simptabl.cxx | 15 - svx/source/dialog/fntctrl.cxx | 38 --- svx/source/dialog/langbox.cxx | 12 - vcl/source/control/roadmapwizard.cxx | 28 -- vcl/source/control/wizardmachine.cxx | 33 --- vcl/source/treelist/svtabbx.cxx | 21 -- 20 files changed, 256 insertions(+), 369 deletions(-) diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index b694a86f18fb..014fef9fa889 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -1,7 +1,7 @@ basctl/source/inc/bastype2.hxx:337 void basctl::SbTreeListBox::make_unsorted() basctl/source/inc/bastype2.hxx:338 - _Bool basctl::SbTreeListBox::get_sort_order() + _Bool basctl::SbTreeListBox::get_sort_order() const basctl/source/inc/bastype2.hxx:339 void basctl::SbTreeListBox::set_sort_order(_Bool) basctl/source/inc/bastype2.hxx:341 @@ -9,7 +9,7 @@ basctl/source/inc/bastype2.hxx:341 basctl/source/inc/bastype2.hxx:345 enum TriState basctl::SbTreeListBox::get_sort_indicator(int) basctl/source/inc/bastype2.hxx:350 - int basctl::SbTreeListBox::get_sort_column() + int basctl::SbTreeListBox::get_sort_column() const basctl/source/inc/bastype2.hxx:351 void basctl::SbTreeListBox::set_sort_column(int) basctl/source/inc/bastype2.hxx:353 @@ -38,9 +38,9 @@ connectivity/source/drivers/firebird/Util.hxx:78 const class rtl::OUString & connectivity::firebird::ColumnTypeInfo::getCharacterSet() const connectivity/source/drivers/mork/mork_helper.cxx:37 int main(int,char **) -connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx:95 - type-parameter-?-? connectivity::mysqlc::OPreparedResultSet::safelyRetrieveValue(const int) connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx:96 + type-parameter-?-? connectivity::mysqlc::OPreparedResultSet::safelyRetrieveValue(const int) +connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx:97 type-parameter-?-? connectivity::mysqlc::OPreparedResultSet::retrieveValue(const int) connectivity/source/inc/dbase/dindexnode.hxx:70 _Bool connectivity::dbase::ONDXKey::operator<(const class connectivity::dbase::ONDXKey &) const @@ -64,46 +64,54 @@ 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/dialogs/SpellAttrib.hxx:75 +cui/source/dialogs/SpellAttrib.hxx:73 _Bool svx::SpellErrorDescription::operator==(const struct svx::SpellErrorDescription &) const -cui/source/inc/cfgutil.hxx:143 +cui/source/inc/cfgutil.hxx:142 _Bool CuiConfigFunctionListBox::get_iter_first(class weld::TreeIter &) const -cui/source/inc/cfgutil.hxx:145 +cui/source/inc/cfgutil.hxx:144 _Bool CuiConfigFunctionListBox::iter_next(class weld::TreeIter &) const -cui/source/inc/cfgutil.hxx:148 +cui/source/inc/cfgutil.hxx:147 class rtl::OUString CuiConfigFunctionListBox::get_text(const class weld::TreeIter &) const -cui/source/inc/cfgutil.hxx:151 +cui/source/inc/cfgutil.hxx:150 class rtl::OUString CuiConfigFunctionListBox::get_id(int) const -cui/source/inc/cfgutil.hxx:165 +cui/source/inc/cfgutil.hxx:164 int CuiConfigFunctionListBox::get_selected_index() const -cui/source/inc/CustomNotebookbarGenerator.hxx:30 +cui/source/inc/CustomNotebookbarGenerator.hxx:31 CustomNotebookbarGenerator::CustomNotebookbarGenerator() -cui/source/inc/hangulhanjadlg.hxx:245 +cui/source/inc/hangulhanjadlg.hxx:244 class rtl::OUString svx::SuggestionEdit::get_text() const -cui/source/inc/SvxNotebookbarConfigPage.hxx:51 +cui/source/inc/SvxNotebookbarConfigPage.hxx:40 void SvxNotebookbarConfigPage::SetElement() dbaccess/source/filter/hsqldb/fbalterparser.hxx:20 void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const dbaccess/source/filter/hsqldb/parseschema.hxx:82 const class std::__debug::map >, struct std::less, class std::allocator > > > > & dbahsql::SchemaParser::getPrimaryKeys() const +dbaccess/source/ui/dlg/adminpages.hxx:48 + dbaui::OSaveValueWrapper::OSaveValueWrapper(type-parameter-?-? *) +dbaccess/source/ui/dlg/adminpages.hxx:103 + dbaui::ODisableWrapper::ODisableWrapper(type-parameter-?-? *) dbaccess/source/ui/inc/dsmeta.hxx:88 - class __gnu_debug::_Safe_iterator, class std::__debug::set, class std::allocator > > dbaui::FeatureSet::begin() const + class __gnu_debug::_Safe_iterator, class std::__debug::set, class std::allocator >, struct std::bidirectional_iterator_tag> dbaui::FeatureSet::begin() const dbaccess/source/ui/inc/dsmeta.hxx:89 - class __gnu_debug::_Safe_iterator, class std::__debug::set, class std::allocator > > dbaui::FeatureSet::end() const + class __gnu_debug::_Safe_iterator, class std::__debug::set, class std::allocator >, struct std::bidirectional_iterator_tag> dbaui::FeatureSet::end() const dbaccess/source/ui/inc/indexcollection.hxx:54 - class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > dbaui::OIndexCollection::begin() const + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector >, struct std::random_access_iterator_tag> dbaui::OIndexCollection::begin() const dbaccess/source/ui/inc/indexcollection.hxx:58 - class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > dbaui::OIndexCollection::end() const + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector >, struct std::random_access_iterator_tag> dbaui::OIndexCollection::end() const dbaccess/source/ui/inc/indexcollection.hxx:63 - class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > dbaui::OIndexCollection::find(const class rtl::OUString &) const + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector >, struct std::random_access_iterator_tag> dbaui::OIndexCollection::find(const class rtl::OUString &) const dbaccess/source/ui/inc/indexcollection.hxx:65 - class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > dbaui::OIndexCollection::findOriginal(const class rtl::OUString &) const + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector >, struct std::random_access_iterator_tag> dbaui::OIndexCollection::findOriginal(const class rtl::OUString &) const +dbaccess/source/ui/inc/opendoccontrols.hxx:47 + _Bool dbaui::OpenDocumentButton::get_sensitive() const desktop/inc/lib/init.hxx:83 void desktop::CallbackFlushHandler::setEventLatch(const _Bool) desktop/inc/lib/init.hxx:88 _Bool desktop::CallbackFlushHandler::isEventLatchOn() const desktop/inc/lib/init.hxx:90 _Bool desktop::CallbackFlushHandler::isPartTilePainting() const +desktop/source/lib/lokclipboard.hxx:96 + LOKClipboardFactory::LOKClipboardFactory() drawinglayer/source/tools/emfpcustomlinecap.hxx:38 void emfplushelper::EMFPCustomLineCap::SetAttributes(struct com::sun::star::rendering::StrokeAttributes &) drawinglayer/source/tools/emfpstringformat.hxx:51 @@ -123,10 +131,10 @@ drawinglayer/source/tools/emfpstringformat.hxx:57 drawinglayer/source/tools/emfpstringformat.hxx:58 _Bool emfplushelper::EMFPStringFormat::BypassGDI() const editeng/inc/edtspell.hxx:112 - class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > WrongList::begin() const + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector >, struct std::random_access_iterator_tag> WrongList::begin() const editeng/inc/edtspell.hxx:113 - class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > WrongList::end() const -extensions/source/scanner/scanner.hxx:81 + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector >, struct std::random_access_iterator_tag> WrongList::end() const +extensions/source/scanner/scanner.hxx:86 void ScannerManager::SetData(void *) hwpfilter/source/mzstring.h:99 class MzString & MzString::operator<<(unsigned char) @@ -336,11 +344,11 @@ include/canvas/rendering/isurfaceproxymanager.hxx:64 class std::shared_ptr canvas::createSurfaceProxyManager(const class std::shared_ptr &) include/canvas/vclwrapper.hxx:66 canvas::vcltools::VCLObject::VCLObject(unique_ptr >) -include/canvas/vclwrapper.hxx:136 +include/canvas/vclwrapper.hxx:135 type-parameter-?-? & canvas::vcltools::VCLObject::get() -include/canvas/vclwrapper.hxx:137 +include/canvas/vclwrapper.hxx:136 const type-parameter-?-? & canvas::vcltools::VCLObject::get() const -include/canvas/vclwrapper.hxx:139 +include/canvas/vclwrapper.hxx:138 void canvas::vcltools::VCLObject::swap(VCLObject &) include/codemaker/global.hxx:58 class FileStream & operator<<(class FileStream &,const class rtl::OString *) @@ -348,6 +356,8 @@ include/codemaker/global.hxx:60 class FileStream & operator<<(class FileStream &,const class rtl::OStringBuffer *) include/codemaker/global.hxx:61 class FileStream & operator<<(class FileStream &,const class rtl::OStringBuffer &) +include/comphelper/asyncquithandler.hxx:45 + _Bool AsyncQuitHandler::IsForceQuit() include/comphelper/automationinvokedzone.hxx:28 comphelper::Automation::AutomationInvokedZone::AutomationInvokedZone() include/comphelper/basicio.hxx:52 @@ -360,6 +370,26 @@ include/comphelper/configuration.hxx:264 void comphelper::ConfigurationLocalizedProperty::set(const type-parameter-?-? &,const class std::shared_ptr &) include/comphelper/configuration.hxx:300 class com::sun::star::uno::Reference comphelper::ConfigurationGroup::get(const class std::shared_ptr &) +include/comphelper/interfacecontainer3.hxx:60 + OInterfaceIteratorHelper3 comphelper::(OInterfaceIteratorHelper3) +include/comphelper/interfacecontainer3.hxx:94 + void comphelper::OInterfaceIteratorHelper3::remove() +include/comphelper/interfacecontainer3.hxx:101 + OInterfaceIteratorHelper3 comphelper::(const OInterfaceIteratorHelper3 &) +include/comphelper/interfacecontainer3.hxx:142 + int comphelper::OInterfaceContainerHelper3::getLength() const +include/comphelper/interfacecontainer3.hxx:147 + vector, allocator > > comphelper::OInterfaceContainerHelper3::getElements() const +include/comphelper/interfacecontainer3.hxx:178 + void comphelper::OInterfaceContainerHelper3::disposeAndClear(const struct com::sun::star::lang::EventObject &) +include/comphelper/interfacecontainer3.hxx:182 + void comphelper::OInterfaceContainerHelper3::clear() +include/comphelper/interfacecontainer3.hxx:194 + void comphelper::OInterfaceContainerHelper3::forEach(const type-parameter-?-? &) +include/comphelper/interfacecontainer3.hxx:236 + comphelper::OInterfaceContainerHelper3::NotifySingleListener::NotifySingleListener(void (type-parameter-?-?::*)(const type-parameter-?-? &),const type-parameter-?-? &) +include/comphelper/interfacecontainer3.hxx:242 + void comphelper::OInterfaceContainerHelper3::NotifySingleListener::operator()(const Reference &) const include/comphelper/logging.hxx:58 class rtl::OUString comphelper::log::convert::convertLogArgToString(char16_t) include/comphelper/logging.hxx:225 @@ -434,9 +464,9 @@ include/desktop/crashreport.hxx:54 void CrashReporter::updateMinidumpLocation() include/drawinglayer/geometry/viewinformation2d.hxx:129 _Bool drawinglayer::geometry::ViewInformation2D::operator!=(const class drawinglayer::geometry::ViewInformation2D &) const -include/drawinglayer/primitive2d/baseprimitive2d.hxx:193 +include/drawinglayer/primitive2d/baseprimitive2d.hxx:195 _Bool drawinglayer::primitive2d::BasePrimitive2D::operator!=(const class drawinglayer::primitive2d::BasePrimitive2D &) const -include/drawinglayer/primitive3d/baseprimitive3d.hxx:113 +include/drawinglayer/primitive3d/baseprimitive3d.hxx:115 _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 @@ -453,7 +483,7 @@ include/formula/tokenarray.hxx:182 include/formula/tokenarray.hxx:573 basic_ostream & formula::operator<<(basic_ostream &,const class formula::FormulaTokenArray &) include/framework/addonsoptions.hxx:194 - const class rtl::OUString framework::AddonsOptions::GetAddonsNotebookBarResourceName(unsigned int) const + class rtl::OUString framework::AddonsOptions::GetAddonsNotebookBarResourceName(unsigned int) const include/framework/addonsoptions.hxx:219 _Bool framework::AddonsOptions::GetMergeNotebookBarInstructions(const class rtl::OUString &,class std::__debug::vector > &) const include/i18nlangtag/languagetag.hxx:263 @@ -504,6 +534,8 @@ include/oox/helper/propertymap.hxx:114 void oox::PropertyMap::dumpCode(const class com::sun::star::uno::Reference &) include/oox/helper/propertymap.hxx:115 void oox::PropertyMap::dumpData(const class com::sun::star::uno::Reference &) +include/oox/ole/axcontrol.hxx:337 + const class com::sun::star::uno::Reference & oox::ole::ControlConverter::GetDocModel() const include/opencl/openclconfig.hxx:57 _Bool OpenCLConfig::ImplMatcher::operator!=(const struct OpenCLConfig::ImplMatcher &) const include/opencl/OpenCLZone.hxx:42 @@ -522,6 +554,8 @@ include/sfx2/lokcharthelper.hxx:41 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const +include/sfx2/sidebar/Deck.hxx:72 + int sfx2::sidebar::Deck::GetMinimalHeight() const include/svl/itempool.hxx:171 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId) const include/svl/itempool.hxx:207 @@ -530,6 +564,12 @@ include/svl/lockfilecommon.hxx:58 void svt::LockFileCommon::SetURL(const class rtl::OUString &) include/svtools/DocumentToGraphicRenderer.hxx:106 _Bool DocumentToGraphicRenderer::isImpress() const +include/svtools/simptabl.hxx:98 + void SvSimpleTable::EnableTable() +include/svtools/simptabl.hxx:99 + void SvSimpleTable::DisableTable() +include/svtools/simptabl.hxx:100 + _Bool SvSimpleTable::IsEnabled() const include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const class AutoFormatBase &) include/svx/ClassificationEditView.hxx:38 @@ -540,23 +580,49 @@ include/svx/ClassificationField.hxx:47 const class rtl::OUString & svx::ClassificationResult::getDisplayText() const include/svx/ClassificationField.hxx:52 _Bool svx::ClassificationResult::operator==(const class svx::ClassificationResult &) const +include/svx/colorbox.hxx:64 + const struct std::pair & SvxColorListBox::GetSelectedEntry() const +include/svx/colorbox.hxx:76 + void SvxColorListBox::SaveValue() +include/svx/colorbox.hxx:77 + _Bool SvxColorListBox::IsValueChangedFromSaved() const include/svx/dlgctrl.hxx:256 void SvxLineLB::set_sensitive(_Bool) include/svx/dlgctrl.hxx:257 _Bool SvxLineLB::get_sensitive() const include/svx/dlgctrl.hxx:279 void SvxLineEndLB::set_active_text(const class rtl::OUString &) +include/svx/fntctrl.hxx:54 + class SvxFont & SvxFontPrevWindow::GetFont() +include/svx/fntctrl.hxx:55 + const class SvxFont & SvxFontPrevWindow::GetFont() const +include/svx/fntctrl.hxx:57 + class SvxFont & SvxFontPrevWindow::GetCJKFont() +include/svx/fntctrl.hxx:58 + class SvxFont & SvxFontPrevWindow::GetCTLFont() +include/svx/fntctrl.hxx:59 + void SvxFontPrevWindow::SetColor(const class Color &) +include/svx/fntctrl.hxx:60 + void SvxFontPrevWindow::ResetColor() +include/svx/fntctrl.hxx:62 + void SvxFontPrevWindow::UseResourceText() include/svx/framelink.hxx:194 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) -include/svx/langbox.hxx:155 +include/svx/langbox.hxx:68 + void SvxLanguageBoxBase::InsertDefaultLanguage(short) +include/svx/langbox.hxx:69 + void SvxLanguageBoxBase::InsertSystemLanguage() +include/svx/langbox.hxx:159 void LanguageBox::show() include/svx/svdlayer.hxx:74 _Bool SdrLayer::operator==(const class SdrLayer &) const include/svx/svdpntv.hxx:462 _Bool SdrPaintView::IsSwapAsynchron() const -include/svx/txencbox.hxx:128 +include/svx/txencbox.hxx:60 + void SvxTextEncodingBox::FillWithMimeAndSelectBest() +include/svx/txencbox.hxx:135 void TextEncodingBox::grab_focus() -include/svx/txencbox.hxx:190 +include/svx/txencbox.hxx:199 void TextEncodingTreeView::connect_changed(const class Link &) include/svx/xpoly.hxx:82 _Bool XPolygon::operator==(const class XPolygon &) const @@ -644,6 +710,12 @@ include/vcl/animate/AnimationBitmap.hxx:69 _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const include/vcl/BitmapColor.hxx:39 void BitmapColor::SetAlpha(unsigned char) +include/vcl/button.hxx:351 + void RadioButton::SaveValue() +include/vcl/button.hxx:352 + _Bool RadioButton::GetSavedValue() const +include/vcl/button.hxx:353 + _Bool RadioButton::IsValueChangedFromSaved() const include/vcl/commandevent.hxx:249 CommandMediaData::CommandMediaData(enum MediaCommand) include/vcl/commandevent.hxx:256 @@ -678,8 +750,6 @@ include/vcl/gdimtf.hxx:110 _Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const include/vcl/gdimtf.hxx:202 void GDIMetaFile::dumpAsXml(const char *) const -include/vcl/gfxlink.hxx:59 - GfxLink::SwapOutData::SwapOutData(const class rtl::OUString &) include/vcl/gradient.hxx:104 _Bool Gradient::operator!=(const class Gradient &) const include/vcl/hatch.hxx:55 @@ -690,12 +760,22 @@ include/vcl/ITiledRenderable.hxx:193 enum PointerStyle vcl::ITiledRenderable::getPointer() include/vcl/lok.hxx:24 void vcl::lok::unregisterPollCallbacks() +include/vcl/NotebookBarAddonsMerger.hxx:65 + NotebookBarAddonsMerger::NotebookBarAddonsMerger() include/vcl/opengl/OpenGLHelper.hxx:67 void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &) include/vcl/opengl/OpenGLHelper.hxx:97 void OpenGLHelper::debugMsgStreamWarn(const class std::__cxx11::basic_ostringstream &) +include/vcl/pdfread.hxx:48 + unsigned long vcl::ImportPDF(const class rtl::OUString &,class std::__debug::vector > &,class std::__debug::vector > &,const double) include/vcl/pngread.hxx:56 void vcl::PNGReader::SetIgnoreGammaChunk(_Bool) +include/vcl/roadmapwizard.hxx:208 + void vcl::RoadmapWizard::updateRoadmapItemLabel(short) +include/vcl/roadmapwizard.hxx:265 + void vcl::RoadmapWizardMachine::describeState(short,const class rtl::OUString &,class VclPtr (*)(class vcl::RoadmapWizard &)) +include/vcl/roadmapwizard.hxx:333 + _Bool vcl::RoadmapWizardMachine::knowsState(short) const include/vcl/salnativewidgets.hxx:410 _Bool TabitemValue::isBothAligned() const include/vcl/salnativewidgets.hxx:411 @@ -716,14 +796,30 @@ include/vcl/svapp.hxx:170 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector > &) include/vcl/svapp.hxx:801 void Application::AppEvent(const class ApplicationEvent &) +include/vcl/svtabbx.hxx:100 + void SvTabListBox::SetEntryText(const class rtl::OUString &,unsigned long,unsigned short) +include/vcl/svtabbx.hxx:103 + unsigned long SvTabListBox::GetEntryPos(const class rtl::OUString &,unsigned short) include/vcl/syswin.hxx:173 void SystemWindow::SetIdleDebugName(const char *) +include/vcl/TaskStopwatch.hxx:97 + void TaskStopwatch::reset() +include/vcl/TaskStopwatch.hxx:108 + void TaskStopwatch::setInputStop(enum VclInputFlags) +include/vcl/TaskStopwatch.hxx:109 + enum VclInputFlags TaskStopwatch::inputStop() const +include/vcl/TaskStopwatch.hxx:117 + unsigned int TaskStopwatch::timeSlice() +include/vcl/TaskStopwatch.hxx:118 + void TaskStopwatch::setTimeSlice(unsigned int) include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const -include/vcl/treelistbox.hxx:361 +include/vcl/treelistbox.hxx:360 void SvTreeListBox::RemoveSelection() -include/vcl/treelistbox.hxx:378 +include/vcl/treelistbox.hxx:377 const class SvTreeListEntry * SvTreeListBox::GetParent(const class SvTreeListEntry *) const +include/vcl/treelistbox.hxx:621 + const class Link & SvTreeListBox::GetCheckButtonHdl() const include/vcl/txtattr.hxx:56 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:274 @@ -740,88 +836,92 @@ include/vcl/weld.hxx:128 _Bool weld::Widget::get_hexpand() const include/vcl/weld.hxx:130 _Bool weld::Widget::get_vexpand() const -include/vcl/weld.hxx:265 +include/vcl/weld.hxx:269 void weld::ScrolledWindow::hadjustment_configure(int,int,int,int,int,int) -include/vcl/weld.hxx:271 +include/vcl/weld.hxx:275 void weld::ScrolledWindow::hadjustment_set_upper(int) -include/vcl/weld.hxx:273 +include/vcl/weld.hxx:277 void weld::ScrolledWindow::hadjustment_set_page_size(int) -include/vcl/weld.hxx:274 +include/vcl/weld.hxx:278 void weld::ScrolledWindow::hadjustment_set_page_increment(int) -include/vcl/weld.hxx:275 +include/vcl/weld.hxx:279 void weld::ScrolledWindow::set_hpolicy(enum VclPolicyType) -include/vcl/weld.hxx:276 +include/vcl/weld.hxx:280 enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const -include/vcl/weld.hxx:281 +include/vcl/weld.hxx:285 int weld::ScrolledWindow::get_hscroll_height() const -include/vcl/weld.hxx:327 +include/vcl/weld.hxx:331 class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const -include/vcl/weld.hxx:379 +include/vcl/weld.hxx:383 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:669 +include/vcl/weld.hxx:473 + class rtl::OString weld::Assistant::get_current_page_ident() const +include/vcl/weld.hxx:479 + class rtl::OUString weld::Assistant::get_page_title(const class rtl::OString &) const +include/vcl/weld.hxx:700 void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:678 +include/vcl/weld.hxx:709 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:717 +include/vcl/weld.hxx:748 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:851 +include/vcl/weld.hxx:883 void weld::TreeView::select_all() -include/vcl/weld.hxx:894 +include/vcl/weld.hxx:927 const class rtl::OUString & weld::TreeView::get_saved_value() const -include/vcl/weld.hxx:999 +include/vcl/weld.hxx:1032 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1011 +include/vcl/weld.hxx:1044 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:1016 +include/vcl/weld.hxx:1049 void weld::MenuButton::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1047 +include/vcl/weld.hxx:1080 class rtl::OUString weld::LinkButton::get_label() const -include/vcl/weld.hxx:1051 +include/vcl/weld.hxx:1084 void weld::LinkButton::clicked() -include/vcl/weld.hxx:1082 +include/vcl/weld.hxx:1115 class rtl::OUString weld::ProgressBar::get_text() const -include/vcl/weld.hxx:1099 +include/vcl/weld.hxx:1132 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:1114 +include/vcl/weld.hxx:1147 int weld::Entry::get_position() const -include/vcl/weld.hxx:1219 +include/vcl/weld.hxx:1252 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1268 +include/vcl/weld.hxx:1301 void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &) -include/vcl/weld.hxx:1505 +include/vcl/weld.hxx:1538 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1516 +include/vcl/weld.hxx:1549 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:1563 +include/vcl/weld.hxx:1596 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1565 +include/vcl/weld.hxx:1598 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1566 +include/vcl/weld.hxx:1599 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1567 +include/vcl/weld.hxx:1600 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1569 - void weld::TimeSpinButton::hide() -include/vcl/weld.hxx:1570 +include/vcl/weld.hxx:1603 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1571 +include/vcl/weld.hxx:1604 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1631 +include/vcl/weld.hxx:1664 int weld::TextView::vadjustment_get_lower() const -include/vcl/weld.hxx:1720 +include/vcl/weld.hxx:1753 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1750 +include/vcl/weld.hxx:1783 void weld::Toolbar::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1759 +include/vcl/weld.hxx:1792 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1784 +include/vcl/weld.hxx:1819 class std::unique_ptr > weld::Builder::weld_window(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1903 +include/vcl/weld.hxx:1938 class rtl::OUString weld::MessageDialogController::get_primary_text() const include/vcl/window.hxx:408 const char * ImplDbgCheckWindow(const void *) -include/vcl/window.hxx:1214 +include/vcl/window.hxx:1217 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const +include/vcl/wizardmachine.hxx:479 + void vcl::WizardMachine::skip() libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) o3tl/qa/cow_wrapper_clients.hxx:140 @@ -877,7 +977,7 @@ sc/inc/stlalgorithm.hxx:62 sc/inc/table.hxx:319 _Bool ScTable::IsColRowTabValid(const short,const int,const short) const sc/inc/userlist.hxx:88 - class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > > > ScUserList::begin() const + class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > >, struct std::random_access_iterator_tag> ScUserList::begin() const sc/qa/unit/helper/qahelper.hxx:160 class std::__cxx11::basic_string, class std::allocator > print(const class ScAddress &) sc/qa/unit/ucalc.hxx:143 @@ -1130,6 +1230,8 @@ sw/inc/docary.hxx:255 class SwFrameFormat *const & SwFrameFormats::front() const sw/inc/docary.hxx:256 class SwFrameFormat *const & SwFrameFormats::back() const +sw/inc/docufld.hxx:494 + void SwPostItField::ToggleResolved() sw/inc/editsh.hxx:375 void SwEditShell::ValidateCurrentParagraphSignatures(_Bool) sw/inc/extinput.hxx:47 @@ -1170,6 +1272,8 @@ sw/inc/pagedesc.hxx:427 class SwPageDesc *const & SwPageDescs::front() const sw/inc/pagedesc.hxx:428 class SwPageDesc *const & SwPageDescs::back() const +sw/inc/PostItMgr.hxx:207 + void SwPostItMgr::ToggleResolved(unsigned int) sw/inc/rdfhelper.hxx:76 void SwRDFHelper::cloneStatements(const class com::sun::star::uno::Reference &,const class com::sun::star::uno::Reference &,const class rtl::OUString &,const class com::sun::star::uno::Reference &,const class com::sun::star::uno::Reference &) sw/inc/rdfhelper.hxx:94 @@ -1230,37 +1334,37 @@ sw/source/core/text/txtpaint.hxx:73 DbgRect::DbgRect(class OutputDevice *,const class tools::Rectangle &,const _Bool,class Color) sw/source/filter/ww8/ww8struc.hxx:246 WW8_BRCVer6::WW8_BRCVer6() -sw/source/ui/dbui/createaddresslistdialog.hxx:100 +sw/source/ui/dbui/createaddresslistdialog.hxx:98 void SwFindEntryDialog::hide() sw/source/uibase/inc/bookmark.hxx:45 void BookmarkTable::remove(const class weld::TreeIter &) sw/source/uibase/inc/condedit.hxx:53 _Bool ConditionEdit::get_sensitive() const -sw/source/uibase/inc/numfmtlb.hxx:51 +sw/source/uibase/inc/numfmtlb.hxx:52 void NumFormatListBox::SetOneArea(_Bool) -sw/source/uibase/inc/numfmtlb.hxx:54 +sw/source/uibase/inc/numfmtlb.hxx:55 enum SvNumFormatType NumFormatListBox::GetFormatType() const -sw/source/uibase/inc/numfmtlb.hxx:58 - struct o3tl::strong_int NumFormatListBox::GetCurLanguage() const sw/source/uibase/inc/numfmtlb.hxx:59 + struct o3tl::strong_int NumFormatListBox::GetCurLanguage() const +sw/source/uibase/inc/numfmtlb.hxx:60 void NumFormatListBox::SetLanguage(struct o3tl::strong_int) -sw/source/uibase/inc/numfmtlb.hxx:61 - void NumFormatListBox::SetAutomaticLanguage(_Bool) sw/source/uibase/inc/numfmtlb.hxx:62 + void NumFormatListBox::SetAutomaticLanguage(_Bool) +sw/source/uibase/inc/numfmtlb.hxx:63 _Bool NumFormatListBox::IsAutomaticLanguage() const -sw/source/uibase/inc/numfmtlb.hxx:64 +sw/source/uibase/inc/numfmtlb.hxx:65 void NumFormatListBox::SetShowLanguageControl(_Bool) -sw/source/uibase/inc/numfmtlb.hxx:170 - _Bool SwNumFormatTreeView::get_value_changed_from_saved() const sw/source/uibase/inc/numfmtlb.hxx:171 - void SwNumFormatTreeView::save_value() + _Bool SwNumFormatTreeView::get_value_changed_from_saved() const sw/source/uibase/inc/numfmtlb.hxx:172 - void SwNumFormatTreeView::show() + void SwNumFormatTreeView::save_value() sw/source/uibase/inc/numfmtlb.hxx:173 + void SwNumFormatTreeView::show() +sw/source/uibase/inc/numfmtlb.hxx:174 void SwNumFormatTreeView::hide() -sw/source/uibase/inc/numfmtlb.hxx:179 - void SwNumFormatTreeView::set_sensitive(_Bool) sw/source/uibase/inc/numfmtlb.hxx:180 + void SwNumFormatTreeView::set_sensitive(_Bool) +sw/source/uibase/inc/numfmtlb.hxx:181 void SwNumFormatTreeView::connect_changed(const class Link &) sw/source/uibase/inc/swcont.hxx:85 _Bool SwContent::operator==(const class SwContent &) const @@ -1326,29 +1430,27 @@ vcl/inc/qt5/Qt5AccessibleWidget.hxx:76 class QAccessibleValueInterface * Qt5AccessibleWidget::valueInterface() vcl/inc/qt5/Qt5AccessibleWidget.hxx:77 class QAccessibleTextInterface * Qt5AccessibleWidget::textInterface() -vcl/inc/qt5/Qt5DragAndDrop.hxx:50 +vcl/inc/qt5/Qt5DragAndDrop.hxx:49 void Qt5DragSource::deinitialize() -vcl/inc/qt5/Qt5DragAndDrop.hxx:91 +vcl/inc/qt5/Qt5DragAndDrop.hxx:80 void Qt5DropTarget::deinitialize() vcl/inc/qt5/Qt5FilePicker.hxx:145 void Qt5FilePicker::disposing(const struct com::sun::star::lang::EventObject &) -vcl/inc/qt5/Qt5FilePicker.hxx:162 - void Qt5FilePicker::setCustomControlWidgetLayout(class QGridLayout *) vcl/inc/qt5/Qt5FontFace.hxx:37 class Qt5FontFace * Qt5FontFace::fromQFont(const class QFont &) vcl/inc/qt5/Qt5FontFace.hxx:43 int Qt5FontFace::GetFontTable(const char *,unsigned char *) const vcl/inc/qt5/Qt5FontFace.hxx:47 _Bool Qt5FontFace::HasChar(unsigned int) const -vcl/inc/qt5/Qt5Frame.hxx:133 +vcl/inc/qt5/Qt5Frame.hxx:135 void Qt5Frame::TriggerPaintEvent() -vcl/inc/qt5/Qt5Frame.hxx:134 +vcl/inc/qt5/Qt5Frame.hxx:136 void Qt5Frame::TriggerPaintEvent(class QRect) -vcl/inc/qt5/Qt5Frame.hxx:159 - void Qt5Frame::deregisterDragSource(const class Qt5DragSource *) vcl/inc/qt5/Qt5Frame.hxx:161 + void Qt5Frame::deregisterDragSource(const class Qt5DragSource *) +vcl/inc/qt5/Qt5Frame.hxx:163 void Qt5Frame::deregisterDropTarget(const class Qt5DropTarget *) -vcl/inc/qt5/Qt5Frame.hxx:214 +vcl/inc/qt5/Qt5Frame.hxx:216 struct _cairo * Qt5Frame::getCairoContext() const vcl/inc/qt5/Qt5Painter.hxx:56 void Qt5Painter::update() @@ -1376,8 +1478,6 @@ vcl/inc/unx/glyphcache.hxx:68 void GlyphCache::ClearFontOptions() vcl/inc/unx/gtk/gtkdata.hxx:192 void GtkSalDisplay::RefreshMenusUnity() -vcl/inc/unx/gtk/gtkinst.hxx:125 - void GtkDropTarget::fire_dragExit(const struct com::sun::star::datatransfer::dnd::DropTargetEvent &) vcl/inc/unx/saldata.hxx:54 void X11SalData::initNWF() vcl/inc/unx/saldisp.hxx:380 @@ -1386,13 +1486,13 @@ vcl/inc/unx/salframe.h:185 enum SalFrameStyleFlags X11SalFrame::GetStyle() const vcl/inc/unx/salgdi.h:306 void X11SalGraphics::releaseGlyphPeer() -vcl/source/app/scheduler.cxx:83 +vcl/source/app/scheduler.cxx:84 basic_ostream & (anonymous namespace)::operator<<(basic_ostream &,const class Idle &) vcl/source/edit/textdat2.hxx:85 - class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > > > TETextPortionList::begin() const + class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > >, struct std::random_access_iterator_tag> TETextPortionList::begin() const vcl/source/edit/textdat2.hxx:87 - class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > > > TETextPortionList::end() const -vcl/source/filter/FilterConfigCache.hxx:78 + class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > >, struct std::random_access_iterator_tag> TETextPortionList::end() const +vcl/source/filter/FilterConfigCache.hxx:75 class rtl::OUString FilterConfigCache::GetImportFormatMediaType(unsigned short) vcl/source/fontsubset/xlat.hxx:31 unsigned short vcl::TranslateChar12(unsigned short) @@ -1404,12 +1504,12 @@ vcl/source/fontsubset/xlat.hxx:34 unsigned short vcl::TranslateChar15(unsigned short) vcl/source/fontsubset/xlat.hxx:35 unsigned short vcl::TranslateChar16(unsigned short) -writerfilter/source/dmapper/DomainMapper_Impl.hxx:735 +writerfilter/source/dmapper/DomainMapper_Impl.hxx:736 _Bool writerfilter::dmapper::DomainMapper_Impl::IsInFooter() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:176 - class __gnu_debug::_Safe_iterator *, class std::__cxx1998::vector, class std::allocator > > >, class std::__debug::vector, class std::allocator > > > writerfilter::ooxml::OOXMLPropertySet::begin() const + class __gnu_debug::_Safe_iterator *, class std::__cxx1998::vector, class std::allocator > > >, class std::__debug::vector, class std::allocator > >, struct std::random_access_iterator_tag> writerfilter::ooxml::OOXMLPropertySet::begin() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:177 - class __gnu_debug::_Safe_iterator *, class std::__cxx1998::vector, class std::allocator > > >, class std::__debug::vector, class std::allocator > > > writerfilter::ooxml::OOXMLPropertySet::end() const + class __gnu_debug::_Safe_iterator *, class std::__cxx1998::vector, class std::allocator > > >, class std::__debug::vector, class std::allocator > >, struct std::random_access_iterator_tag> writerfilter::ooxml::OOXMLPropertySet::end() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:180 class std::__cxx11::basic_string, class std::allocator > writerfilter::ooxml::OOXMLPropertySet::toString() xmlsecurity/qa/unit/xmlsecurity-dialogs-test.cxx:61 diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index 4a0f461fcd80..6aa9d802b7d4 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -4,7 +4,7 @@ connectivity/source/inc/odbc/OConnection.hxx:78 short connectivity::odbc::OConnection::Construct(const class rtl::OUString &,const class com::sun::star::uno::Sequence &) connectivity/source/inc/odbc/OStatement.hxx:115 _Bool connectivity::odbc::OStatement_Base::lockIfNecessary(const class rtl::OUString &) -cui/source/inc/iconcdlg.hxx:80 +cui/source/inc/iconcdlg.hxx:71 _Bool IconChoicePage::FillItemSet(class SfxItemSet *) extensions/source/scanner/sane.hxx:97 _Bool Sane::CheckConsistency(const char *,_Bool) @@ -14,9 +14,9 @@ extensions/source/scanner/sane.hxx:147 _Bool Sane::ActivateButtonOption(int) extensions/source/scanner/sane.hxx:153 _Bool Sane::Open(int) -extensions/source/scanner/sanedlg.hxx:89 +extensions/source/scanner/sanedlg.hxx:87 _Bool SaneDlg::LoadState() -extensions/source/scanner/sanedlg.hxx:103 +extensions/source/scanner/sanedlg.hxx:101 _Bool SaneDlg::SetAdjustedNumericalValue(const char *,double,int) filter/source/flash/swfexporter.hxx:85 _Bool swf::FlashExporter::exportAll(const class com::sun::star::uno::Reference &,const class com::sun::star::uno::Reference &,const class com::sun::star::uno::Reference &) @@ -36,6 +36,10 @@ include/basegfx/vector/b3dvector.hxx:171 class basegfx::B3DVector & basegfx::B3DVector::normalize() include/comphelper/backupfilehelper.hxx:204 _Bool comphelper::BackupFileHelper::tryPush_extensionInfo(const class rtl::OUString &) +include/comphelper/interfacecontainer3.hxx:165 + int comphelper::OInterfaceContainerHelper3::addInterface(const Reference &) +include/comphelper/interfacecontainer3.hxx:173 + int comphelper::OInterfaceContainerHelper3::removeInterface(const Reference &) include/editeng/editview.hxx:230 class ErrCode EditView::Read(class SvStream &,enum EETextFormat,class SvKeyValueIterator *) include/LibreOfficeKit/LibreOfficeKit.hxx:63 @@ -46,33 +50,39 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:121 char * lok::Document::getPartHash(int) include/LibreOfficeKit/LibreOfficeKit.hxx:349 char * lok::Document::getTextSelection(const char *,char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:361 +include/LibreOfficeKit/LibreOfficeKit.hxx:359 + int lok::Document::getSelectionType() +include/LibreOfficeKit/LibreOfficeKit.hxx:377 + _Bool lok::Document::getClipboard(const char **,unsigned long *,char ***,unsigned long **,char ***) +include/LibreOfficeKit/LibreOfficeKit.hxx:396 + _Bool lok::Document::setClipboard(const unsigned long,const char **,const unsigned long *,const char **) +include/LibreOfficeKit/LibreOfficeKit.hxx:411 _Bool lok::Document::paste(const char *,const char *,unsigned long) -include/LibreOfficeKit/LibreOfficeKit.hxx:392 +include/LibreOfficeKit/LibreOfficeKit.hxx:442 char * lok::Document::getCommandValues(const char *) -include/LibreOfficeKit/LibreOfficeKit.hxx:478 +include/LibreOfficeKit/LibreOfficeKit.hxx:528 int lok::Document::getView() -include/LibreOfficeKit/LibreOfficeKit.hxx:486 +include/LibreOfficeKit/LibreOfficeKit.hxx:536 int lok::Document::getViewsCount() -include/LibreOfficeKit/LibreOfficeKit.hxx:495 +include/LibreOfficeKit/LibreOfficeKit.hxx:545 unsigned char * lok::Document::renderFont(const char *,const char *,int *,int *) -include/LibreOfficeKit/LibreOfficeKit.hxx:534 +include/LibreOfficeKit/LibreOfficeKit.hxx:584 _Bool lok::Document::getViewIds(int *,unsigned long) -include/LibreOfficeKit/LibreOfficeKit.hxx:595 +include/LibreOfficeKit/LibreOfficeKit.hxx:645 _Bool lok::Document::insertCertificate(const unsigned char *,const int,const unsigned char *,const int) -include/LibreOfficeKit/LibreOfficeKit.hxx:609 +include/LibreOfficeKit/LibreOfficeKit.hxx:659 _Bool lok::Document::addCertificate(const unsigned char *,const int) -include/LibreOfficeKit/LibreOfficeKit.hxx:621 +include/LibreOfficeKit/LibreOfficeKit.hxx:671 int lok::Document::getSignatureState() -include/LibreOfficeKit/LibreOfficeKit.hxx:631 +include/LibreOfficeKit/LibreOfficeKit.hxx:681 unsigned long lok::Document::renderShapeSelection(char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:757 +include/LibreOfficeKit/LibreOfficeKit.hxx:821 char * lok::Office::getFilterTypes() -include/LibreOfficeKit/LibreOfficeKit.hxx:811 +include/LibreOfficeKit/LibreOfficeKit.hxx:875 char * lok::Office::getVersionInfo() -include/LibreOfficeKit/LibreOfficeKit.hxx:825 +include/LibreOfficeKit/LibreOfficeKit.hxx:889 _Bool lok::Office::runMacro(const char *) -include/LibreOfficeKit/LibreOfficeKit.hxx:833 +include/LibreOfficeKit/LibreOfficeKit.hxx:897 _Bool lok::Office::signDocument(const char *,const unsigned char *,const int,const unsigned char *,const int) include/oox/crypto/AgileEngine.hxx:121 _Bool oox::core::AgileEngine::decryptHmacKey() @@ -174,13 +184,13 @@ include/svx/framelink.hxx:188 class svx::frame::Style & svx::frame::Style::MirrorSelf() include/svx/SvxColorValueSet.hxx:55 class Size ColorValueSet::layoutToGivenHeight(unsigned int,unsigned int) -include/test/helper/form.hxx:38 +include/test/helper/form.hxx:37 class com::sun::star::uno::Reference apitest::helper::form::createCommandButton(const class com::sun::star::uno::Reference &,const int,const int,const int,const int) -include/test/helper/shape.hxx:39 +include/test/helper/shape.hxx:38 class com::sun::star::uno::Reference apitest::helper::shape::createEllipse(const class com::sun::star::uno::Reference &,const int,const int,const int,const int) -include/test/helper/shape.hxx:53 +include/test/helper/shape.hxx:52 class com::sun::star::uno::Reference apitest::helper::shape::createLine(const class com::sun::star::uno::Reference &,const int,const int,const int,const int) -include/test/helper/shape.hxx:67 +include/test/helper/shape.hxx:66 class com::sun::star::uno::Reference apitest::helper::shape::createRectangle(const class com::sun::star::uno::Reference &,const int,const int,const int,const int) include/test/sheet/xcellrangedata.hxx:21 class com::sun::star::uno::Reference apitest::XCellRangeData::init() @@ -188,7 +198,7 @@ include/test/sheet/xdocumentauditing.hxx:29 class com::sun::star::uno::Reference apitest::XDocumentAuditing::getXMSF() include/test/sheet/xnamedrange.hxx:22 class com::sun::star::uno::Reference apitest::XNamedRange::init() -include/test/sheet/xsheetannotation.hxx:36 +include/test/sheet/xsheetannotation.hxx:35 class com::sun::star::uno::Reference apitest::XSheetAnnotation::getAnnotation(struct com::sun::star::table::CellAddress &) include/test/sheet/xspreadsheets2.hxx:40 class com::sun::star::uno::Reference apitest::XSpreadsheets2::getComponent() @@ -220,10 +230,16 @@ include/vcl/texteng.hxx:276 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) include/vcl/toolbox.hxx:515 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:764 +include/vcl/weld.hxx:795 _Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const -include/vcl/weld.hxx:1610 +include/vcl/weld.hxx:1643 _Bool weld::TextView::get_selection_bounds(int &,int &) +include/vcl/wizardmachine.hxx:448 + _Bool vcl::WizardMachine::travelNext() +include/vcl/wizardmachine.hxx:451 + _Bool vcl::WizardMachine::travelPrevious() +include/vcl/wizardmachine.hxx:541 + class TabPage * vcl::WizardMachine::GetOrCreatePage(const short) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) lotuswordpro/inc/lwpsvstream.hxx:77 @@ -232,7 +248,7 @@ lotuswordpro/inc/lwpsvstream.hxx:78 class LwpSvStream & LwpSvStream::ReadUInt32(unsigned int &) sc/inc/document.hxx:2151 const struct ScDocumentThreadSpecific & ScDocument::CalculateInColumnInThread(struct ScInterpreterContext &,const class ScAddress &,unsigned long,unsigned int,unsigned int) -sc/inc/orcusfilters.hxx:44 +sc/inc/orcusfilters.hxx:45 _Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const sc/source/core/opencl/formulagroupcl.cxx:1084 unsigned long sc::opencl::DynamicKernelSlidingArgument::GenReductionLoopHeader(class std::__cxx11::basic_stringstream &,_Bool &) @@ -300,13 +316,13 @@ sw/inc/authfld.hxx:98 unsigned short SwAuthorityFieldType::AppendField(const class SwAuthEntry &) sw/inc/calc.hxx:114 class SwSbxValue & SwSbxValue::MakeDouble() -sw/inc/crsrsh.hxx:549 +sw/inc/crsrsh.hxx:550 _Bool SwCursorShell::GoNextPrevCursorSetSearchLabel(const _Bool) -sw/inc/doc.hxx:1081 +sw/inc/doc.hxx:1082 _Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &) -sw/inc/doc.hxx:1244 +sw/inc/doc.hxx:1245 _Bool SwDoc::SetColRowWidthHeight(class SwTableBox &,enum TableChgWidthHeightType,long,long) -sw/inc/doc.hxx:1269 +sw/inc/doc.hxx:1270 _Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool) sw/inc/editsh.hxx:266 _Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const @@ -328,9 +344,9 @@ sw/source/filter/ww8/ww8toolbar.hxx:339 _Bool Tcg::ImportCustomToolBar(class SfxObjectShell &) sw/source/uibase/inc/drawbase.hxx:54 _Bool SwDrawBase::MouseMove(const class MouseEvent &) -sw/source/uibase/inc/fldmgr.hxx:116 +sw/source/uibase/inc/fldmgr.hxx:117 const class com::sun::star::uno::Reference & SwFieldMgr::GetNumberingInfo() const -sw/source/uibase/inc/mailmergewizard.hxx:79 +sw/source/uibase/inc/mailmergewizard.hxx:77 _Bool SwMailMergeWizard::skipUntil(unsigned short) ucb/source/ucp/webdav-neon/ContentProperties.hxx:169 _Bool webdav_ucp::CachableContentProperties::containsAllNames(const class com::sun::star::uno::Sequence &,class std::__debug::vector > &) const diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index 4a4db351e0bd..7266901af8f8 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -41,17 +41,6 @@ namespace dbaui virtual void Disable() = 0; }; - template < class T > class OSaveValueWrapper : public ISaveValueWrapper - { - VclPtr m_pSaveValue; - public: - explicit OSaveValueWrapper(T* _pSaveValue) : m_pSaveValue(_pSaveValue) - { OSL_ENSURE(m_pSaveValue,"Illegal argument!"); } - - virtual void SaveValue() override { m_pSaveValue->SaveValue(); } - virtual void Disable() override { m_pSaveValue->Disable(); } - }; - template < class T > class OSaveValueWidgetWrapper : public ISaveValueWrapper { T* m_pSaveValue; @@ -96,17 +85,6 @@ namespace dbaui virtual void Disable() override { m_pSaveValue->set_sensitive(false); } }; - template < class T > class ODisableWrapper : public ISaveValueWrapper - { - VclPtr m_pSaveValue; - public: - explicit ODisableWrapper(T* _pSaveValue) : m_pSaveValue(_pSaveValue) - { OSL_ENSURE(m_pSaveValue,"Illegal argument!"); } - - virtual void SaveValue() override {} - virtual void Disable() override { m_pSaveValue->Disable(); } - }; - // OGenericAdministrationPage class IDatabaseSettingsDialog; class IItemSetHelper; diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx index d1d47459bdb8..b53988e2f908 100644 --- a/include/oox/ole/axcontrol.hxx +++ b/include/oox/ole/axcontrol.hxx @@ -334,8 +334,6 @@ public: PropertySet const & rPropSet, sal_Int32& nOrientation ); - const css::uno::Reference & GetDocModel() const { return mxDocModel; } - private: css::uno::Reference< css::frame::XModel > mxDocModel; const GraphicHelper& mrGraphicHelper; diff --git a/include/sfx2/sidebar/Deck.hxx b/include/sfx2/sidebar/Deck.hxx index 5a3dabe7804a..899ff838c74d 100644 --- a/include/sfx2/sidebar/Deck.hxx +++ b/include/sfx2/sidebar/Deck.hxx @@ -69,7 +69,6 @@ public: static void PrintWindowSubTree (vcl::Window* pRoot, int nIndentation); sal_Int32 GetMinimalWidth() const { return mnMinimalWidth; } - sal_Int32 GetMinimalHeight() const { return mnMinimalHeight; } class ScrollContainerWindow : public vcl::Window { diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 99e0e040c2f3..88986ffc83a8 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -95,10 +95,6 @@ public: using SvHeaderTabListBox::SetTabs; - void EnableTable(); - void DisableTable(); - bool IsEnabled() const; - void SortByCol(sal_uInt16, bool bDir=true); sal_uInt16 GetSortedCol() const { return nSortCol;} SvLBoxItem* GetEntryAtPos( SvTreeListEntry* pEntry, sal_uInt16 nPos ) const; diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx index d9ac2b48fd6e..7898e4df897b 100644 --- a/include/svx/colorbox.hxx +++ b/include/svx/colorbox.hxx @@ -61,7 +61,6 @@ public: void SetSlotId(sal_uInt16 nSlotId, bool bShowNoneButton = false); Color const & GetSelectEntryColor() const { return m_aSelectedColor.first; } - NamedColor const & GetSelectedEntry() const { return m_aSelectedColor; } void SelectEntry(const NamedColor& rColor); void SelectEntry(const Color& rColor); @@ -73,9 +72,6 @@ public: void ShowPreview(const NamedColor &rColor); void EnsurePaletteManager(); - void SaveValue() { m_aSaveColor = GetSelectEntryColor(); } - bool IsValueChangedFromSaved() const { return m_aSaveColor != GetSelectEntryColor(); } - DECL_LINK(WindowEventListener, VclWindowEvent&, void); }; diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 89655ac22559..d07d60edb62f 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -50,16 +50,8 @@ public: virtual void StateChanged( StateChangedType nStateChange ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; - // for reasons of efficiency not const - SvxFont& GetFont(); - const SvxFont& GetFont() const; void SetFont( const SvxFont& rNormalFont, const SvxFont& rCJKFont, const SvxFont& rCTLFont ); - SvxFont& GetCJKFont(); - SvxFont& GetCTLFont(); - void SetColor( const Color& rColor ); - void ResetColor(); void SetBackColor( const Color& rColor ); - void UseResourceText(); void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ) override; bool IsTwoLines() const; diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index f43475e96efe..9d20e2912a5d 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -65,8 +65,6 @@ public: void AddLanguages( const std::vector< LanguageType >& rLanguageTypes, SvxLanguageListFlags nLangList ); sal_Int32 InsertLanguage( const LanguageType eLangType ); - void InsertDefaultLanguage( sal_Int16 nType ); - void InsertSystemLanguage(); void SelectLanguage( const LanguageType eLangType ); LanguageType GetSelectedLanguage() const; diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 53192fc211c1..54fc9a1b6c7c 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -348,10 +348,6 @@ public: void Check( bool bCheck = true ); bool IsChecked() const { return mbChecked; } - void SaveValue() { mbSaveValue = IsChecked(); } - bool GetSavedValue() const { return mbSaveValue; } - bool IsValueChangedFromSaved() const { return mbSaveValue != IsChecked(); } - static Image GetRadioImage( const AllSettings& rSettings, DrawButtonFlags nFlags ); Size CalcMinimumSize() const; diff --git a/include/vcl/roadmapwizard.hxx b/include/vcl/roadmapwizard.hxx index b94b89f61a38..872d90bf624e 100644 --- a/include/vcl/roadmapwizard.hxx +++ b/include/vcl/roadmapwizard.hxx @@ -202,11 +202,6 @@ namespace vcl */ virtual VclPtr createPage( WizardState _nState ) override; - /** asks for a new label of the wizard page - - */ - void updateRoadmapItemLabel( WizardState _nState ); - private: DECL_DLLPRIVATE_LINK( OnRoadmapItemSelected, LinkParamNone*, void ); @@ -257,13 +252,6 @@ namespace vcl */ void declarePath( PathId _nPathId, const WizardPath& _lWizardStates); - /** provides basic information about a state - - The given display name is used in the default implementation of getStateDisplayName, - and the given factory is used in the default implementation of createPage. - */ - void describeState( WizardState _nState, const OUString& _rStateDisplayName, RoadmapPageFactory _pPageFactory ); - /** activates a path which has previously been declared with declarePath You can only activate paths which share the first k states with the path @@ -328,10 +316,6 @@ namespace vcl */ void enableState( WizardState _nState, bool _bEnable = true ); - /** returns true if and only if the given state is known in at least one declared path - */ - bool knowsState( WizardState _nState ) const; - // OWizardMachine overriables virtual void enterState( WizardState _nState ) override; diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx index baabd46d4409..abc37bdf198b 100644 --- a/include/vcl/svtabbx.hxx +++ b/include/vcl/svtabbx.hxx @@ -95,10 +95,8 @@ public: static OUString GetEntryText( SvTreeListEntry*, sal_uInt16 nCol ); OUString GetEntryText( sal_uLong nPos, sal_uInt16 nCol = 0xffff ) const; using SvTreeListBox::SetEntryText; - void SetEntryText(const OUString&, sal_uLong, sal_uInt16 nCol); void SetEntryText(const OUString&, SvTreeListEntry*, sal_uInt16 nCol=0xffff); OUString GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const; - sal_uLong GetEntryPos( const OUString&, sal_uInt16 nCol = 0xffff ); sal_uLong GetEntryPos( const SvTreeListEntry* pEntry ) const; void SetTabJustify( sal_uInt16 nTab, SvTabJustify ); diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index 470299180818..454e507460e9 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -610,7 +610,6 @@ public: static const Image& GetCollapsedEntryBmp(const SvTreeListEntry* _pEntry ); void SetCheckButtonHdl( const Link& rLink ) { aCheckButtonHdl=rLink; } - const Link& GetCheckButtonHdl() const { return aCheckButtonHdl; } virtual void CheckButtonHdl(); void SetSublistOpenWithReturn(); // open/close sublist with return/enter diff --git a/include/vcl/wizardmachine.hxx b/include/vcl/wizardmachine.hxx index c840af3f0745..8ced51cf59d0 100644 --- a/include/vcl/wizardmachine.hxx +++ b/include/vcl/wizardmachine.hxx @@ -462,22 +462,6 @@ namespace vcl */ void removePageFromHistory( WizardState nToRemove ); - /** skip a state - - The method behaves as if from the current state, _nSteps travelNexts were - called, but without actually creating or displaying the \EDntermediate pages. Only the - (_nSteps + 1)th page is created. - - The skipped states appear in the state history, so travelPrevious will make use of them. - - A very essential precondition for using this method is that your determineNextState - method is able to determine the next state without actually having the page of the current state. - - @see skipUntil - @see skipBackwardUntil - */ - void skip(); - /** skips one or more states, until a given state is reached The method behaves as if from the current state, travelNexts were called diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index 27aa905a0abf..32e7deba1370 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -242,21 +242,6 @@ void SvSimpleTable::InsertHeaderEntry(const OUString& rText, SetTabs(); } -void SvSimpleTable::EnableTable() -{ - m_rParentTableContainer.Enable(); -} - -void SvSimpleTable::DisableTable() -{ - m_rParentTableContainer.Disable(); -} - -bool SvSimpleTable::IsEnabled() const -{ - return m_rParentTableContainer.IsEnabled(); -} - void SvSimpleTable::SortByCol(sal_uInt16 nCol, bool bDir) { if(nSortCol!=0xFFFF) diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index 7e991af52d91..5a32430ab271 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -539,16 +539,6 @@ void SvxFontPrevWindow::dispose() vcl::Window::dispose(); } -SvxFont& SvxFontPrevWindow::GetCTLFont() -{ - return pImpl->maCTLFont; -} - -SvxFont& SvxFontPrevWindow::GetCJKFont() -{ - return pImpl->maCJKFont; -} - void SvxFontPrevWindow::StateChanged( StateChangedType nType ) { if (nType == StateChangedType::ControlForeground) @@ -568,17 +558,6 @@ void SvxFontPrevWindow::DataChanged( const DataChangedEvent& rDCEvt ) Window::DataChanged( rDCEvt ); } -SvxFont& SvxFontPrevWindow::GetFont() -{ - pImpl->Invalidate100PercentFontWidth(); // because the user might change the size - return pImpl->maFont; -} - -const SvxFont& SvxFontPrevWindow::GetFont() const -{ - return pImpl->maFont; -} - void SvxFontPrevWindow::SetFont( const SvxFont& rNormalOutFont, const SvxFont& rCJKOutFont, const SvxFont& rCTLFont ) { setFont(rNormalOutFont, pImpl->maFont); @@ -589,29 +568,12 @@ void SvxFontPrevWindow::SetFont( const SvxFont& rNormalOutFont, const SvxFont& r Invalidate(); } -void SvxFontPrevWindow::SetColor(const Color &rColor) -{ - pImpl->mpColor.reset(new Color(rColor)); - Invalidate(); -} - -void SvxFontPrevWindow::ResetColor() -{ - pImpl->mpColor.reset(); - Invalidate(); -} - void SvxFontPrevWindow::SetBackColor(const Color &rColor) { pImpl->mpBackColor.reset(new Color(rColor)); Invalidate(); } -void SvxFontPrevWindow::UseResourceText() -{ - pImpl->mbUseResText = true; -} - void SvxFontPrevWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) { ApplySettings(rRenderContext); diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 2ccfe16d6de4..8bcea7b1d17f 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -346,18 +346,6 @@ sal_Int32 SvxLanguageBoxBase::ImplInsertLanguage( const LanguageType nLangType, } -void SvxLanguageBoxBase::InsertDefaultLanguage( sal_Int16 nType ) -{ - ImplInsertLanguage( LANGUAGE_SYSTEM, LISTBOX_APPEND, nType ); -} - - -void SvxLanguageBoxBase::InsertSystemLanguage() -{ - ImplInsertLanguage( LANGUAGE_USER_SYSTEM_CONFIG, LISTBOX_APPEND, css::i18n::ScriptType::WEAK ); -} - - LanguageType SvxLanguageBoxBase::GetSelectedLanguage() const { sal_Int32 nPos = ImplGetSelectedEntryPos(); diff --git a/vcl/source/control/roadmapwizard.cxx b/vcl/source/control/roadmapwizard.cxx index 66f098e31cb9..eb1294a95b68 100644 --- a/vcl/source/control/roadmapwizard.cxx +++ b/vcl/source/control/roadmapwizard.cxx @@ -861,34 +861,6 @@ namespace vcl return m_pImpl->aDisabledStates.find( _nState ) == m_pImpl->aDisabledStates.end(); } - void RoadmapWizard::updateRoadmapItemLabel( WizardState _nState ) - { - const WizardPath& rActivePath( m_pImpl->aPaths[ m_pImpl->nActivePath ] ); - RoadmapTypes::ItemIndex nUpperStepBoundary = static_cast(rActivePath.size()); - RoadmapTypes::ItemIndex nLoopUntil = ::std::max( nUpperStepBoundary, m_pImpl->pRoadmap->GetItemCount() ); - sal_Int32 nCurrentStatePathIndex = -1; - if ( m_pImpl->nActivePath != -1 ) - nCurrentStatePathIndex = m_pImpl->getStateIndexInPath( getCurrentState(), m_pImpl->nActivePath ); - if (nCurrentStatePathIndex < 0) - return; - for ( RoadmapTypes::ItemIndex nItemIndex = nCurrentStatePathIndex; nItemIndex < nLoopUntil; ++nItemIndex ) - { - bool bExistentItem = ( nItemIndex < m_pImpl->pRoadmap->GetItemCount() ); - if ( bExistentItem ) - { - // there is an item with this index in the roadmap - does it match what is requested by - // the respective state in the active path? - RoadmapTypes::ItemId nPresentItemId = m_pImpl->pRoadmap->GetItemID( nItemIndex ); - WizardState nRequiredState = rActivePath[ nItemIndex ]; - if ( _nState == nRequiredState ) - { - m_pImpl->pRoadmap->ChangeRoadmapItemLabel( nPresentItemId, getStateDisplayName( nRequiredState ) ); - break; - } - } - } - } - void RoadmapWizard::InsertRoadmapItem(int nItemIndex, const OUString& rText, int nItemId, bool bEnable) { m_pImpl->pRoadmap->InsertRoadmapItem(nItemIndex, rText, nItemId, bEnable); diff --git a/vcl/source/control/wizardmachine.cxx b/vcl/source/control/wizardmachine.cxx index 8082df6ab39a..49dc3b47e6ec 100644 --- a/vcl/source/control/wizardmachine.cxx +++ b/vcl/source/control/wizardmachine.cxx @@ -992,39 +992,6 @@ namespace vcl } - void WizardMachine::skip() - { - // allowed to leave the current page? - if ( !prepareLeaveCurrentState( eTravelForward ) ) - return; - - WizardState nCurrentState = getCurrentState(); - WizardState nNextState = determineNextState(nCurrentState); - - if (WZS_INVALID_STATE == nNextState) - return; - - // remember the skipped state in the history - m_pImpl->aStateHistory.push(nCurrentState); - - // get the next state - nCurrentState = nNextState; - - // show the (n+1)th page - if (!ShowPage(nCurrentState)) - { - // TODO: this leaves us in a state where we have no current page and an inconsistent state history. - // Perhaps we should rollback the skipping here .... - OSL_FAIL("WizardMachine::skip: very unpolite ...."); - // if somebody does a skip and then does not allow to leave ... - // (can't be a commit error, as we've already committed the current page. So if ShowPage fails here, - // somebody behaves really strange ...) - return; - } - - // all fine - } - bool WizardMachine::travelNext() { // allowed to leave the current page? diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx index dd21c3e6d75d..1c225694bb3d 100644 --- a/vcl/source/treelist/svtabbx.cxx +++ b/vcl/source/treelist/svtabbx.cxx @@ -268,12 +268,6 @@ OUString SvTabListBox::GetEntryText( sal_uLong nPos, sal_uInt16 nCol ) const return GetEntryText( pEntry, nCol ); } -void SvTabListBox::SetEntryText(const OUString& rStr, sal_uLong nPos, sal_uInt16 nCol) -{ - SvTreeListEntry* pEntry = SvTreeListBox::GetEntry( nPos ); - SetEntryText( rStr, pEntry, nCol ); -} - void SvTabListBox::SetEntryText(const OUString& rStr, SvTreeListEntry* pEntry, sal_uInt16 nCol) { DBG_ASSERT(pEntry,"SetEntryText:Invalid Entry"); @@ -325,21 +319,6 @@ OUString SvTabListBox::GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const return aResult; } -sal_uLong SvTabListBox::GetEntryPos( const OUString& rStr, sal_uInt16 nCol ) -{ - sal_uLong nPos = 0; - SvTreeListEntry* pEntry = First(); - while( pEntry ) - { - OUString aStr( GetEntryText( pEntry, nCol )); - if( aStr == rStr ) - return nPos; - pEntry = Next( pEntry ); - nPos++; - } - return 0xffffffff; -} - sal_uLong SvTabListBox::GetEntryPos( const SvTreeListEntry* pEntry ) const { sal_uLong nPos = 0; -- cgit