diff options
26 files changed, 156 insertions, 346 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index 165ed273978c..a81534046433 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -64,6 +64,8 @@ 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/screenshotannotationdlg.cxx:146 + void ScreenshotAnnotationDlg_Impl::CollectChildren(const class vcl::Window &,const class basegfx::B2IPoint &,class std::__debug::vector<class weld::ScreenShotEntry, class std::allocator<class weld::ScreenShotEntry> > &) cui/source/dialogs/SpellAttrib.hxx:73 _Bool svx::SpellErrorDescription::operator==(const struct svx::SpellErrorDescription &) const cui/source/inc/cfgutil.hxx:142 @@ -102,14 +104,16 @@ 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> >, 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 __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> >, struct std::random_access_iterator_tag> dbaui::OIndexCollection::findOriginal(const class rtl::OUString &) const -dbaccess/source/ui/inc/opendoccontrols.hxx:47 +dbaccess/source/ui/inc/opendoccontrols.hxx:46 _Bool dbaui::OpenDocumentButton::get_sensitive() const -dbaccess/source/ui/inc/opendoccontrols.hxx:70 +dbaccess/source/ui/inc/opendoccontrols.hxx:69 _Bool dbaui::OpenDocumentListBox::get_sensitive() const -dbaccess/source/ui/inc/opendoccontrols.hxx:71 +dbaccess/source/ui/inc/opendoccontrols.hxx:70 void dbaui::OpenDocumentListBox::grab_focus() dbaccess/source/ui/inc/SqlNameEdit.hxx:105 void dbaui::OSQLNameEntry::set_sensitive(_Bool) +dbaccess/source/ui/inc/UITools.hxx:227 + void dbaui::adjustToolBoxSize(class ToolBox *) dbaccess/source/ui/inc/WTypeSelect.hxx:76 void dbaui::OWizTypeSelectList::show() desktop/inc/lib/init.hxx:83 @@ -144,6 +148,8 @@ 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> >, struct std::random_access_iterator_tag> WrongList::end() const extensions/source/scanner/scanner.hxx:86 void ScannerManager::SetData(void *) +fpicker/source/office/fileview.hxx:118 + _Bool SvtFileView::Initialize(const class com::sun::star::uno::Reference<class com::sun::star::ucb::XContent> &) hwpfilter/source/mzstring.h:99 class MzString & MzString::operator<<(unsigned char) hwpfilter/source/mzstring.h:101 @@ -328,7 +334,7 @@ include/basegfx/vector/b2ivector.hxx:117 class basegfx::B2IVector & basegfx::B2IVector::operator*=(const class basegfx::B2DHomMatrix &) include/basegfx/vector/b3dvector.hxx:76 class basegfx::B3DVector & basegfx::B3DVector::operator*=(const class basegfx::B3DVector &) -include/basic/sbxvar.hxx:135 +include/basic/sbxvar.hxx:136 struct SbxValues * SbxValue::data() include/canvas/rendering/icolorbuffer.hxx:48 unsigned char * canvas::IColorBuffer::lock() const @@ -578,7 +584,7 @@ include/svx/dlgctrl.hxx:279 void SvxLineEndLB::set_active_text(const class rtl::OUString &) include/svx/framelink.hxx:194 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) -include/svx/langbox.hxx:157 +include/svx/langbox.hxx:156 void LanguageBox::show() include/svx/svdlayer.hxx:74 _Bool SdrLayer::operator==(const class SdrLayer &) const @@ -664,6 +670,8 @@ include/tools/weakbase.h:113 _Bool tools::WeakReference::operator>(const WeakReference<reference_type> &) const include/unotest/directories.hxx:43 class rtl::OUString test::Directories::getPathFromWorkdir(const class rtl::OUString &) const +include/unotools/mediadescriptor.hxx:103 + const class rtl::OUString & utl::MediaDescriptor::PROP_LOCKCONTENTEXTRACTION() include/unotools/moduleoptions.hxx:166 _Bool SvtModuleOptions::IsDataBase() const include/unotools/textsearch.hxx:130 @@ -684,6 +692,10 @@ include/vcl/ColorMask.hxx:114 void ColorMask::SetColorFor16BitMSB(const class BitmapColor &,unsigned char *) const include/vcl/ColorMask.hxx:116 void ColorMask::SetColorFor16BitLSB(const class BitmapColor &,unsigned char *) const +include/vcl/combobox.hxx:94 + int ComboBox::GetEntryPos(const void *) const +include/vcl/combobox.hxx:121 + void ComboBox::EnableMultiSelection(_Bool) include/vcl/commandevent.hxx:249 CommandMediaData::CommandMediaData(enum MediaCommand) include/vcl/commandevent.hxx:256 @@ -700,9 +712,11 @@ include/vcl/customweld.hxx:74 void weld::CustomWidgetController::SetAccessibleName(const class rtl::OUString &) include/vcl/customweld.hxx:115 void weld::CustomWeld::queue_draw_area(int,int,int,int) -include/vcl/edit.hxx:193 +include/vcl/dialog.hxx:98 + Dialog::Dialog(class vcl::Window *,const class rtl::OUString &,const class rtl::OUString &) +include/vcl/edit.hxx:184 _Bool Edit::IsSelectAllSingleClick() const -include/vcl/edit.hxx:225 +include/vcl/edit.hxx:216 class rtl::OUString Edit::GetPlaceholderText() const include/vcl/errcode.hxx:86 _Bool ErrCode::operator<(const class ErrCode &) const @@ -722,18 +736,32 @@ include/vcl/gradient.hxx:104 _Bool Gradient::operator!=(const class Gradient &) const include/vcl/hatch.hxx:55 _Bool Hatch::operator!=(const class Hatch &) const +include/vcl/headbar.hxx:296 + long HeaderBar::GetDragPos() const +include/vcl/headbar.hxx:314 + void HeaderBar::SetDragHdl(const class Link<class HeaderBar *, void> &) include/vcl/inputctx.hxx:62 _Bool InputContext::operator!=(const class InputContext &) const include/vcl/ITiledRenderable.hxx:193 enum PointerStyle vcl::ITiledRenderable::getPointer() include/vcl/lok.hxx:24 void vcl::lok::unregisterPollCallbacks() +include/vcl/menu.hxx:460 + unsigned short MenuBar::AddMenuBarButton(const class Image &,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &,const class rtl::OUString &) +include/vcl/menu.hxx:464 + void MenuBar::SetMenuBarButtonHighlightHdl(unsigned short,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &) +include/vcl/menu.hxx:468 + class tools::Rectangle MenuBar::GetMenuBarButtonRectPixel(unsigned short) +include/vcl/menu.hxx:469 + void MenuBar::RemoveMenuBarButton(unsigned short) include/vcl/NotebookBarAddonsMerger.hxx:64 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<char> &) +include/vcl/pdfextoutdevdata.hxx:126 + _Bool vcl::PDFExtOutDevData::GetIsSinglePageSheets() const include/vcl/pdfread.hxx:48 unsigned long vcl::ImportPDF(const class rtl::OUString &,class std::__debug::vector<class Bitmap, class std::allocator<class Bitmap> > &,class std::__debug::vector<signed char, class std::allocator<signed char> > &,double) include/vcl/pngread.hxx:56 @@ -758,12 +786,14 @@ include/vcl/svapp.hxx:170 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &) include/vcl/svapp.hxx:801 void Application::AppEvent(const class ApplicationEvent &) -include/vcl/syswin.hxx:173 +include/vcl/svtabbx.hxx:69 + unsigned short SvTabListBox::TabCount() const +include/vcl/svtabbx.hxx:71 + long SvTabListBox::GetTab(unsigned short) const +include/vcl/svtabbx.hxx:154 + void SvHeaderTabListBox::DisableTransientChildren() +include/vcl/syswin.hxx:185 void SystemWindow::SetIdleDebugName(const char *) -include/vcl/tabctrl.hxx:136 - unsigned short TabControl::GetPageId(const class TabPage &) const -include/vcl/tabctrl.hxx:153 - void TabControl::SetHelpId(unsigned short,const class rtl::OString &) const include/vcl/TaskStopwatch.hxx:97 void TaskStopwatch::reset() include/vcl/TaskStopwatch.hxx:108 @@ -776,6 +806,8 @@ include/vcl/TaskStopwatch.hxx:118 void TaskStopwatch::setTimeSlice(unsigned int) include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const +include/vcl/treelist.hxx:208 + void SvTreeList::Reverse() include/vcl/treelistbox.hxx:353 void SvTreeListBox::RemoveSelection() include/vcl/treelistbox.hxx:370 @@ -790,95 +822,93 @@ 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/weld.hxx:118 - class rtl::OString weld::Widget::get_buildable_name() const -include/vcl/weld.hxx:129 +include/vcl/weld.hxx:130 _Bool weld::Widget::get_hexpand() const -include/vcl/weld.hxx:131 +include/vcl/weld.hxx:132 _Bool weld::Widget::get_vexpand() const -include/vcl/weld.hxx:138 +include/vcl/weld.hxx:139 void weld::Widget::set_margin_right(int) -include/vcl/weld.hxx:140 - int weld::Widget::get_margin_top() const include/vcl/weld.hxx:141 + int weld::Widget::get_margin_top() const +include/vcl/weld.hxx:142 int weld::Widget::get_margin_bottom() const -include/vcl/weld.hxx:143 +include/vcl/weld.hxx:144 int weld::Widget::get_margin_right() const -include/vcl/weld.hxx:280 +include/vcl/weld.hxx:288 void weld::ScrolledWindow::hadjustment_configure(int,int,int,int,int,int) -include/vcl/weld.hxx:286 +include/vcl/weld.hxx:294 void weld::ScrolledWindow::hadjustment_set_upper(int) -include/vcl/weld.hxx:288 +include/vcl/weld.hxx:296 void weld::ScrolledWindow::hadjustment_set_page_size(int) -include/vcl/weld.hxx:289 +include/vcl/weld.hxx:297 void weld::ScrolledWindow::hadjustment_set_page_increment(int) -include/vcl/weld.hxx:290 +include/vcl/weld.hxx:298 void weld::ScrolledWindow::set_hpolicy(enum VclPolicyType) -include/vcl/weld.hxx:291 +include/vcl/weld.hxx:299 enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const -include/vcl/weld.hxx:296 +include/vcl/weld.hxx:304 int weld::ScrolledWindow::get_hscroll_height() const -include/vcl/weld.hxx:396 +include/vcl/weld.hxx:424 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:486 +include/vcl/weld.hxx:519 class rtl::OString weld::Assistant::get_current_page_ident() const -include/vcl/weld.hxx:492 +include/vcl/weld.hxx:525 class rtl::OUString weld::Assistant::get_page_title(const class rtl::OString &) const -include/vcl/weld.hxx:713 +include/vcl/weld.hxx:746 void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:722 +include/vcl/weld.hxx:755 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:761 +include/vcl/weld.hxx:801 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:900 +include/vcl/weld.hxx:940 void weld::TreeView::select_all() -include/vcl/weld.hxx:944 +include/vcl/weld.hxx:984 const class rtl::OUString & weld::TreeView::get_saved_value() const -include/vcl/weld.hxx:1049 +include/vcl/weld.hxx:1089 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1061 +include/vcl/weld.hxx:1101 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:1066 +include/vcl/weld.hxx:1106 void weld::MenuButton::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1097 +include/vcl/weld.hxx:1137 class rtl::OUString weld::LinkButton::get_label() const -include/vcl/weld.hxx:1101 +include/vcl/weld.hxx:1141 void weld::LinkButton::clicked() -include/vcl/weld.hxx:1132 +include/vcl/weld.hxx:1172 class rtl::OUString weld::ProgressBar::get_text() const -include/vcl/weld.hxx:1149 +include/vcl/weld.hxx:1189 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:1164 +include/vcl/weld.hxx:1205 int weld::Entry::get_position() const -include/vcl/weld.hxx:1273 +include/vcl/weld.hxx:1314 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1322 +include/vcl/weld.hxx:1363 void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &) -include/vcl/weld.hxx:1559 +include/vcl/weld.hxx:1600 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1570 +include/vcl/weld.hxx:1611 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:1617 +include/vcl/weld.hxx:1658 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1619 +include/vcl/weld.hxx:1660 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1620 +include/vcl/weld.hxx:1661 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1621 +include/vcl/weld.hxx:1662 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1624 +include/vcl/weld.hxx:1665 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1625 +include/vcl/weld.hxx:1666 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1685 +include/vcl/weld.hxx:1726 int weld::TextView::vadjustment_get_lower() const -include/vcl/weld.hxx:1771 +include/vcl/weld.hxx:1812 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1801 +include/vcl/weld.hxx:1843 void weld::Toolbar::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1810 +include/vcl/weld.hxx:1852 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1837 +include/vcl/weld.hxx:1879 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/window.hxx:410 const char * ImplDbgCheckWindow(const void *) @@ -886,6 +916,8 @@ include/vcl/window.hxx:1222 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) +linguistic/source/convdicxml.hxx:82 + ConvDicXMLTokenHandler::ConvDicXMLTokenHandler() o3tl/qa/cow_wrapper_clients.hxx:140 _Bool o3tltests::cow_wrapper_client4::operator==(const class o3tltests::cow_wrapper_client4 &) const o3tl/qa/cow_wrapper_clients.hxx:141 @@ -902,6 +934,8 @@ oox/source/drawingml/diagram/diagramlayoutatoms.hxx:257 const class std::__debug::vector<class std::shared_ptr<class oox::drawingml::Shape>, class std::allocator<class std::shared_ptr<class oox::drawingml::Shape> > > & oox::drawingml::LayoutNode::getNodeShapes() const oox/source/drawingml/diagram/diagramlayoutatoms.hxx:265 const class oox::drawingml::LayoutNode * oox::drawingml::LayoutNode::getParentLayoutNode() const +reportdesign/source/ui/dlg/Condition.hxx:64 + void rptui::ConditionColorWrapper::dispose() sal/osl/unx/uunxapi.hxx:35 int mkdir_c(const class rtl::OString &,unsigned int) sal/osl/unx/uunxapi.hxx:70 @@ -946,6 +980,8 @@ sc/inc/userlist.hxx:88 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> > *, class std::__cxx1998::vector<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> >, class std::allocator<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> > > > >, class std::__debug::vector<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> >, class std::allocator<class std::unique_ptr<class ScUserListData, struct std::default_delete<class ScUserListData> > > >, struct std::random_access_iterator_tag> ScUserList::begin() const sc/qa/unit/helper/qahelper.hxx:160 class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > print(const class ScAddress &) +sc/qa/unit/screenshots/screenshots.cxx:326 + int main() sc/qa/unit/ucalc.hxx:143 void Test::testFormulaHashAndTag() sc/qa/unit/ucalc.hxx:181 @@ -1028,11 +1064,11 @@ sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:64 void ScRandomNumberGeneratorDialog::GenerateNumbers(type-parameter-?-? &,const char *,const class boost::optional<signed char>) sc/source/ui/inc/TableFillingAndNavigationTools.hxx:121 unsigned long DataRangeIterator::size() -sc/source/ui/inc/viewdata.hxx:405 +sc/source/ui/inc/viewdata.hxx:407 long ScViewData::GetLOKDocWidthPixel() const -sc/source/ui/inc/viewdata.hxx:406 +sc/source/ui/inc/viewdata.hxx:408 long ScViewData::GetLOKDocHeightPixel() const -sc/source/ui/inc/viewdata.hxx:539 +sc/source/ui/inc/viewdata.hxx:541 _Bool ScViewData::IsGridMode() const scaddins/source/analysis/analysishelper.hxx:802 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const @@ -1292,7 +1328,9 @@ sw/source/core/inc/frame.hxx:1392 long SwRectFnSet::RightDist(const class SwRect &,long) const sw/source/core/inc/mvsave.hxx:176 _Bool ZSortFly::operator==(const class ZSortFly &) const -sw/source/core/text/porlin.hxx:117 +sw/source/core/inc/UndoSplitMove.hxx:73 + void SwUndoMove::SetDestRange(const class SwPaM &,const struct SwPosition &,_Bool,_Bool) +sw/source/core/text/porlin.hxx:118 _Bool SwLinePortion::IsTabRightPortion() const sw/source/core/text/txtpaint.hxx:66 DbgBackColor::DbgBackColor(class OutputDevice *,const _Bool) @@ -1340,6 +1378,8 @@ vcl/inc/bitmapwriteaccess.hxx:75 void BitmapWriteAccess::SetFillColor() vcl/inc/ControlCacheKey.hxx:34 ControlCacheKey::ControlCacheKey(enum ControlType,enum ControlPart,enum ControlState,const class Size &) +vcl/inc/ControlCacheKey.hxx:41 + _Bool ControlCacheKey::operator==(const class ControlCacheKey &) const vcl/inc/ControlCacheKey.hxx:50 _Bool ControlCacheKey::canCacheControl() const vcl/inc/fontinstance.hxx:67 @@ -1372,6 +1412,8 @@ vcl/inc/openglgdiimpl.hxx:108 void OpenGLSalGraphicsImpl::ImplDrawLineAA(double,double,double,double,_Bool) vcl/inc/openglgdiimpl.hxx:115 _Bool OpenGLSalGraphicsImpl::UseSolid(class Color,unsigned char) +vcl/inc/openglgdiimpl.hxx:137 + void OpenGLSalGraphicsImpl::DrawTextureDiff(class OpenGLTexture &,class OpenGLTexture &,const struct SalTwoRect &,_Bool) vcl/inc/openglgdiimpl.hxx:140 void OpenGLSalGraphicsImpl::DrawMask(class OpenGLTexture &,class Color,const struct SalTwoRect &) vcl/inc/openglgdiimpl.hxx:144 @@ -1432,30 +1474,18 @@ vcl/inc/salwtype.hxx:118 SalMenuEvent::SalMenuEvent() vcl/inc/schedulerimpl.hxx:38 const char * ImplSchedulerData::GetDebugName() const +vcl/inc/svdata.hxx:410 + unsigned long ControlCacheHashFunction::operator()(const class ControlCacheKey &) const vcl/inc/unx/glyphcache.hxx:68 void GlyphCache::ClearFontOptions() vcl/inc/unx/gtk/gtkframe.hxx:214 void ensure_dbus_setup(struct _GdkWindow *,class GtkSalFrame *) -vcl/inc/unx/gtk/gtksys.hxx:38 - int GtkSalSystem::GetDisplayXScreenCount() vcl/inc/unx/saldisp.hxx:378 class SalXLib * SalDisplay::GetXLib() const vcl/inc/unx/salframe.h:184 enum SalFrameStyleFlags X11SalFrame::GetStyle() const -vcl/inc/unx/salgdi.h:281 - void X11SalGraphics::CopyScreenArea(struct _XDisplay *,unsigned long,class SalX11Screen,int,unsigned long,class SalX11Screen,int,struct _XGC *,int,int,unsigned int,unsigned int,int,int) -vcl/inc/unx/salgdi.h:297 - struct _XGC * X11SalGraphics::GetFontGC() -vcl/inc/unx/x11/x11gdiimpl.h:22 - _Bool X11GraphicsImpl::TryRenderCachedNativeControl(class ControlCacheKey &,int,int) -vcl/inc/wizdlg.hxx:154 - void vcl::RoadmapWizard::defaultButton(class PushButton *) -vcl/inc/wizdlg.hxx:169 - _Bool vcl::RoadmapWizard::isStateEnabled(short) const -vcl/inc/wizdlg.hxx:267 - void vcl::RoadmapWizard::getStateHistory(class std::__debug::vector<short, class std::allocator<short> > &) -vcl/inc/wizdlg.hxx:300 - void vcl::RoadmapWizard::activatePath(short,_Bool) +vcl/inc/wizdlg.hxx:306 + void vcl::RoadmapWizard::implResetDefault(const class vcl::Window *) vcl/source/app/scheduler.cxx:83 basic_ostream<type-parameter-?-?, type-parameter-?-?> & (anonymous namespace)::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const class Idle &) vcl/source/edit/textdat2.hxx:85 @@ -1480,8 +1510,6 @@ writerfilter/source/ooxml/OOXMLPropertySet.hxx:177 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class tools::SvRef<class writerfilter::ooxml::OOXMLProperty> *, class std::__cxx1998::vector<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty> > > >, class std::__debug::vector<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class tools::SvRef<class writerfilter::ooxml::OOXMLProperty> > >, struct std::random_access_iterator_tag> writerfilter::ooxml::OOXMLPropertySet::end() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:180 class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > writerfilter::ooxml::OOXMLPropertySet::toString() -xmlsecurity/qa/unit/xmlsecurity-dialogs-test.cxx:61 - int main() xmlsecurity/source/gpg/XMLEncryption.hxx:25 XMLEncryptionGpg::XMLEncryptionGpg() xmlsecurity/source/xmlsec/nss/nssinitializer.hxx:45 diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index d3bc2c969beb..863d73ce55c5 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -48,41 +48,41 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:97 char * lok::Document::getPartPageRectangles() include/LibreOfficeKit/LibreOfficeKit.hxx:121 char * lok::Document::getPartHash(int) -include/LibreOfficeKit/LibreOfficeKit.hxx:349 +include/LibreOfficeKit/LibreOfficeKit.hxx:360 char * lok::Document::getTextSelection(const char *,char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:359 +include/LibreOfficeKit/LibreOfficeKit.hxx:370 int lok::Document::getSelectionType() -include/LibreOfficeKit/LibreOfficeKit.hxx:377 +include/LibreOfficeKit/LibreOfficeKit.hxx:388 _Bool lok::Document::getClipboard(const char **,unsigned long *,char ***,unsigned long **,char ***) -include/LibreOfficeKit/LibreOfficeKit.hxx:396 +include/LibreOfficeKit/LibreOfficeKit.hxx:407 _Bool lok::Document::setClipboard(const unsigned long,const char **,const unsigned long *,const char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:411 +include/LibreOfficeKit/LibreOfficeKit.hxx:422 _Bool lok::Document::paste(const char *,const char *,unsigned long) -include/LibreOfficeKit/LibreOfficeKit.hxx:442 +include/LibreOfficeKit/LibreOfficeKit.hxx:453 char * lok::Document::getCommandValues(const char *) -include/LibreOfficeKit/LibreOfficeKit.hxx:528 +include/LibreOfficeKit/LibreOfficeKit.hxx:539 int lok::Document::getView() -include/LibreOfficeKit/LibreOfficeKit.hxx:536 +include/LibreOfficeKit/LibreOfficeKit.hxx:547 int lok::Document::getViewsCount() -include/LibreOfficeKit/LibreOfficeKit.hxx:545 +include/LibreOfficeKit/LibreOfficeKit.hxx:556 unsigned char * lok::Document::renderFont(const char *,const char *,int *,int *) -include/LibreOfficeKit/LibreOfficeKit.hxx:584 +include/LibreOfficeKit/LibreOfficeKit.hxx:595 _Bool lok::Document::getViewIds(int *,unsigned long) -include/LibreOfficeKit/LibreOfficeKit.hxx:645 +include/LibreOfficeKit/LibreOfficeKit.hxx:656 _Bool lok::Document::insertCertificate(const unsigned char *,const int,const unsigned char *,const int) -include/LibreOfficeKit/LibreOfficeKit.hxx:659 +include/LibreOfficeKit/LibreOfficeKit.hxx:670 _Bool lok::Document::addCertificate(const unsigned char *,const int) -include/LibreOfficeKit/LibreOfficeKit.hxx:671 +include/LibreOfficeKit/LibreOfficeKit.hxx:682 int lok::Document::getSignatureState() -include/LibreOfficeKit/LibreOfficeKit.hxx:681 +include/LibreOfficeKit/LibreOfficeKit.hxx:692 unsigned long lok::Document::renderShapeSelection(char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:834 +include/LibreOfficeKit/LibreOfficeKit.hxx:845 char * lok::Office::getFilterTypes() -include/LibreOfficeKit/LibreOfficeKit.hxx:888 +include/LibreOfficeKit/LibreOfficeKit.hxx:899 char * lok::Office::getVersionInfo() -include/LibreOfficeKit/LibreOfficeKit.hxx:902 +include/LibreOfficeKit/LibreOfficeKit.hxx:913 _Bool lok::Office::runMacro(const char *) -include/LibreOfficeKit/LibreOfficeKit.hxx:910 +include/LibreOfficeKit/LibreOfficeKit.hxx:921 _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() @@ -156,13 +156,13 @@ include/oox/ole/olehelper.hxx:179 _Bool oox::ole::MSConvertOCXControls::importControlFromStream(class oox::BinaryInputStream &,class com::sun::star::uno::Reference<class com::sun::star::form::XFormComponent> &,const class rtl::OUString &) include/oox/ole/olehelper.hxx:190 _Bool oox::ole::MSConvertOCXControls::ReadOCXCtlsStream(const class tools::SvRef<class SotStorageStream> &,class com::sun::star::uno::Reference<class com::sun::star::form::XFormComponent> &,int,int) -include/sax/fshelper.hxx:135 - class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int) include/sax/fshelper.hxx:136 - class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long) + class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int) include/sax/fshelper.hxx:137 + class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long) +include/sax/fshelper.hxx:138 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(double) -include/sax/fshelper.hxx:139 +include/sax/fshelper.hxx:140 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::writeEscaped(const char *) include/sfx2/linkmgr.hxx:63 _Bool sfx2::LinkManager::InsertLink(class sfx2::SvBaseLink *,unsigned short,enum SfxLinkUpdateMode,const class rtl::OUString *) @@ -230,11 +230,11 @@ include/vcl/menu.hxx:389 _Bool Menu::HandleMenuDeActivateEvent(class Menu *) const include/vcl/texteng.hxx:276 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) -include/vcl/toolbox.hxx:515 +include/vcl/toolbox.hxx:505 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:809 +include/vcl/weld.hxx:849 _Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const -include/vcl/weld.hxx:1664 +include/vcl/weld.hxx:1705 _Bool weld::TextView::get_selection_bounds(int &,int &) include/vcl/window.hxx:1515 _Bool vcl::Window::set_font_attribute(const class rtl::OString &,const class rtl::OUString &) @@ -246,7 +246,7 @@ lotuswordpro/inc/lwpsvstream.hxx:77 class LwpSvStream & LwpSvStream::ReadUInt16(unsigned short &) lotuswordpro/inc/lwpsvstream.hxx:78 class LwpSvStream & LwpSvStream::ReadUInt32(unsigned int &) -sc/inc/document.hxx:2151 +sc/inc/document.hxx:2155 const struct ScDocumentThreadSpecific & ScDocument::CalculateInColumnInThread(struct ScInterpreterContext &,const class ScRange &,unsigned int,unsigned int) sc/inc/orcusfilters.hxx:45 _Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const @@ -318,11 +318,11 @@ sw/inc/calc.hxx:114 class SwSbxValue & SwSbxValue::MakeDouble() sw/inc/crsrsh.hxx:550 _Bool SwCursorShell::GoNextPrevCursorSetSearchLabel(const _Bool) -sw/inc/doc.hxx:1082 +sw/inc/doc.hxx:1083 _Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &) -sw/inc/doc.hxx:1245 +sw/inc/doc.hxx:1246 _Bool SwDoc::SetColRowWidthHeight(class SwTableBox &,enum TableChgWidthHeightType,long,long) -sw/inc/doc.hxx:1270 +sw/inc/doc.hxx:1271 _Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool) sw/inc/editsh.hxx:266 _Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const @@ -376,13 +376,13 @@ vcl/inc/unx/gtk/gtkdata.hxx:136 int GtkSalDisplay::CaptureMouse(class SalFrame *) vcl/inc/unx/saldisp.hxx:308 _Bool SalDisplay::Dispatch(union _XEvent *) -vcl/inc/wizdlg.hxx:204 +vcl/inc/wizdlg.hxx:198 _Bool vcl::RoadmapWizard::onFinish() -vcl/inc/wizdlg.hxx:207 +vcl/inc/wizdlg.hxx:201 _Bool vcl::RoadmapWizard::travelNext() -vcl/inc/wizdlg.hxx:210 +vcl/inc/wizdlg.hxx:204 _Bool vcl::RoadmapWizard::travelPrevious() -vcl/inc/wizdlg.hxx:334 +vcl/inc/wizdlg.hxx:291 class TabPage * vcl::RoadmapWizard::GetOrCreatePage(const short) vcl/source/gdi/pdfwriter_impl.hxx:1233 _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index cc43afa14a2f..8dd164f7c9e9 100644 --- a/cui/source/dialogs/screenshotannotationdlg.cxx +++ b/cui/source/dialogs/screenshotannotationdlg.cxx @@ -143,10 +143,6 @@ private: DECL_LINK(saveButtonHandler, weld::Button&, void); // helper methods - void CollectChildren( - const vcl::Window& rCurrent, - const basegfx::B2IPoint& rTopLeft, - weld::ScreenShotCollection& rControlDataCollection); weld::ScreenShotEntry* CheckHit(const basegfx::B2IPoint& rPosition); void PaintScreenShotEntry( const weld::ScreenShotEntry& rEntry, @@ -273,35 +269,6 @@ ScreenshotAnnotationDlg_Impl::ScreenshotAnnotationDlg_Impl( } } -void ScreenshotAnnotationDlg_Impl::CollectChildren( - const vcl::Window& rCurrent, - const basegfx::B2IPoint& rTopLeft, - weld::ScreenShotCollection& rControlDataCollection) -{ - if (rCurrent.IsVisible()) - { - const Point aCurrentPos(rCurrent.GetPosPixel()); - const Size aCurrentSize(rCurrent.GetSizePixel()); - const basegfx::B2IPoint aCurrentTopLeft(rTopLeft.getX() + aCurrentPos.X(), rTopLeft.getY() + aCurrentPos.Y()); - const basegfx::B2IRange aCurrentRange(aCurrentTopLeft, aCurrentTopLeft + basegfx::B2IPoint(aCurrentSize.Width(), aCurrentSize.Height())); - - if (!aCurrentRange.isEmpty()) - { - rControlDataCollection.emplace_back(rCurrent.GetHelpId(), aCurrentRange); - } - - for (sal_uInt16 a(0); a < rCurrent.GetChildCount(); a++) - { - vcl::Window* pChild = rCurrent.GetChild(a); - - if (nullptr != pChild) - { - CollectChildren(*pChild, aCurrentTopLeft, rControlDataCollection); - } - } - } -} - ScreenshotAnnotationDlg_Impl::~ScreenshotAnnotationDlg_Impl() { mxVirtualBufferDevice.disposeAndClear(); diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx index cf14f3a97ef6..c3e2097a4a70 100644 --- a/dbaccess/source/ui/inc/UITools.hxx +++ b/dbaccess/source/ui/inc/UITools.hxx @@ -220,12 +220,6 @@ namespace dbaui vcl::Window* _pToRegister, const ::comphelper::mem_fun1_t<TaskPaneList,vcl::Window*>& _rMemFunc); - /** adjustToolBoxSize checks if the size of the ToolBox is still valid. If not it will be resized. - @param _pToolBox - The Toolbox which should be resized. - */ - void adjustToolBoxSize(ToolBox* _pToolBox); - void adjustBrowseBoxColumnWidth( ::svt::EditBrowseBox* _pBox, sal_uInt16 _nColId ); /** check if SQL92 name checking is enabled diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index fe68343700d1..84b2d6f9095a 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -950,25 +950,6 @@ void notifySystemWindow(vcl::Window const * _pWindow, vcl::Window* _pToRegister, } } -void adjustToolBoxSize(ToolBox* _pToolBox) -{ - // adjust the toolbox size, otherwise large bitmaps don't fit into - Size aOldSize = _pToolBox->GetSizePixel(); - Size aSize = _pToolBox->CalcWindowSizePixel(); - if ( !aSize.Width() ) - aSize.setWidth( aOldSize.Width() ); - else if ( !aSize.Height() ) - aSize.setHeight( aOldSize.Height() ); - - Size aTbSize = _pToolBox->GetSizePixel(); - if ( (aSize.Width() && aSize.Width() != aTbSize.Width()) || - (aSize.Height() && aSize.Height() != aTbSize.Height()) ) - { - _pToolBox->SetPosSizePixel( _pToolBox->GetPosPixel(), aSize ); - _pToolBox->Invalidate(); - } -} - void adjustBrowseBoxColumnWidth( ::svt::EditBrowseBox* _pBox, sal_uInt16 _nColId ) { sal_Int32 nColSize = -1; diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx index 36de5f043997..b87548cc5a6a 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -951,28 +951,6 @@ void SvtFileView::SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) } -bool SvtFileView::Initialize( const css::uno::Reference< css::ucb::XContent>& _xContent ) -{ - WaitObject aWaitCursor( this ); - - mpImpl->Clear(); - ::ucbhelper::Content aContent(_xContent, mpImpl->mxCmdEnv, comphelper::getProcessComponentContext() ); - FileViewResult eResult = mpImpl->GetFolderContent_Impl( FolderDescriptor( aContent ), nullptr, css::uno::Sequence< OUString >() ); - OSL_ENSURE( eResult != eStillRunning, "SvtFileView::Initialize: this was expected to be synchronous!" ); - if ( eResult != eSuccess ) - return false; - - mpImpl->FilterFolderContent_Impl( OUString() ); - - mpImpl->SortFolderContent_Impl(); // possibly not necessary!!!!!!!!!! - mpImpl->CreateDisplayText_Impl(); - mpImpl->OpenFolder_Impl(); - - mpImpl->maOpenDoneLink.Call( this ); - return true; -} - - FileViewResult SvtFileView::Initialize( const OUString& rURL, const OUString& rFilter, diff --git a/fpicker/source/office/fileview.hxx b/fpicker/source/office/fileview.hxx index e655b8c4dcd3..bf957c5127fa 100644 --- a/fpicker/source/office/fileview.hxx +++ b/fpicker/source/office/fileview.hxx @@ -113,10 +113,6 @@ public: const css::uno::Sequence< OUString >& rBlackList ); - /** initializes the view with the content of a folder given by a UCB content - */ - bool Initialize( const css::uno::Reference< css::ucb::XContent>& _xContent ); - /** reads the current content of the current folder again, and applies the given filter to it Note 1: The folder is really read a second time. This implies that any new elements (which were diff --git a/include/unotools/mediadescriptor.hxx b/include/unotools/mediadescriptor.hxx index b2260b5652ff..6a826ce309ac 100644 --- a/include/unotools/mediadescriptor.hxx +++ b/include/unotools/mediadescriptor.hxx @@ -100,7 +100,6 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap static const OUString& PROP_VIEWONLY(); static const OUString& PROP_DOCUMENTBASEURL(); static const OUString& PROP_SUGGESTEDSAVEASNAME(); - static const OUString& PROP_LOCKCONTENTEXTRACTION(); // interface public: diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 1993d00e0ae6..0f7f43695b0d 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -91,7 +91,6 @@ public: void Clear(); void EnableSelectAll(); sal_Int32 GetEntryPos( const OUString& rStr ) const; - sal_Int32 GetEntryPos( const void* pData ) const; Image GetEntryImage( sal_Int32 nPos ) const; OUString GetEntry( sal_Int32 nPos ) const; sal_Int32 GetEntryCount() const; @@ -118,7 +117,6 @@ public: void EnableAutocomplete( bool bEnable, bool bMatchCase = false ); bool IsAutocompleteEnabled() const; - void EnableMultiSelection( bool bMulti ); bool IsMultiSelectionEnabled() const; void SetSelectHdl(const Link<ComboBox&,void>& rLink); diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index ee2560abc475..f0a418939cde 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -95,7 +95,6 @@ protected: public: explicit Dialog( vcl::Window* pParent, WinBits nStyle = WB_STDDIALOG, InitFlag eFlag = InitFlag::Default ); - explicit Dialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ); virtual ~Dialog() override; virtual void dispose() override; diff --git a/include/vcl/headbar.hxx b/include/vcl/headbar.hxx index cac9b8c4717b..1636ebc732f2 100644 --- a/include/vcl/headbar.hxx +++ b/include/vcl/headbar.hxx @@ -293,7 +293,6 @@ public: sal_uInt16 GetItemId( const Point& rPos ) const; tools::Rectangle GetItemRect( sal_uInt16 nItemId ) const; sal_uInt16 GetCurItemId() const { return mnCurItemId; } - long GetDragPos() const { return mnDragPos; } bool IsItemMode() const { return mbItemMode; } void SetItemSize( sal_uInt16 nItemId, long nNewSize ); @@ -311,7 +310,6 @@ public: using Window::SetHelpId; void SetStartDragHdl( const Link<HeaderBar*,void>& rLink ) { maStartDragHdl = rLink; } - void SetDragHdl( const Link<HeaderBar*,void>& rLink ) { maDragHdl = rLink; } void SetEndDragHdl( const Link<HeaderBar*,void>& rLink ) { maEndDragHdl = rLink; } void SetSelectHdl( const Link<HeaderBar*,void>& rLink ) { maSelectHdl = rLink; } void SetCreateAccessibleHdl( const Link<HeaderBar*,void>& rLink ) { maCreateAccessibleHdl = rLink; } diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index a352f04c2784..e991d5cb2562 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -123,7 +123,6 @@ public: bool GetIsExportHiddenSlides() const { return mbExportHiddenSlides;} void SetIsExportHiddenSlides( const bool bExportHiddenSlides ); - bool GetIsSinglePageSheets() const { return mbSinglePageSheets;} void SetIsSinglePageSheets( const bool bSinglePageSheets ); bool GetIsExportNamedDestinations() const { return mbExportNDests;} //i56629 diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx index 2abc0a9b28a1..bec86aa8c9ba 100644 --- a/include/vcl/svtabbx.hxx +++ b/include/vcl/svtabbx.hxx @@ -66,9 +66,7 @@ public: virtual ~SvTabListBox() override; virtual void dispose() override; void SetTabs(sal_uInt16 nTabs, long const pTabPositions[], MapUnit = MapUnit::MapAppFont); - sal_uInt16 TabCount() const { return mvTabList.size(); } using SvTreeListBox::GetTab; - long GetTab( sal_uInt16 nTab ) const; void SetTab( sal_uInt16 nTab, long nValue, MapUnit = MapUnit::MapAppFont ); long GetLogicTab( sal_uInt16 nTab ); @@ -100,12 +98,6 @@ public: void SetTabJustify( sal_uInt16 nTab, SvTabJustify ); }; -inline long SvTabListBox::GetTab( sal_uInt16 nTab ) const -{ - DBG_ASSERT( nTab < mvTabList.size(), "GetTabPos:Invalid Tab" ); - return mvTabList[nTab].GetPos(); -} - // class SvHeaderTabListBox --------------------------------------------------- class HeaderBar; @@ -151,7 +143,6 @@ public: // Accessible ------------------------------------------------------------- - void DisableTransientChildren() { SetChildrenNotTransient(); } bool IsTransientChildrenDisabled() const { return !AreChildrenTransient(); } bool IsCellCheckBox( long _nRow, sal_uInt16 _nColumn, TriState& _rState ); diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx index 8b56418bf063..61b7ea742832 100644 --- a/include/vcl/treelist.hxx +++ b/include/vcl/treelist.hxx @@ -41,8 +41,7 @@ enum class SvListAction INVALIDATE_ENTRY = 8, RESORTING = 9, RESORTED = 10, - CLEARED = 11, - REVERSED = 13 + CLEARED = 11 }; class SvTreeListEntry; @@ -205,7 +204,6 @@ public: sal_Int32 Compare(const SvTreeListEntry* pLeft, const SvTreeListEntry* pRight) const; void SetCompareHdl( const Link<const SvSortData&, sal_Int32>& rLink ) { aCompareLink = rLink; } void Resort(); - void Reverse(); }; class VCL_DLLPUBLIC SvListView diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx index 70c9ab1e7691..62ec13a29031 100644 --- a/linguistic/source/convdicxml.hxx +++ b/linguistic/source/convdicxml.hxx @@ -74,22 +74,6 @@ enum ConvDicXMLToken : sal_Int32 ENTRY = FastToken::NAMESPACE | XML_NAMESPACE_TCD | XML_ENTRY, }; -class ConvDicXMLTokenHandler : public - cppu::WeakImplHelper< css::xml::sax::XFastTokenHandler >, - public sax_fastparser::FastTokenHandlerBase -{ -public: - explicit ConvDicXMLTokenHandler(); - virtual ~ConvDicXMLTokenHandler() override; - - //XFastTokenHandler - virtual sal_Int32 SAL_CALL getTokenFromUTF8( const css::uno::Sequence< sal_Int8 >& Identifier ) override; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getUTF8Identifier( sal_Int32 Token ) override; - - // Much faster direct C++ shortcut to the method that matters - virtual sal_Int32 getTokenDirect( const char *pToken, sal_Int32 nLength ) const override; -}; - class ConvDicXMLImport : public SvXMLImport { ConvDic *pDic; // conversion dictionary to be used diff --git a/reportdesign/source/ui/dlg/Condition.hxx b/reportdesign/source/ui/dlg/Condition.hxx index d16e81ce8ca3..4f263f815ba6 100644 --- a/reportdesign/source/ui/dlg/Condition.hxx +++ b/reportdesign/source/ui/dlg/Condition.hxx @@ -61,7 +61,6 @@ namespace rptui public: ConditionColorWrapper(Condition* pControl, sal_uInt16 nSlotId); void operator()(const OUString& rCommand, const NamedColor& rColor); - void dispose(); private: Condition* mpControl; sal_uInt16 mnSlotId; diff --git a/sw/source/core/inc/UndoSplitMove.hxx b/sw/source/core/inc/UndoSplitMove.hxx index 44ef64ccdd9d..2c718f4d7436 100644 --- a/sw/source/core/inc/UndoSplitMove.hxx +++ b/sw/source/core/inc/UndoSplitMove.hxx @@ -70,7 +70,6 @@ public: virtual void RedoImpl( ::sw::UndoRedoContext & ) override; /// set the destination range after the move - void SetDestRange( const SwPaM&, const SwPosition&, bool, bool ); void SetDestRange( const SwNodeIndex& rStt, const SwNodeIndex& rEnd, const SwNodeIndex& rInsPos ); diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx index 934a7fa0a87c..d865f190dd4f 100644 --- a/sw/source/core/undo/unmove.cxx +++ b/sw/source/core/undo/unmove.cxx @@ -138,35 +138,6 @@ SwUndoMove::SwUndoMove( SwDoc* pDoc, const SwNodeRange& rRg, m_nFootnoteStart = 0; } -void SwUndoMove::SetDestRange( const SwPaM& rRange, - const SwPosition& rInsPos, - bool bJoin, bool bCorrPam ) -{ - const SwPosition *pStt = rRange.Start(), - *pEnd = rRange.GetPoint() == pStt - ? rRange.GetMark() - : rRange.GetPoint(); - - m_nDestStartNode = pStt->nNode.GetIndex(); - m_nDestStartContent = pStt->nContent.GetIndex(); - m_nDestEndNode = pEnd->nNode.GetIndex(); - m_nDestEndContent = pEnd->nContent.GetIndex(); - - m_nInsPosNode = rInsPos.nNode.GetIndex(); - m_nInsPosContent = rInsPos.nContent.GetIndex(); - - if( bCorrPam ) - { - m_nDestStartNode--; - m_nDestEndNode--; - } - - m_bJoinNext = m_nDestStartNode != m_nDestEndNode && - pStt->nNode.GetNode().GetTextNode() && - pEnd->nNode.GetNode().GetTextNode(); - m_bJoinPrev = bJoin; -} - void SwUndoMove::SetDestRange( const SwNodeIndex& rStt, const SwNodeIndex& rEnd, const SwNodeIndex& rInsPos ) diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx index 1da5778ab9fe..0d0839f62b18 100644 --- a/unotools/source/misc/mediadescriptor.cxx +++ b/unotools/source/misc/mediadescriptor.cxx @@ -324,12 +324,6 @@ const OUString& MediaDescriptor::PROP_SUGGESTEDSAVEASNAME() return sProp; } -const OUString& MediaDescriptor::PROP_LOCKCONTENTEXTRACTION() -{ - static const OUString sProp("LockContentExtraction"); - return sProp; -} - MediaDescriptor::MediaDescriptor() : SequenceAsHashMap() { diff --git a/vcl/inc/opengl/win/gdiimpl.hxx b/vcl/inc/opengl/win/gdiimpl.hxx index bd0bea4ef246..7bf6d8bf85d5 100644 --- a/vcl/inc/opengl/win/gdiimpl.hxx +++ b/vcl/inc/opengl/win/gdiimpl.hxx @@ -50,6 +50,20 @@ public: }; +struct ControlCacheHashFunction +{ + std::size_t operator()(ControlCacheKey const& aCache) const + { + std::size_t seed = 0; + boost::hash_combine(seed, aCache.mnType); + boost::hash_combine(seed, aCache.mnPart); + boost::hash_combine(seed, aCache.mnState); + boost::hash_combine(seed, aCache.maSize.Width()); + boost::hash_combine(seed, aCache.maSize.Height()); + return seed; + } +}; + typedef std::pair<ControlCacheKey, std::unique_ptr<TextureCombo>> ControlCachePair; typedef o3tl::lru_map<ControlCacheKey, std::unique_ptr<TextureCombo>, ControlCacheHashFunction> ControlCacheType; diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index e2da6476da77..56789b91a3f0 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -405,20 +405,6 @@ struct ImplSVEvent bool mbCall; }; -struct ControlCacheHashFunction -{ - std::size_t operator()(ControlCacheKey const& aCache) const - { - std::size_t seed = 0; - boost::hash_combine(seed, aCache.mnType); - boost::hash_combine(seed, aCache.mnPart); - boost::hash_combine(seed, aCache.mnState); - boost::hash_combine(seed, aCache.maSize.Width()); - boost::hash_combine(seed, aCache.maSize.Height()); - return seed; - } -}; - extern int nImplSysDialog; #endif // INCLUDED_VCL_INC_SVDATA_HXX diff --git a/vcl/inc/wizdlg.hxx b/vcl/inc/wizdlg.hxx index 911e572c3758..5b25eab29671 100644 --- a/vcl/inc/wizdlg.hxx +++ b/vcl/inc/wizdlg.hxx @@ -303,7 +303,6 @@ namespace vcl DECL_LINK(OnPrevPage, Button*, void); DECL_LINK(OnFinish, Button*, void); - void implResetDefault(vcl::Window const * _pWindow); void implUpdateTitle(); void implConstruct( const WizardButtonFlags _nButtonFlags ); }; diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 9cdba187953c..8ab88f04b9c4 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -946,14 +946,6 @@ sal_Int32 ComboBox::GetEntryPos( const OUString& rStr ) const return nPos; } -sal_Int32 ComboBox::GetEntryPos( const void* pData ) const -{ - sal_Int32 nPos = m_pImpl->m_pImplLB->GetEntryList()->FindEntry( pData ); - if ( nPos != LISTBOX_ENTRY_NOTFOUND ) - nPos = nPos - m_pImpl->m_pImplLB->GetEntryList()->GetMRUCount(); - return nPos; -} - OUString ComboBox::GetEntry( sal_Int32 nPos ) const { const sal_Int32 nMRUCount = m_pImpl->m_pImplLB->GetEntryList()->GetMRUCount(); @@ -982,12 +974,6 @@ bool ComboBox::IsInDropDown() const return m_pImpl->m_pFloatWin && m_pImpl->m_pFloatWin->IsInPopupMode() && m_pImpl->m_pFloatWin->ImplIsInPrivatePopupMode(); } -void ComboBox::EnableMultiSelection( bool bMulti ) -{ - m_pImpl->m_pImplLB->EnableMultiSelection( bMulti, false ); - m_pImpl->m_pImplLB->SetMultiSelectionSimpleMode( true ); -} - bool ComboBox::IsMultiSelectionEnabled() const { return m_pImpl->m_pImplLB->IsMultiSelectionEnabled(); diff --git a/vcl/source/control/wizardmachine.cxx b/vcl/source/control/wizardmachine.cxx index 2f43c528b63b..2a3da888744d 100644 --- a/vcl/source/control/wizardmachine.cxx +++ b/vcl/source/control/wizardmachine.cxx @@ -704,34 +704,6 @@ namespace vcl OSL_FAIL( "RoadmapWizard::RemoveButton() - Button not in list" ); } - void RoadmapWizard::implResetDefault(vcl::Window const * _pWindow) - { - vcl::Window* pChildLoop = _pWindow->GetWindow(GetWindowType::FirstChild); - while (pChildLoop) - { - // does the window participate in the tabbing order? - if (pChildLoop->GetStyle() & WB_DIALOGCONTROL) - implResetDefault(pChildLoop); - - // is it a button? - WindowType eType = pChildLoop->GetType(); - if ( (WindowType::PUSHBUTTON == eType) - || (WindowType::OKBUTTON == eType) - || (WindowType::CANCELBUTTON == eType) - || (WindowType::HELPBUTTON == eType) - || (WindowType::IMAGEBUTTON == eType) - || (WindowType::MENUBUTTON == eType) - || (WindowType::MOREBUTTON == eType) - ) - { - pChildLoop->SetStyle(pChildLoop->GetStyle() & ~WB_DEFBUTTON); - } - - // the next one ... - pChildLoop = pChildLoop->GetWindow(GetWindowType::Next); - } - } - void RoadmapWizard::enableButtons(WizardButtonFlags _nWizardButtonFlags, bool _bEnable) { if (m_pFinish && (_nWizardButtonFlags & WizardButtonFlags::FINISH)) diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx index 797c8405ebb5..49ac19692756 100644 --- a/vcl/source/treelist/treelist.cxx +++ b/vcl/source/treelist/treelist.cxx @@ -1334,9 +1334,6 @@ void SvListView::ModelNotification( SvListAction nActionId, SvTreeListEntry* pEn break; case SvListAction::RESORTING: break; - case SvListAction::REVERSED: - m_pImpl->m_bVisPositionsValid = false; - break; default: OSL_FAIL("unknown ActionId"); } @@ -1455,13 +1452,6 @@ void SvTreeList::ResortChildren( SvTreeListEntry* pParent ) SetListPositions(pParent->m_Children); // correct list position in target list } -void SvTreeList::Reverse() -{ - bAbsPositionsValid = false; - ReverseChildren(pRootItem.get()); - Broadcast(SvListAction::REVERSED); -} - void SvTreeList::ReverseChildren( SvTreeListEntry* pParent ) { DBG_ASSERT(pParent,"Parent not set"); diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index f956303bba5b..c632d2ccd682 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -559,16 +559,6 @@ void Dialog::doDeferredInit(WinBits nBits) mbIsDeferredInit = false; } -Dialog::Dialog(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription) - : SystemWindow(WindowType::DIALOG) - , mbForceBorderWindow(false) - , mnInitFlag(InitFlag::Default) -{ - ImplLOKNotifier(pParent); - ImplInitDialogData(); - loadUI(pParent, OUStringToOString(rID, RTL_TEXTENCODING_UTF8), rUIXMLDescription); -} - Dialog::Dialog(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, WindowType nType, InitFlag eFlag, bool bBorder) : SystemWindow(nType) , mbForceBorderWindow(bBorder) |