summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/unusedmethods.results194
-rw-r--r--compilerplugins/clang/unusedmethods.unused-returns.results14
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.hxx18
-rw-r--r--include/svx/checklbx.hxx11
-rw-r--r--include/vcl/outdev.hxx2
-rw-r--r--include/vcl/treelistbox.hxx1
-rw-r--r--svx/source/dialog/checklbx.cxx62
-rw-r--r--vcl/source/treelist/treelistbox.cxx13
8 files changed, 86 insertions, 229 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results
index 63d19d42b302..02bb0d181978 100644
--- a/compilerplugins/clang/unusedmethods.results
+++ b/compilerplugins/clang/unusedmethods.results
@@ -48,21 +48,19 @@ connectivity/source/inc/OTypeInfo.hxx:46
_Bool connectivity::OTypeInfo::operator==(const struct connectivity::OTypeInfo &) const
connectivity/source/inc/OTypeInfo.hxx:47
_Bool connectivity::OTypeInfo::operator!=(const struct connectivity::OTypeInfo &) const
-cui/source/inc/cfgutil.hxx:120
- class rtl::OUString SfxConfigFunctionListBox::GetCurCommand()
-cui/source/inc/cfgutil.hxx:121
- class rtl::OUString SfxConfigFunctionListBox::GetCurLabel()
+cui/source/inc/cfg.hxx:362
+ void SvxMenuEntriesListBox::insert(int,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString *)
cui/source/inc/cfgutil.hxx:147
_Bool CuiConfigFunctionListBox::get_iter_first(class weld::TreeIter &) const
cui/source/inc/cfgutil.hxx:149
_Bool CuiConfigFunctionListBox::iter_next(class weld::TreeIter &) const
-cui/source/inc/cfgutil.hxx:151
+cui/source/inc/cfgutil.hxx:152
class rtl::OUString CuiConfigFunctionListBox::get_text(const class weld::TreeIter &) const
-cui/source/inc/hangulhanjadlg.hxx:49
- void svx::SuggestionSet::ClearSet()
-cui/source/inc/hangulhanjadlg.hxx:84
- _Bool svx::SuggestionDisplay::hasCurrentControl()
-cui/source/inc/hangulhanjadlg.hxx:253
+cui/source/inc/cfgutil.hxx:155
+ class rtl::OUString CuiConfigFunctionListBox::get_id(int) const
+cui/source/inc/cfgutil.hxx:169
+ int CuiConfigFunctionListBox::get_selected_index() const
+cui/source/inc/hangulhanjadlg.hxx:251
class rtl::OUString svx::SuggestionEdit::get_text() const
dbaccess/source/filter/hsqldb/fbalterparser.hxx:20
void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const
@@ -80,16 +78,12 @@ dbaccess/source/ui/inc/indexcollection.hxx:63
class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct dbaui::OIndex *, class std::__cxx1998::vector<struct dbaui::OIndex, class std::allocator<struct dbaui::OIndex> > >, class std::__debug::vector<struct dbaui::OIndex, class std::allocator<struct dbaui::OIndex> > > dbaui::OIndexCollection::find(const class rtl::OUString &) const
dbaccess/source/ui/inc/indexcollection.hxx:65
class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct dbaui::OIndex *, class std::__cxx1998::vector<struct dbaui::OIndex, class std::allocator<struct dbaui::OIndex> > >, class std::__debug::vector<struct dbaui::OIndex, class std::allocator<struct dbaui::OIndex> > > dbaui::OIndexCollection::findOriginal(const class rtl::OUString &) const
-dbaccess/source/ui/inc/opendoccontrols.hxx:62
- class rtl::OUString dbaui::OpenDocumentListBox::GetSelectedDocumentFilter() 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/deployment/gui/dp_gui_updatedialog.hxx:105
- void dp_gui::UpdateDialog::setIgnoredUpdate(const struct dp_gui::UpdateDialog::Index *,_Bool,_Bool)
drawinglayer/source/tools/emfpcustomlinecap.hxx:38
void emfplushelper::EMFPCustomLineCap::SetAttributes(struct com::sun::star::rendering::StrokeAttributes &)
drawinglayer/source/tools/emfpstringformat.hxx:51
@@ -112,12 +106,10 @@ editeng/inc/edtspell.hxx:112
class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > > WrongList::begin() const
editeng/inc/edtspell.hxx:113
class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > > WrongList::end() const
-extensions/source/bibliography/general.hxx:160
- const class rtl::Reference<class BibGeneralPageFocusListener> & BibGeneralPage::GetFocusListener()
+extensions/source/propctrlr/formcomponenthandler.hxx:449
+ pcr::WaitCursor::WaitCursor(class vcl::Window *)
extensions/source/scanner/scanner.hxx:81
void ScannerManager::SetData(void *)
-framework/inc/jobs/jobresult.hxx:94
- framework::JobResult::JobResult()
framework/source/uiconfiguration/ImageList.hxx:53
_Bool ImageList::operator!=(const class ImageList &) const
hwpfilter/source/mzstring.h:99
@@ -404,17 +396,17 @@ include/comphelper/unique_disposing_ptr.hxx:46
type-parameter-?-? & comphelper::unique_disposing_ptr::operator*() const
include/comphelper/unwrapargs.hxx:50
void comphelper::detail::unwrapArgs(const class com::sun::star::uno::Sequence<class com::sun::star::uno::Any> &,int,const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &)
-include/connectivity/dbcharset.hxx:139
+include/connectivity/dbcharset.hxx:138
const class dbtools::OCharsetMap::CharsetIterator & dbtools::OCharsetMap::CharsetIterator::operator--()
include/connectivity/FValue.hxx:318
unsigned short connectivity::ORowSetValue::operator unsigned short() const
include/connectivity/FValue.hxx:387
unsigned char connectivity::ORowSetValue::getUInt8() const
-include/connectivity/sdbcx/VGroup.hxx:67
+include/connectivity/sdbcx/VGroup.hxx:63
connectivity::sdbcx::OGroup::OGroup(_Bool)
-include/connectivity/sdbcx/VGroup.hxx:68
+include/connectivity/sdbcx/VGroup.hxx:64
connectivity::sdbcx::OGroup::OGroup(const class rtl::OUString &,_Bool)
-include/connectivity/sqlparse.hxx:197
+include/connectivity/sqlparse.hxx:191
class rtl::OUString connectivity::OSQLParser::RuleIDToStr(unsigned int)
include/desktop/crashreport.hxx:46
class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > CrashReporter::getIniFileName()
@@ -444,7 +436,7 @@ include/formula/tokenarray.hxx:180
class formula::FormulaTokenArrayReferencesIterator formula::FormulaTokenArrayReferencesIterator::operator++(int)
include/formula/tokenarray.hxx:571
basic_ostream<type-parameter-?-?, type-parameter-?-?> & formula::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const class formula::FormulaTokenArray &)
-include/i18nlangtag/languagetag.hxx:261
+include/i18nlangtag/languagetag.hxx:263
enum LanguageTag::ScriptType LanguageTag::getScriptType() const
include/o3tl/any.hxx:155
class boost::optional<const struct o3tl::detail::Void> o3tl::tryAccess(const class com::sun::star::uno::Any &)
@@ -522,10 +514,18 @@ include/svtools/ctrlbox.hxx:322
void SvtCalendarBox::set_sensitive(_Bool)
include/svtools/DocumentToGraphicRenderer.hxx:106
_Bool DocumentToGraphicRenderer::isImpress() const
-include/svx/checklbx.hxx:56
- void SvxCheckListBox::SetNormalStaticImage(const class Image &)
+include/svx/checklbx.hxx:59
+ void SvxCheckListBox::InsertEntry(const class rtl::OUString &,unsigned long,void *,enum SvLBoxButtonKind)
+include/svx/checklbx.hxx:63
+ void SvxCheckListBox::RemoveEntry(unsigned long)
include/svx/checklbx.hxx:68
- void * SvxCheckListBox::GetSelectedEntryData() const
+ class rtl::OUString SvxCheckListBox::GetText(unsigned long) const
+include/svx/checklbx.hxx:69
+ unsigned long SvxCheckListBox::GetCheckedEntryCount() const
+include/svx/checklbx.hxx:74
+ void * SvxCheckListBox::SetEntryData(unsigned long,void *)
+include/svx/checklbx.hxx:75
+ void * SvxCheckListBox::GetEntryData(unsigned long) const
include/svx/ClassificationEditView.hxx:41
void svx::ClassificationEditView::SetCharAttributes()
include/svx/ClassificationEditView.hxx:47
@@ -542,8 +542,6 @@ include/svx/dlgctrl.hxx:283
void SvxLineEndLB::set_active_text(const class rtl::OUString &)
include/svx/framelink.hxx:201
_Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &)
-include/svx/langbox.hxx:90
- void SvxLanguageBoxBase::ImplRemoveEntryAt(int)
include/svx/svdlayer.hxx:75
_Bool SdrLayer::operator==(const class SdrLayer &) const
include/svx/svdpntv.hxx:459
@@ -620,16 +618,6 @@ include/vcl/alpha.hxx:48
_Bool AlphaMask::operator!=(const class AlphaMask &) const
include/vcl/animate.hxx:94
_Bool Animation::operator!=(const class Animation &) const
-include/vcl/button.hxx:90
- void Button::SetFocusRect(const class tools::Rectangle &)
-include/vcl/button.hxx:322
- void RadioButton::SetMouseRect(const class tools::Rectangle &)
-include/vcl/button.hxx:323
- void RadioButton::SetStateRect(const class tools::Rectangle &)
-include/vcl/button.hxx:327
- void RadioButton::DrawRadioButtonState(class OutputDevice &)
-include/vcl/button.hxx:355
- const class Image & RadioButton::GetModeRadioImage() const
include/vcl/commandevent.hxx:245
CommandMediaData::CommandMediaData(enum MediaCommand)
include/vcl/commandevent.hxx:252
@@ -668,12 +656,14 @@ include/vcl/hatch.hxx:55
_Bool Hatch::operator!=(const class Hatch &) const
include/vcl/inputctx.hxx:62
_Bool InputContext::operator!=(const class InputContext &) const
-include/vcl/ITiledRenderable.hxx:287
+include/vcl/ITiledRenderable.hxx:238
enum PointerStyle vcl::ITiledRenderable::getPointer()
include/vcl/opengl/OpenGLHelper.hxx:62
void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &)
include/vcl/opengl/OpenGLHelper.hxx:92
void OpenGLHelper::debugMsgStreamWarn(const class std::__cxx11::basic_ostringstream<char> &)
+include/vcl/outdev.hxx:312
+ struct _cairo_surface * get_underlying_alpha_cairo_surface(const class VirtualDevice &)
include/vcl/pngread.hxx:56
void vcl::PNGReader::SetIgnoreGammaChunk(_Bool)
include/vcl/salbtype.hxx:120
@@ -706,8 +696,8 @@ include/vcl/tabdlg.hxx:49
class vcl::Window * TabDialog::GetViewWindow() const
include/vcl/textrectinfo.hxx:45
_Bool TextRectInfo::operator!=(const class TextRectInfo &) const
-include/vcl/toolbox.hxx:347
- void ToolBox::SetPageScroll(_Bool)
+include/vcl/treelistbox.hxx:618
+ void SvTreeListBox::SetCheckButtonInvisible(class SvTreeListEntry *)
include/vcl/txtattr.hxx:56
_Bool TextAttrib::operator!=(const class TextAttrib &) const
include/vcl/uitest/uiobject.hxx:274
@@ -718,107 +708,103 @@ include/vcl/uitest/uiobject.hxx:345
SpinUIObject::SpinUIObject(const class VclPtr<class SpinButton> &)
include/vcl/uitest/uiobject.hxx:353
class std::unique_ptr<class UIObject, struct std::default_delete<class UIObject> > SpinUIObject::create(class vcl::Window *)
-include/vcl/vclmedit.hxx:166
- void VclMultiLineEdit::SetLeftMargin(unsigned short)
include/vcl/wall.hxx:99
_Bool Wallpaper::operator!=(const class Wallpaper &) const
-include/vcl/weld.hxx:103
+include/vcl/weld.hxx:107
class rtl::OString weld::Widget::get_buildable_name() const
-include/vcl/weld.hxx:108
+include/vcl/weld.hxx:112
int weld::Widget::get_grid_left_attach() const
-include/vcl/weld.hxx:114
+include/vcl/weld.hxx:118
_Bool weld::Widget::get_hexpand() const
-include/vcl/weld.hxx:116
+include/vcl/weld.hxx:120
_Bool weld::Widget::get_vexpand() const
-include/vcl/weld.hxx:222
+include/vcl/weld.hxx:231
void weld::ScrolledWindow::hadjustment_configure(int,int,int,int,int,int)
-include/vcl/weld.hxx:228
+include/vcl/weld.hxx:237
void weld::ScrolledWindow::hadjustment_set_upper(int)
-include/vcl/weld.hxx:230
+include/vcl/weld.hxx:239
void weld::ScrolledWindow::set_hpolicy(enum VclPolicyType)
-include/vcl/weld.hxx:231
+include/vcl/weld.hxx:240
enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const
-include/vcl/weld.hxx:236
+include/vcl/weld.hxx:245
int weld::ScrolledWindow::get_hscroll_height() const
-include/vcl/weld.hxx:244
+include/vcl/weld.hxx:253
void weld::ScrolledWindow::vadjustment_set_upper(int)
-include/vcl/weld.hxx:247
+include/vcl/weld.hxx:256
void weld::ScrolledWindow::vadjustment_set_lower(int)
-include/vcl/weld.hxx:277
+include/vcl/weld.hxx:286
class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const
-include/vcl/weld.hxx:310
+include/vcl/weld.hxx:319
struct SystemEnvData weld::Window::get_system_data() const
-include/vcl/weld.hxx:547
- void weld::TreeView::append(class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:556
+include/vcl/weld.hxx:562
+ void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
+include/vcl/weld.hxx:571
void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &)
-include/vcl/weld.hxx:581
+include/vcl/weld.hxx:601
void weld::TreeView::set_top_entry(int)
-include/vcl/weld.hxx:665
+include/vcl/weld.hxx:694
void weld::TreeView::select_all()
-include/vcl/weld.hxx:675
+include/vcl/weld.hxx:704
enum TriState weld::TreeView::get_sort_indicator(int) const
-include/vcl/weld.hxx:778
+include/vcl/weld.hxx:807
void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:786
+include/vcl/weld.hxx:815
void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:790
+include/vcl/weld.hxx:819
void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &)
-include/vcl/weld.hxx:820
+include/vcl/weld.hxx:850
class rtl::OUString weld::LinkButton::get_label() const
-include/vcl/weld.hxx:822
+include/vcl/weld.hxx:852
class rtl::OUString weld::LinkButton::get_uri() const
-include/vcl/weld.hxx:824
+include/vcl/weld.hxx:854
void weld::LinkButton::clicked()
-include/vcl/weld.hxx:826
+include/vcl/weld.hxx:856
void weld::LinkButton::connect_clicked(const class Link<class weld::LinkButton &, void> &)
-include/vcl/weld.hxx:855
+include/vcl/weld.hxx:885
class rtl::OUString weld::ProgressBar::get_text() const
-include/vcl/weld.hxx:872
+include/vcl/weld.hxx:902
void weld::Entry::signal_insert_text(class rtl::OUString &)
-include/vcl/weld.hxx:884
+include/vcl/weld.hxx:914
int weld::Entry::get_position() const
-include/vcl/weld.hxx:946
- int weld::SpinButton::get_min() const
-include/vcl/weld.hxx:988
+include/vcl/weld.hxx:1018
void weld::FormattedSpinButton::set_max(double)
-include/vcl/weld.hxx:1036
+include/vcl/weld.hxx:1066
void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &)
-include/vcl/weld.hxx:1269
+include/vcl/weld.hxx:1299
class Size weld::MetricSpinButton::get_size_request() const
-include/vcl/weld.hxx:1280
+include/vcl/weld.hxx:1310
void weld::MetricSpinButton::set_position(int)
-include/vcl/weld.hxx:1327
+include/vcl/weld.hxx:1357
_Bool weld::TimeSpinButton::get_sensitive() const
-include/vcl/weld.hxx:1328
+include/vcl/weld.hxx:1358
_Bool weld::TimeSpinButton::get_visible() const
-include/vcl/weld.hxx:1329
+include/vcl/weld.hxx:1359
void weld::TimeSpinButton::grab_focus()
-include/vcl/weld.hxx:1330
+include/vcl/weld.hxx:1360
_Bool weld::TimeSpinButton::has_focus() const
-include/vcl/weld.hxx:1331
+include/vcl/weld.hxx:1361
void weld::TimeSpinButton::show(_Bool)
-include/vcl/weld.hxx:1332
+include/vcl/weld.hxx:1362
void weld::TimeSpinButton::hide()
-include/vcl/weld.hxx:1333
+include/vcl/weld.hxx:1363
void weld::TimeSpinButton::save_value()
-include/vcl/weld.hxx:1334
+include/vcl/weld.hxx:1364
_Bool weld::TimeSpinButton::get_value_changed_from_saved() const
-include/vcl/weld.hxx:1383
+include/vcl/weld.hxx:1413
int weld::TextView::vadjustment_get_lower() const
-include/vcl/weld.hxx:1447
+include/vcl/weld.hxx:1477
void weld::Menu::set_sensitive(const class rtl::OString &,_Bool)
-include/vcl/weld.hxx:1448
+include/vcl/weld.hxx:1478
void weld::Menu::set_active(const class rtl::OString &,_Bool)
-include/vcl/weld.hxx:1458
+include/vcl/weld.hxx:1488
void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:1462
+include/vcl/weld.hxx:1492
void weld::Menu::append(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:1478
+include/vcl/weld.hxx:1508
void weld::SizeGroup::set_mode(enum VclSizeGroupMode)
-include/vcl/weld.hxx:1500
+include/vcl/weld.hxx:1530
class std::unique_ptr<class weld::Window, struct std::default_delete<class weld::Window> > weld::Builder::weld_window(const class rtl::OString &,_Bool)
-include/vcl/weld.hxx:1617
+include/vcl/weld.hxx:1647
class rtl::OUString weld::MessageDialogController::get_primary_text() const
include/vcl/window.hxx:407
const char * ImplDbgCheckWindow(const void *)
@@ -932,10 +918,6 @@ sc/source/filter/inc/xiescher.hxx:154
class Color XclImpDrawObjBase::GetSolidLineColor(const struct XclObjLineData &) const
sc/source/filter/xml/xmltransformationi.hxx:160
ScXMLDateTimeContext::ScXMLDateTimeContext(class ScXMLImport &,const class rtl::Reference<class sax_fastparser::FastAttributeList> &)
-sc/source/ui/inc/AccessibleSpreadsheet.hxx:235
- class tools::Rectangle ScAccessibleSpreadsheet::GetVisArea(class ScTabViewShell *,enum ScSplitPos)
-sc/source/ui/inc/AccessibleSpreadsheet.hxx:236
- class tools::Rectangle ScAccessibleSpreadsheet::GetVisCells(const class tools::Rectangle &)
sc/source/ui/inc/dataprovider.hxx:56
_Bool sc::CSVFetchThread::IsRequestedTerminate()
sc/source/ui/inc/dataprovider.hxx:57
@@ -980,8 +962,6 @@ sd/source/ui/inc/unomodel.hxx:137
_Bool SdXImpressDocument::operator==(const class SdXImpressDocument &) const
sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx:200
_Bool sd::slidesorter::view::InsertPosition::operator!=(const class sd::slidesorter::view::InsertPosition &) const
-sdext/source/presenter/PresenterSpritePane.hxx:60
- const class std::shared_ptr<class sdext::presenter::PresenterSprite> & sdext::presenter::PresenterSpritePane::GetSprite()
sfx2/source/appl/shutdownicon.hxx:82
class rtl::OUString ShutdownIcon::getShortcutName()
sfx2/source/appl/shutdownicon.hxx:98
@@ -1196,20 +1176,6 @@ 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:244
WW8_BRCVer6::WW8_BRCVer6()
-sw/source/uibase/inc/numfmtlb.hxx:94
- void SwNumFormatListBox::SetOneArea(_Bool)
-sw/source/uibase/inc/numfmtlb.hxx:97
- enum SvNumFormatType SwNumFormatListBox::GetFormatType() const
-sw/source/uibase/inc/numfmtlb.hxx:101
- struct o3tl::strong_int<unsigned short, struct LanguageTypeTag> SwNumFormatListBox::GetCurLanguage() const
-sw/source/uibase/inc/numfmtlb.hxx:102
- void SwNumFormatListBox::SetLanguage(struct o3tl::strong_int<unsigned short, struct LanguageTypeTag>)
-sw/source/uibase/inc/numfmtlb.hxx:104
- void SwNumFormatListBox::SetAutomaticLanguage(_Bool)
-sw/source/uibase/inc/numfmtlb.hxx:105
- _Bool SwNumFormatListBox::IsAutomaticLanguage() const
-sw/source/uibase/inc/numfmtlb.hxx:107
- void SwNumFormatListBox::SetShowLanguageControl(_Bool)
sw/source/uibase/inc/swcont.hxx:85
_Bool SwContent::operator==(const class SwContent &) const
test/source/sheet/xsubtotalfield.cxx:28
diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results
index 1351b08554ea..7b04154cb03a 100644
--- a/compilerplugins/clang/unusedmethods.unused-returns.results
+++ b/compilerplugins/clang/unusedmethods.unused-returns.results
@@ -160,8 +160,6 @@ include/svl/macitem.hxx:92
class SvStream & SvxMacroTableDtor::Write(class SvStream &) const
include/svl/poolitem.hxx:170
class SvStream & SfxPoolItem::Store(class SvStream &,unsigned short) const
-include/svx/checklbx.hxx:76
- void * SvxCheckListBox::SetEntryData(unsigned long,void *)
include/svx/dlgctrl.hxx:106
class Point SvxRectCtl::SetActualRPWithoutInvalidate(enum RectPoint)
include/svx/framelink.hxx:195
@@ -192,7 +190,7 @@ include/vcl/bitmap.hxx:171
_Bool Bitmap::Dither()
include/vcl/bitmapex.hxx:241
_Bool BitmapEx::Rotate(long,const class Color &)
-include/vcl/filter/PngImageReader.hxx:31
+include/vcl/filter/PngImageReader.hxx:29
_Bool vcl::PngImageReader::read(class BitmapEx &)
include/vcl/fontcharmap.hxx:49
class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool)
@@ -208,13 +206,13 @@ include/vcl/menu.hxx:389
_Bool Menu::HandleMenuDeActivateEvent(class Menu *) const
include/vcl/texteng.hxx:275
_Bool TextEngine::Read(class SvStream &,const class TextSelection *)
-include/vcl/toolbox.hxx:513
+include/vcl/toolbox.hxx:510
_Bool ToolBox::ChangeHighlightUpDn(_Bool)
-include/vcl/weld.hxx:342
+include/vcl/weld.hxx:356
_Bool weld::Dialog::runAsync(const class std::function<void (int)> &)
-include/vcl/weld.hxx:628
+include/vcl/weld.hxx:656
_Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const
-include/vcl/weld.hxx:1366
+include/vcl/weld.hxx:1396
_Bool weld::TextView::get_selection_bounds(int &,int &)
lotuswordpro/inc/lwpsvstream.hxx:76
class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &)
@@ -330,7 +328,7 @@ vcl/inc/opengl/salbmp.hxx:103
_Bool OpenGLSalBitmap::ImplScaleArea(const class rtl::Reference<class OpenGLContext> &,double,double)
vcl/inc/opengl/texture.hxx:112
_Bool OpenGLTexture::CopyData(int,int,int,int,const unsigned char *)
-vcl/inc/salframe.hxx:222
+vcl/inc/salframe.hxx:231
_Bool SalFrame::SetPluginParent(struct SystemParentData *)
vcl/inc/salgdi.hxx:213
class basegfx::B2DPoint SalGraphics::mirror(const class basegfx::B2DPoint &,const class OutputDevice *) const
diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx
index 955995bd0509..05a30b1a1b90 100644
--- a/extensions/source/propctrlr/formcomponenthandler.hxx
+++ b/extensions/source/propctrlr/formcomponenthandler.hxx
@@ -436,24 +436,6 @@ namespace pcr
};
- //= WaitCursor
-
- /** wrapper around a ->WaitObject which can cope with a NULL window
- */
- class WaitCursor
- {
- private:
- std::unique_ptr< WaitObject > m_aWaitObject;
-
- public:
- explicit WaitCursor( vcl::Window* _pWindow )
- {
- if ( _pWindow )
- m_aWaitObject.reset( new WaitObject( _pWindow ) );
- }
- };
-
-
} // namespace pcr
diff --git a/include/svx/checklbx.hxx b/include/svx/checklbx.hxx
index 2253f5d2f3a6..a10e5b999b10 100644
--- a/include/svx/checklbx.hxx
+++ b/include/svx/checklbx.hxx
@@ -56,24 +56,13 @@ public:
virtual ~SvxCheckListBox() override;
virtual void dispose() override;
- void InsertEntry ( const OUString& rStr,
- sal_uLong nPos = TREELIST_APPEND,
- void* pUserData = nullptr,
- SvLBoxButtonKind eButtonKind = SvLBoxButtonKind::EnabledCheckbox );
- void RemoveEntry ( sal_uLong nPos );
-
void SelectEntryPos ( sal_uLong nPos );
sal_uLong GetSelectedEntryPos () const;
- OUString GetText ( sal_uLong nPos ) const;
- sal_uLong GetCheckedEntryCount() const;
void CheckEntryPos ( sal_uLong nPos, bool bCheck = true );
bool IsChecked ( sal_uLong nPos ) const;
void ToggleCheckButton ( SvTreeListEntry* pEntry );
- void* SetEntryData ( sal_uLong nPos, void* pNewData );
- void* GetEntryData ( sal_uLong nPos ) const;
-
virtual void MouseButtonDown ( const MouseEvent& rMEvt ) override;
virtual void KeyInput ( const KeyEvent& rKEvt ) override;
};
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 4beb600f3e02..8e79c0f646ee 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -309,8 +309,6 @@ class VCL_DLLPUBLIC OutputDevice : public virtual VclReferenceBase
friend class WorkWindow;
friend void ImplHandleResize( vcl::Window* pWindow, long nNewWidth, long nNewHeight );
- friend cairo_surface_t* get_underlying_alpha_cairo_surface(const VirtualDevice&);
-
private:
OutputDevice(const OutputDevice&) = delete;
OutputDevice& operator=(const OutputDevice&) = delete;
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index c03f300d84a1..7031c0954acd 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -615,7 +615,6 @@ public:
void SetDefaultCollapsedEntryBmp( const Image& rBmp );
void SetCheckButtonState( SvTreeListEntry*, SvButtonState );
- void SetCheckButtonInvisible( SvTreeListEntry* );
SvButtonState GetCheckButtonState( SvTreeListEntry* ) const;
void SetEntryText(SvTreeListEntry*, const OUString& );
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx
index 335f9ae5740d..bec5b7fb2583 100644
--- a/svx/source/dialog/checklbx.cxx
+++ b/svx/source/dialog/checklbx.cxx
@@ -49,22 +49,6 @@ void SvxCheckListBox::Init_Impl()
EnableCheckButton( pCheckButton.get() );
}
-void SvxCheckListBox::InsertEntry( const OUString& rStr, sal_uLong nPos,
- void* pUserData,
- SvLBoxButtonKind eButtonKind )
-{
- SvTreeListBox::InsertEntry( rStr, nullptr, false, nPos, pUserData,
- eButtonKind );
-}
-
-
-void SvxCheckListBox::RemoveEntry( sal_uLong nPos )
-{
- if ( nPos < GetEntryCount() )
- SvTreeListBox::GetModel()->Remove( GetEntry( nPos ) );
-}
-
-
void SvxCheckListBox::SelectEntryPos( sal_uLong nPos )
{
if ( nPos < GetEntryCount() )
@@ -82,30 +66,6 @@ sal_uLong SvxCheckListBox::GetSelectedEntryPos() const
}
-OUString SvxCheckListBox::GetText( sal_uLong nPos ) const
-{
- SvTreeListEntry* pEntry = GetEntry( nPos );
-
- if ( pEntry )
- return GetEntryText( pEntry );
- return OUString();
-}
-
-
-sal_uLong SvxCheckListBox::GetCheckedEntryCount() const
-{
- sal_uLong nCheckCount = 0;
- sal_uLong nCount = GetEntryCount();
-
- for ( sal_uLong i = 0; i < nCount; ++i )
- {
- if ( IsChecked( i ) )
- nCheckCount++;
- }
- return nCheckCount;
-}
-
-
void SvxCheckListBox::CheckEntryPos( sal_uLong nPos, bool bCheck )
{
if ( nPos < GetEntryCount() )
@@ -122,28 +82,6 @@ bool SvxCheckListBox::IsChecked( sal_uLong nPos ) const
}
-void* SvxCheckListBox::SetEntryData ( sal_uLong nPos, void* pNewData )
-{
- void* pOld = nullptr;
-
- if ( nPos < GetEntryCount() )
- {
- pOld = GetEntry( nPos )->GetUserData();
- GetEntry( nPos )->SetUserData( pNewData );
- }
- return pOld;
-}
-
-
-void* SvxCheckListBox::GetEntryData( sal_uLong nPos ) const
-{
- if ( nPos < GetEntryCount() )
- return GetEntry( nPos )->GetUserData();
- else
- return nullptr;
-}
-
-
void SvxCheckListBox::ToggleCheckButton( SvTreeListEntry* pEntry )
{
if ( pEntry )
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx
index f24ef9089694..1a2bb1e9d65f 100644
--- a/vcl/source/treelist/treelistbox.cxx
+++ b/vcl/source/treelist/treelistbox.cxx
@@ -1750,19 +1750,6 @@ void SvTreeListBox::SetCheckButtonState( SvTreeListEntry* pEntry, SvButtonState
InvalidateEntry( pEntry );
}
-void SvTreeListBox::SetCheckButtonInvisible( SvTreeListEntry* pEntry)
-{
- SvLBoxButton* pItem = (nTreeFlags & SvTreeFlags::CHKBTN) ?
- static_cast<SvLBoxButton*>(pEntry->GetFirstItem(SvLBoxItemType::Button)) :
- nullptr;
-
- if (!pItem)
- return;
-
- pItem->SetStateInvisible();
- InvalidateEntry(pEntry);
-}
-
SvButtonState SvTreeListBox::GetCheckButtonState( SvTreeListEntry* pEntry ) const
{
SvButtonState eState = SvButtonState::Unchecked;