From cae829e9c1394851fc88829d5197460929c2792a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 11 Jun 2019 14:05:02 +0200 Subject: loplugin:unusedmethods Change-Id: I42667e8483d2cb4363227344faca3899bd95d424 Reviewed-on: https://gerrit.libreoffice.org/73824 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/unusedmethods.results | 432 ++++++++++----------- .../clang/unusedmethods.unused-returns.results | 64 +-- editeng/source/outliner/outlvw.cxx | 33 -- include/editeng/outliner.hxx | 5 - include/sfx2/basedlgs.hxx | 2 - include/sfx2/dinfdlg.hxx | 1 - include/svx/AccessibleGraphicShape.hxx | 3 - include/svx/AccessibleOLEShape.hxx | 3 - include/svx/DescriptionGenerator.hxx | 8 - include/svx/dlgctl3d.hxx | 1 - include/svx/fntctrl.hxx | 12 - include/svx/langbox.hxx | 3 - include/vcl/treelistbox.hxx | 2 - sc/source/ui/dataprovider/htmldataprovider.cxx | 31 -- sc/source/ui/dataprovider/htmldataprovider.hxx | 2 - sd/source/ui/accessibility/AccessiblePageShape.cxx | 6 - .../AccessiblePresentationGraphicShape.cxx | 24 -- .../AccessiblePresentationOLEShape.cxx | 36 -- .../accessibility/AccessiblePresentationShape.cxx | 51 --- sd/source/ui/inc/AccessiblePageShape.hxx | 3 - .../ui/inc/AccessiblePresentationGraphicShape.hxx | 2 - .../ui/inc/AccessiblePresentationOLEShape.hxx | 2 - sd/source/ui/inc/AccessiblePresentationShape.hxx | 2 - sfx2/source/dialog/basedlgs.cxx | 32 -- .../accessibility/AccessibleGraphicShape.cxx | 11 - svx/source/accessibility/AccessibleOLEShape.cxx | 6 - svx/source/accessibility/DescriptionGenerator.cxx | 16 - svx/source/dialog/fntctrl.cxx | 113 ------ svx/source/dialog/langbox.cxx | 11 - sw/inc/shellio.hxx | 2 - sw/source/core/swg/swblocks.cxx | 19 - 31 files changed, 235 insertions(+), 703 deletions(-) diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index bd89d0d57225..5fb2ed3f09a7 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -64,6 +64,16 @@ cui/source/inc/cfgutil.hxx:151 class rtl::OUString CuiConfigFunctionListBox::get_id(int) const cui/source/inc/cfgutil.hxx:165 int CuiConfigFunctionListBox::get_selected_index() const +cui/source/inc/CustomNotebookbarGenerator.hxx:30 + CustomNotebookbarGenerator::CustomNotebookbarGenerator() +cui/source/inc/CustomNotebookbarGenerator.hxx:33 + class com::sun::star::uno::Sequence CustomNotebookbarGenerator::getCustomizedUIItem(class rtl::OUString) +cui/source/inc/CustomNotebookbarGenerator.hxx:35 + void CustomNotebookbarGenerator::modifyCustomizedUIFile(class com::sun::star::uno::Sequence) +cui/source/inc/CustomNotebookbarGenerator.hxx:36 + void CustomNotebookbarGenerator::createCustomizedUIFile() +cui/source/inc/CustomNotebookbarGenerator.hxx:37 + void CustomNotebookbarGenerator::setCustomizedUIItem(class com::sun::star::uno::Sequence,class rtl::OUString) cui/source/inc/hangulhanjadlg.hxx:245 class rtl::OUString svx::SuggestionEdit::get_text() const dbaccess/source/filter/hsqldb/fbalterparser.hxx:20 @@ -112,18 +122,6 @@ editeng/inc/edtspell.hxx:113 class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > WrongList::end() const extensions/source/scanner/scanner.hxx:81 void ScannerManager::SetData(void *) -formula/source/ui/dlg/funcpage.hxx:89 - void formula::FuncPage::Show() -formula/source/ui/dlg/funcpage.hxx:91 - void formula::FuncPage::Hide() -formula/source/ui/dlg/structpg.hxx:44 - formula::StructListBox::StructListBox(class vcl::Window *,long) -formula/source/ui/dlg/structpg.hxx:47 - class SvTreeListEntry * formula::StructListBox::InsertStaticEntry(const class rtl::OUString &,const class Image &,class SvTreeListEntry *,unsigned long,const class formula::FormulaToken *) -formula/source/ui/dlg/structpg.hxx:98 - void formula::StructPage::Show() -formula/source/ui/dlg/structpg.hxx:100 - void formula::StructPage::Hide() framework/source/uiconfiguration/ImageList.hxx:53 _Bool ImageList::operator!=(const class ImageList &) const hwpfilter/source/mzstring.h:99 @@ -310,7 +308,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:136 +include/basic/sbxvar.hxx:135 struct SbxValues * SbxValue::data() include/canvas/rendering/icolorbuffer.hxx:48 unsigned char * canvas::IColorBuffer::lock() const @@ -346,8 +344,6 @@ 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/AccessibleImplementationHelper.hxx:43 - class rtl::OUString comphelper::GetkeyBindingStrByXkeyBinding(const class com::sun::star::uno::Sequence &) include/comphelper/automationinvokedzone.hxx:28 comphelper::Automation::AutomationInvokedZone::AutomationInvokedZone() include/comphelper/basicio.hxx:52 @@ -418,9 +414,9 @@ 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:63 - connectivity::sdbcx::OGroup::OGroup(_Bool) include/connectivity/sdbcx/VGroup.hxx:64 + connectivity::sdbcx::OGroup::OGroup(_Bool) +include/connectivity/sdbcx/VGroup.hxx:65 connectivity::sdbcx::OGroup::OGroup(const class rtl::OUString &,_Bool) include/connectivity/sqlparse.hxx:191 class rtl::OUString connectivity::OSQLParser::RuleIDToStr(unsigned int) @@ -444,14 +440,10 @@ include/drawinglayer/tools/primitive2dxmldump.hxx:44 void drawinglayer::tools::Primitive2dXmlDump::dump(const class drawinglayer::primitive2d::Primitive2DContainer &,const class rtl::OUString &) include/editeng/hyphenzoneitem.hxx:63 _Bool SvxHyphenZoneItem::IsPageEnd() const +include/editeng/outliner.hxx:346 + void OutlinerView::EnableBullets() include/filter/msfilter/mstoolbar.hxx:103 Indent::Indent(_Bool) -include/formula/formula.hxx:78 - struct std::pair formula::FormulaModalDialog::RefInputStartBefore(class formula::WeldRefEdit *,class formula::WeldRefButton *) -include/formula/funcutl.hxx:66 - void formula::RefEdit::SetRefValid(_Bool) -include/formula/funcutl.hxx:205 - void formula::RefButton::DoRef() include/formula/opcode.hxx:520 class std::__cxx11::basic_string, class std::allocator > OpCodeEnumToString(enum OpCode) include/formula/tokenarray.hxx:182 @@ -510,14 +502,18 @@ include/opencl/openclconfig.hxx:57 _Bool OpenCLConfig::ImplMatcher::operator!=(const struct OpenCLConfig::ImplMatcher &) const include/opencl/OpenCLZone.hxx:42 _Bool OpenCLZone::isInInitialTest() -include/sfx2/basedlgs.hxx:59 - class rtl::OUString & SfxModalDialog::GetExtraData() +include/sfx2/basedlgs.hxx:89 + void SfxModelessDialog::FillInfo(struct SfxChildWinInfo &) const +include/sfx2/basedlgs.hxx:90 + void SfxModelessDialog::Initialize(const struct SfxChildWinInfo *) include/sfx2/charwin.hxx:64 void SvxCharView::connect_focus_in(const class Link &) include/sfx2/charwin.hxx:65 void SvxCharView::connect_focus_out(const class Link &) include/sfx2/childwin.hxx:164 void SfxChildWindow::ClearController() +include/sfx2/dinfdlg.hxx:382 + void CustomPropertiesWindow::FillLine(unsigned int) include/sfx2/docfilt.hxx:80 _Bool SfxFilter::GetGpgEncryption() const include/sfx2/evntconf.hxx:60 @@ -528,77 +524,19 @@ include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const include/sfx2/shell.hxx:33 Sequence com::sun::star::uno::(Sequence) -include/sfx2/templatelocalview.hxx:89 - void TemplateLocalView::showRegion(const class rtl::OUString &) -include/sfx2/templatelocalview.hxx:91 - void TemplateLocalView::createContextMenu(const _Bool) -include/sfx2/templatelocalview.hxx:97 - unsigned short TemplateLocalView::getRegionId(unsigned long) const -include/sfx2/templatelocalview.hxx:99 - unsigned short TemplateLocalView::getRegionId(const class rtl::OUString &) const -include/sfx2/templatelocalview.hxx:103 - class rtl::OUString TemplateLocalView::getRegionItemName(const unsigned short) const -include/sfx2/templatelocalview.hxx:105 - class std::__debug::vector > TemplateLocalView::getFolderNames() -include/sfx2/templatelocalview.hxx:108 - class std::__debug::vector > TemplateLocalView::getFilteredItems(const class std::function<_Bool (const struct TemplateItemProperties &)> &) const -include/sfx2/templatelocalview.hxx:110 - unsigned short TemplateLocalView::createRegion(const class rtl::OUString &) -include/sfx2/templatelocalview.hxx:112 - _Bool TemplateLocalView::renameRegion(const class rtl::OUString &,const class rtl::OUString &) -include/sfx2/templatelocalview.hxx:114 - _Bool TemplateLocalView::removeRegion(const unsigned short) -include/sfx2/templatelocalview.hxx:116 - _Bool TemplateLocalView::removeTemplate(const unsigned short,const unsigned short) -include/sfx2/templatelocalview.hxx:118 - _Bool TemplateLocalView::moveTemplate(const class ThumbnailViewItem *,const unsigned short,const unsigned short) -include/sfx2/templatelocalview.hxx:121 - void TemplateLocalView::moveTemplates(const class std::__debug::set > &,const unsigned short) -include/sfx2/templatelocalview.hxx:123 - _Bool TemplateLocalView::copyFrom(class TemplateContainerItem *,const class rtl::OUString &) -include/sfx2/templatelocalview.hxx:125 - _Bool TemplateLocalView::exportTo(const unsigned short,const unsigned short,const class rtl::OUString &) -include/sfx2/templatelocalview.hxx:137 - unsigned short TemplateLocalView::getCurRegionId() const -include/sfx2/templatelocalview.hxx:139 - void TemplateLocalView::setOpenRegionHdl(const class Link &) -include/sfx2/templatelocalview.hxx:147 - void TemplateLocalView::setDeleteTemplateHdl(const class Link &) -include/sfx2/templatelocalview.hxx:149 - void TemplateLocalView::setDefaultTemplateHdl(const class Link &) -include/sfx2/templatelocalview.hxx:153 - void TemplateLocalView::RemoveDefaultTemplateIcon(const class rtl::OUString &) -include/sfx2/templatelocalview.hxx:271 - void SfxTemplateLocalView::updateThumbnailDimensions(long) -include/sfx2/thumbnailview.hxx:229 - void ThumbnailView::SetMultiSelectionEnabled(_Bool) -include/sfx2/thumbnailview.hxx:233 - void ThumbnailView::setItemStateHdl(const class Link &) -include/sfx2/thumbnailview.hxx:378 - class BitmapEx SfxThumbnailView::readThumbnail(const class rtl::OUString &) -include/svl/eitem.hxx:81 - SfxBoolItem::SfxBoolItem(unsigned short,class SvStream &) -include/svl/itempool.hxx:169 +include/svl/itempool.hxx:171 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId) const -include/svl/itempool.hxx:205 +include/svl/itempool.hxx:207 void SfxItemPool::dumpAsXml(struct _xmlTextWriter *) const include/svl/lockfilecommon.hxx:58 void svt::LockFileCommon::SetURL(const class rtl::OUString &) -include/svl/macitem.hxx:94 - unsigned short SvxMacroTableDtor::GetVersion() include/svtools/DocumentToGraphicRenderer.hxx:106 _Bool DocumentToGraphicRenderer::isImpress() const -include/svtools/simptabl.hxx:103 - void SvSimpleTable::ClearHeader() -include/svtools/simptabl.hxx:105 - void SvSimpleTable::ShowTable() -include/svtools/simptabl.hxx:112 - _Bool SvSimpleTable::GetSortDirection() -include/svtools/simptabl.hxx:116 - const class CommandEvent & SvSimpleTable::GetCommandEvent() const -include/svtools/simptabl.hxx:118 - void SvSimpleTable::SetCommandHdl(const class Link &) -include/svx/autoformathelper.hxx:142 +include/svx/AccessibleGraphicShape.hxx:97 + class rtl::OUString accessibility::AccessibleGraphicShape::CreateAccessibleDescription() +include/svx/AccessibleOLEShape.hxx:103 + class rtl::OUString accessibility::AccessibleOLEShape::CreateAccessibleDescription() +include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const class AutoFormatBase &) include/svx/ClassificationEditView.hxx:39 void svx::ClassificationEditView::SetCharAttributes() @@ -608,29 +546,45 @@ 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/ctredlin.hxx:82 - SvxRedlinEntry::SvxRedlinEntry() -include/svx/ctredlin.hxx:94 - SvLBoxColorString::SvLBoxColorString(const class rtl::OUString &,const class Color &) -include/svx/ctredlin.hxx:276 - void SvxTPFilter::Disable() -include/svx/ctredlin.hxx:310 - void SvxTPView::InsertWriterHeader() -include/svx/ctredlin.hxx:311 - void SvxTPView::InsertCalcHeader() +include/svx/DescriptionGenerator.hxx:147 + void accessibility::DescriptionGenerator::Add3DProperties() +include/svx/DescriptionGenerator.hxx:151 + void accessibility::DescriptionGenerator::AddTextProperties() +include/svx/dlgctl3d.hxx:269 + void SvxLightCtl3D::SetUserInteractiveChangeCallback(class Link) 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/framelink.hxx:201 +include/svx/fntctrl.hxx:44 + void SvxFontPrevWindow::SetFontSize(const class SfxItemSet &,unsigned short,class SvxFont &) +include/svx/fntctrl.hxx:45 + void SvxFontPrevWindow::SetFontLang(const class SfxItemSet &,unsigned short,class SvxFont &) +include/svx/fntctrl.hxx:71 + void SvxFontPrevWindow::AutoCorrectFontColor() +include/svx/fntctrl.hxx:73 + void SvxFontPrevWindow::SetPreviewText(const class rtl::OUString &) +include/svx/fntctrl.hxx:74 + void SvxFontPrevWindow::SetFontNameAsPreviewText() +include/svx/fntctrl.hxx:76 + void SvxFontPrevWindow::SetFont(const class SfxItemSet &,unsigned short,class SvxFont &) +include/svx/fntctrl.hxx:77 + void SvxFontPrevWindow::SetFontStyle(const class SfxItemSet &,unsigned short,unsigned short,class SvxFont &) +include/svx/fntctrl.hxx:78 + void SvxFontPrevWindow::SetFontWidthScale(const class SfxItemSet &) +include/svx/fntctrl.hxx:79 + void SvxFontPrevWindow::SetFontEscapement(unsigned char,unsigned char,short) +include/svx/framelink.hxx:194 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) -include/svx/langbox.hxx:160 +include/svx/langbox.hxx:91 + _Bool SvxLanguageBoxBase::ImplIsEntryPosSelected(int) const +include/svx/langbox.hxx:157 void LanguageBox::show() -include/svx/svdlayer.hxx:75 +include/svx/svdlayer.hxx:74 _Bool SdrLayer::operator==(const class SdrLayer &) const -include/svx/svdpntv.hxx:459 +include/svx/svdpntv.hxx:462 _Bool SdrPaintView::IsSwapAsynchron() const include/svx/txencbox.hxx:128 void TextEncodingBox::grab_focus() @@ -676,10 +630,18 @@ include/tools/fract.hxx:106 class Fraction operator-(const class Fraction &,double) include/tools/fract.hxx:108 class Fraction operator/(const class Fraction &,double) -include/tools/gen.hxx:257 +include/tools/gen.hxx:98 + class Point operator/(const class Point &,const long) +include/tools/gen.hxx:258 class Pair & Range::toPair() -include/tools/gen.hxx:324 +include/tools/gen.hxx:325 class Pair & Selection::toPair() +include/tools/link.hxx:135 + const char * Link::getSourceFilename() const +include/tools/link.hxx:136 + int Link::getSourceLineNumber() const +include/tools/link.hxx:137 + const char * Link::getTargetName() const include/tools/poly.hxx:160 _Bool tools::Polygon::operator!=(const class tools::Polygon &) const include/tools/poly.hxx:247 @@ -706,12 +668,8 @@ include/vcl/animate/Animation.hxx:40 _Bool Animation::operator!=(const class Animation &) const include/vcl/animate/AnimationBitmap.hxx:70 _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const -include/vcl/BitmapColor.hxx:61 +include/vcl/BitmapColor.hxx:40 void BitmapColor::SetAlpha(unsigned char) -include/vcl/builder.hxx:484 - class PopupMenu * VclBuilderContainer::get_menu(const class rtl::OString &) -include/vcl/combobox.hxx:81 - void ComboBox::EnableDDAutoWidth(_Bool) include/vcl/commandevent.hxx:249 CommandMediaData::CommandMediaData(enum MediaCommand) include/vcl/commandevent.hxx:256 @@ -724,9 +682,9 @@ include/vcl/cursor.hxx:96 _Bool vcl::Cursor::operator!=(const class vcl::Cursor &) const include/vcl/customweld.hxx:41 class rtl::OUString weld::CustomWidgetController::GetHelpText() const -include/vcl/customweld.hxx:72 +include/vcl/customweld.hxx:73 void weld::CustomWidgetController::SetAccessibleName(const class rtl::OUString &) -include/vcl/customweld.hxx:113 +include/vcl/customweld.hxx:114 void weld::CustomWeld::queue_draw_area(int,int,int,int) include/vcl/edit.hxx:205 _Bool Edit::IsSelectAllSingleClick() const @@ -752,8 +710,10 @@ 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:194 +include/vcl/ITiledRenderable.hxx:193 enum PointerStyle vcl::ITiledRenderable::getPointer() +include/vcl/lok.hxx:24 + void vcl::lok::unregisterPollCallbacks() include/vcl/opengl/OpenGLHelper.hxx:67 void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &) include/vcl/opengl/OpenGLHelper.hxx:97 @@ -764,8 +724,6 @@ include/vcl/salnativewidgets.hxx:384 _Bool TabitemValue::isBothAligned() const include/vcl/salnativewidgets.hxx:385 _Bool TabitemValue::isNotAligned() const -include/vcl/scrbar.hxx:135 - const class Link & ScrollBar::GetEndScrollHdl() const include/vcl/settings.hxx:413 void StyleSettings::SetUseFlatBorders(_Bool) include/vcl/settings.hxx:416 @@ -784,16 +742,16 @@ include/vcl/svapp.hxx:801 void Application::AppEvent(const class ApplicationEvent &) include/vcl/syswin.hxx:172 void SystemWindow::SetIdleDebugName(const char *) -include/vcl/tabdlg.hxx:49 +include/vcl/tabdlg.hxx:48 class vcl::Window * TabDialog::GetViewWindow() const include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const -include/vcl/treelistbox.hxx:382 +include/vcl/treelistbox.hxx:361 + void SvTreeListBox::RemoveSelection() +include/vcl/treelistbox.hxx:378 const class SvTreeListEntry * SvTreeListBox::GetParent(const class SvTreeListEntry *) const -include/vcl/treelistbox.hxx:440 - const class Link & SvTreeListBox::GetSelectHdl() const -include/vcl/treelistbox.hxx:441 - const class Link & SvTreeListBox::GetDeselectHdl() const +include/vcl/treelistbox.hxx:462 + void SvTreeListBox::SetDragOptions(signed char) include/vcl/txtattr.hxx:56 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:274 @@ -804,101 +762,95 @@ include/vcl/uitest/uiobject.hxx:345 SpinUIObject::SpinUIObject(const class VclPtr &) include/vcl/uitest/uiobject.hxx:353 class std::unique_ptr > SpinUIObject::create(class vcl::Window *) -include/vcl/viewdataentry.hxx:71 - void SvViewDataEntry::SetHighlighted(_Bool) -include/vcl/wall.hxx:98 - _Bool Wallpaper::operator!=(const class Wallpaper &) const -include/vcl/weld.hxx:116 +include/vcl/weld.hxx:117 class rtl::OString weld::Widget::get_buildable_name() const -include/vcl/weld.hxx:127 +include/vcl/weld.hxx:128 _Bool weld::Widget::get_hexpand() const -include/vcl/weld.hxx:129 +include/vcl/weld.hxx:130 _Bool weld::Widget::get_vexpand() const -include/vcl/weld.hxx:259 - void weld::ScrolledWindow::hadjustment_configure(int,int,int,int,int,int) include/vcl/weld.hxx:265 + void weld::ScrolledWindow::hadjustment_configure(int,int,int,int,int,int) +include/vcl/weld.hxx:271 void weld::ScrolledWindow::hadjustment_set_upper(int) -include/vcl/weld.hxx:267 +include/vcl/weld.hxx:273 void weld::ScrolledWindow::hadjustment_set_page_size(int) -include/vcl/weld.hxx:268 +include/vcl/weld.hxx:274 void weld::ScrolledWindow::hadjustment_set_page_increment(int) -include/vcl/weld.hxx:269 +include/vcl/weld.hxx:275 void weld::ScrolledWindow::set_hpolicy(enum VclPolicyType) -include/vcl/weld.hxx:270 +include/vcl/weld.hxx:276 enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const -include/vcl/weld.hxx:275 +include/vcl/weld.hxx:281 int weld::ScrolledWindow::get_hscroll_height() const -include/vcl/weld.hxx:288 - void weld::ScrolledWindow::vadjustment_set_lower(int) -include/vcl/weld.hxx:321 +include/vcl/weld.hxx:327 class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const -include/vcl/weld.hxx:365 +include/vcl/weld.hxx:371 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:624 +include/vcl/weld.hxx:652 void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:633 +include/vcl/weld.hxx:661 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:670 +include/vcl/weld.hxx:700 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:778 +include/vcl/weld.hxx:822 void weld::TreeView::select_all() -include/vcl/weld.hxx:791 +include/vcl/weld.hxx:835 enum TriState weld::TreeView::get_sort_indicator(int) const -include/vcl/weld.hxx:819 +include/vcl/weld.hxx:863 const class rtl::OUString & weld::TreeView::get_saved_value() const -include/vcl/weld.hxx:924 +include/vcl/weld.hxx:968 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:932 +include/vcl/weld.hxx:976 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:936 +include/vcl/weld.hxx:980 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:941 +include/vcl/weld.hxx:985 void weld::MenuButton::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:970 +include/vcl/weld.hxx:1014 class rtl::OUString weld::LinkButton::get_label() const -include/vcl/weld.hxx:972 +include/vcl/weld.hxx:1016 class rtl::OUString weld::LinkButton::get_uri() const -include/vcl/weld.hxx:974 +include/vcl/weld.hxx:1018 void weld::LinkButton::clicked() -include/vcl/weld.hxx:1005 +include/vcl/weld.hxx:1049 class rtl::OUString weld::ProgressBar::get_text() const -include/vcl/weld.hxx:1022 +include/vcl/weld.hxx:1066 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:1036 +include/vcl/weld.hxx:1080 int weld::Entry::get_position() const -include/vcl/weld.hxx:1141 +include/vcl/weld.hxx:1185 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1190 +include/vcl/weld.hxx:1234 void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &) -include/vcl/weld.hxx:1424 +include/vcl/weld.hxx:1471 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1435 - void weld::MetricSpinButton::set_position(int) include/vcl/weld.hxx:1482 + void weld::MetricSpinButton::set_position(int) +include/vcl/weld.hxx:1529 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1483 +include/vcl/weld.hxx:1531 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1484 +include/vcl/weld.hxx:1532 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1485 +include/vcl/weld.hxx:1533 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1486 - void weld::TimeSpinButton::show() -include/vcl/weld.hxx:1487 +include/vcl/weld.hxx:1535 void weld::TimeSpinButton::hide() -include/vcl/weld.hxx:1488 +include/vcl/weld.hxx:1536 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1489 +include/vcl/weld.hxx:1537 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1549 +include/vcl/weld.hxx:1597 int weld::TextView::vadjustment_get_lower() const -include/vcl/weld.hxx:1636 +include/vcl/weld.hxx:1686 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1656 +include/vcl/weld.hxx:1716 + void weld::Toolbar::append_separator(const class rtl::OUString &) +include/vcl/weld.hxx:1725 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1678 +include/vcl/weld.hxx:1750 class std::unique_ptr > weld::Builder::weld_window(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1795 +include/vcl/weld.hxx:1869 class rtl::OUString weld::MessageDialogController::get_primary_text() const include/vcl/window.hxx:408 const char * ImplDbgCheckWindow(const void *) @@ -918,18 +870,10 @@ oox/inc/drawingml/textliststyle.hxx:49 void oox::drawingml::TextListStyle::dump() const oox/inc/drawingml/textparagraphproperties.hxx:100 void oox::drawingml::TextParagraphProperties::setLineSpacing(const class oox::drawingml::TextSpacing &) -oox/source/drawingml/diagram/diagramlayoutatoms.hxx:167 - int oox::drawingml::AlgAtom::getType() const -oox/source/drawingml/diagram/diagramlayoutatoms.hxx:170 - const class std::__debug::map, class std::allocator > > & oox::drawingml::AlgAtom::getMap() const sc/inc/address.hxx:661 _Bool ScRange::operator<=(const class ScRange &) const -sc/inc/autoform.hxx:115 - const struct AutoFormatSwBlob & ScAutoFormatDataField::GetAutoFormatSwBlob() const sc/inc/bigrange.hxx:73 _Bool ScBigAddress::operator!=(const class ScBigAddress &) const -sc/inc/column.hxx:465 - void ScColumn::SetPatternArea(int,int,class std::unique_ptr >) sc/inc/columniterator.hxx:82 int sc::ColumnIterator::getType() const sc/inc/datamapper.hxx:79 @@ -938,8 +882,6 @@ sc/inc/datamapper.hxx:82 void sc::ExternalDataSource::setURL(const class rtl::OUString &) sc/inc/datamapper.hxx:83 void sc::ExternalDataSource::setProvider(const class rtl::OUString &) -sc/inc/document.hxx:1794 - void ScDocument::SetPattern(const class ScAddress &,class std::unique_ptr >) sc/inc/dpfilteredcache.hxx:143 void ScDPFilteredCache::dump() const sc/inc/formulacell.hxx:489 @@ -958,20 +900,14 @@ sc/inc/stlalgorithm.hxx:61 _Bool sc::AlignedAllocator::operator==(const AlignedAllocator &) const sc/inc/stlalgorithm.hxx:62 _Bool sc::AlignedAllocator::operator!=(const AlignedAllocator &) const -sc/inc/table.hxx:318 +sc/inc/table.hxx:319 _Bool ScTable::IsColRowTabValid(const short,const int,const short) const -sc/inc/table.hxx:710 - void ScTable::SetPattern(const class ScAddress &,class std::unique_ptr >) -sc/inc/table.hxx:1036 - void ScTable::CollectListeners(class std::__debug::vector > &,const short,int,const short,int) -sc/inc/table.hxx:1038 - void ScTable::TransferListeners(class ScTable &,short,int,short,int,short,int) -sc/inc/tokenarray.hxx:172 - struct sc::RefUpdateResult ScTokenArray::MoveReference(const class ScAddress &,const struct sc::RefUpdateContext &) sc/inc/userlist.hxx:86 class __gnu_debug::_Safe_iterator > *, class std::__cxx1998::vector >, class std::allocator > > > >, class std::__debug::vector >, class std::allocator > > > > 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/screenshots/screenshots.cxx:326 + int main() sc/qa/unit/ucalc.hxx:143 void Test::testFormulaHashAndTag() sc/qa/unit/ucalc.hxx:181 @@ -1032,12 +968,14 @@ sc/source/filter/inc/xlformula.hxx:409 _Bool XclTokenArray::operator==(const class XclTokenArray &) const sc/source/filter/xml/xmltransformationi.hxx:160 ScXMLDateTimeContext::ScXMLDateTimeContext(class ScXMLImport &,const class rtl::Reference &) -sc/source/ui/inc/ChildWindowWrapper.hxx:25 - ChildWindowWrapper::ChildWindowWrapper(class vcl::Window *,unsigned short,class SfxBindings *,const struct SfxChildWinInfo *) -sc/source/ui/inc/ChildWindowWrapper.hxx:50 - void ChildWindowWrapper::RegisterChildWindow(_Bool,class SfxModule *,enum SfxChildWindowFlags) -sc/source/ui/inc/ChildWindowWrapper.hxx:68 - unsigned short ChildWindowWrapper::GetChildWindowId() +sc/source/ui/dataprovider/htmldataprovider.hxx:37 + class std::__debug::map, class std::allocator > > sc::HTMLDataProvider::getDataSourcesForURL(const class rtl::OUString &) +sc/source/ui/inc/condformatdlg.hxx:55 + class weld::ScrolledWindow * ScCondFormatList::GetWidget() +sc/source/ui/inc/condformatdlgentry.hxx:84 + int ScCondFrmtEntry::get_grid_top_attach() const +sc/source/ui/inc/condformatdlgentry.hxx:86 + class Size ScCondFrmtEntry::get_preferred_size() const sc/source/ui/inc/dataprovider.hxx:56 _Bool sc::CSVFetchThread::IsRequestedTerminate() sc/source/ui/inc/dataprovider.hxx:57 @@ -1046,21 +984,13 @@ sc/source/ui/inc/dataprovider.hxx:58 void sc::CSVFetchThread::EndThread() sc/source/ui/inc/dataprovider.hxx:83 const class rtl::OUString & sc::DataProvider::GetURL() const -sc/source/ui/inc/dataprovider.hxx:85 - class std::__debug::map, class std::allocator > > sc::DataProvider::getDataSourcesForURL(const class rtl::OUString &) sc/source/ui/inc/datatableview.hxx:115 void ScDataTableView::getRowRange(int &,int &) const sc/source/ui/inc/impex.hxx:93 ScImportExport::ScImportExport(class ScDocument *,const class rtl::OUString &) -sc/source/ui/inc/namemgrtable.hxx:73 - _Bool ScRangeManagerTable::HasSelection() -sc/source/ui/inc/PivotLayoutTreeListBase.hxx:68 - _Bool ScPivotLayoutTreeListBase::HasEntry(const class weld::TreeIter &) sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:67 void ScRandomNumberGeneratorDialog::GenerateNumbers(type-parameter-?-? &,const char *,const class boost::optional) -sc/source/ui/inc/reffact.hxx:174 - void ScSimpleRefDlgWrapper::SetDefaultPosSize(class Point,class Size) -sc/source/ui/inc/TableFillingAndNavigationTools.hxx:120 +sc/source/ui/inc/TableFillingAndNavigationTools.hxx:121 unsigned long DataRangeIterator::size() sc/source/ui/inc/viewdata.hxx:406 long ScViewData::GetLOKDocWidthPixel() const @@ -1068,7 +998,7 @@ sc/source/ui/inc/viewdata.hxx:407 long ScViewData::GetLOKDocHeightPixel() const sc/source/ui/inc/viewdata.hxx:540 _Bool ScViewData::IsGridMode() const -scaddins/source/analysis/analysishelper.hxx:811 +scaddins/source/analysis/analysishelper.hxx:802 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const sccomp/source/solver/DifferentialEvolution.hxx:67 int DifferentialEvolutionAlgorithm::getLastChange() @@ -1078,6 +1008,14 @@ sd/inc/sddll.hxx:48 SdDLL::SdDLL() sd/source/filter/ppt/pptinanimations.hxx:108 void ppt::AnimationImporter::dump(const char *,long) +sd/source/ui/inc/AccessiblePageShape.hxx:115 + class rtl::OUString accessibility::AccessiblePageShape::CreateAccessibleDescription() +sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx:56 + class rtl::OUString accessibility::AccessiblePresentationGraphicShape::CreateAccessibleDescription() +sd/source/ui/inc/AccessiblePresentationOLEShape.hxx:53 + class rtl::OUString accessibility::AccessiblePresentationOLEShape::CreateAccessibleDescription() +sd/source/ui/inc/AccessiblePresentationShape.hxx:53 + class rtl::OUString accessibility::AccessiblePresentationShape::CreateAccessibleDescription() sd/source/ui/inc/filedlg.hxx:54 _Bool SdOpenSoundFileDialog::IsInsertAsLinkSelected() sd/source/ui/inc/optsitem.hxx:178 @@ -1086,6 +1024,18 @@ 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 +sfx2/inc/autoredactdialog.hxx:71 + void TargetsTable::SelectByName(const class rtl::OUString &) +sfx2/inc/autoredactdialog.hxx:75 + void TargetsTable::unselect_all() +sfx2/inc/autoredactdialog.hxx:76 + _Bool TargetsTable::has_focus() const +sfx2/inc/autoredactdialog.hxx:77 + int TargetsTable::n_children() const +sfx2/inc/autoredactdialog.hxx:80 + void TargetsTable::clear() +sfx2/inc/SfxRedactionHelper.hxx:107 + void SfxRedactionHelper::autoRedactPage(const class rtl::OUString &,const class GDIMetaFile &,class com::sun::star::uno::Reference &,class com::sun::star::uno::Reference &) sfx2/source/appl/shutdownicon.hxx:83 class rtl::OUString ShutdownIcon::getShortcutName() sfx2/source/appl/shutdownicon.hxx:99 @@ -1100,8 +1050,6 @@ sfx2/source/appl/shutdownicon.hxx:116 class rtl::OUString ShutdownIcon::GetUrlDescription(const class rtl::OUString &) sfx2/source/appl/shutdownicon.hxx:118 void ShutdownIcon::SetVeto(_Bool) -sfx2/source/control/thumbnailviewacc.hxx:171 - void SfxThumbnailViewAcc::FireAccessibleEvent(short,const class com::sun::star::uno::Any &,const class com::sun::star::uno::Any &) shell/inc/xml_parser.hxx:48 xml_parser::xml_parser() shell/inc/xml_parser.hxx:71 @@ -1208,19 +1156,19 @@ sw/inc/dbgoutsw.hxx:106 const char * dbg_out(const struct SwFormToken &) sw/inc/dbgoutsw.hxx:107 const char * dbg_out(const class std::__debug::vector > &) -sw/inc/docary.hxx:146 +sw/inc/docary.hxx:147 void SwVectorModifyBase::dumpAsXml(struct _xmlTextWriter *) -sw/inc/docary.hxx:231 +sw/inc/docary.hxx:232 void SwFrameFormats::erase(unsigned long) -sw/inc/docary.hxx:246 +sw/inc/docary.hxx:247 struct std::pair > > >, class boost::multi_index::detail::bidir_node_iterator > > > > SwFrameFormats::rangeFind(class SwFrameFormat *const &) const -sw/inc/docary.hxx:248 - class boost::multi_index::detail::bidir_node_iterator > > > SwFrameFormats::rangeEnd() const sw/inc/docary.hxx:249 + class boost::multi_index::detail::bidir_node_iterator > > > SwFrameFormats::rangeEnd() const +sw/inc/docary.hxx:250 class boost::multi_index::detail::rnd_node_iterator > > > > SwFrameFormats::rangeProject(const class boost::multi_index::detail::bidir_node_iterator > > > &) -sw/inc/docary.hxx:254 - class SwFrameFormat *const & SwFrameFormats::front() const sw/inc/docary.hxx:255 + class SwFrameFormat *const & SwFrameFormats::front() const +sw/inc/docary.hxx:256 class SwFrameFormat *const & SwFrameFormats::back() const sw/inc/editsh.hxx:375 void SwEditShell::ValidateCurrentParagraphSignatures(_Bool) @@ -1234,10 +1182,8 @@ sw/inc/IDocumentLinksAdministration.hxx:53 _Bool IDocumentLinksAdministration::GetData(const class rtl::OUString &,const class rtl::OUString &,class com::sun::star::uno::Any &) const sw/inc/IDocumentLinksAdministration.hxx:55 _Bool IDocumentLinksAdministration::SetData(const class rtl::OUString &,const class rtl::OUString &,const class com::sun::star::uno::Any &) -sw/inc/IMark.hxx:63 - _Bool sw::mark::IMark::operator<(const class sw::mark::IMark &) const -sw/inc/IMark.hxx:65 - _Bool sw::mark::IMark::operator==(const class sw::mark::IMark &) const +sw/inc/IDocumentMarkAccess.hxx:231 + class __gnu_debug::_Safe_iterator > >, class std::__debug::vector > > IDocumentMarkAccess::findFirstMarkStartsBefore(const struct SwPosition &) const sw/inc/node.hxx:231 const class IDocumentStylePoolAccess & SwNode::getIDocumentStylePoolAccess() const sw/inc/node.hxx:235 @@ -1256,6 +1202,8 @@ sw/inc/rdfhelper.hxx:97 void SwRDFHelper::updateTextNodeStatement(const class rtl::OUString &,const class rtl::OUString &,class SwTextNode &,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) sw/inc/ring.hxx:203 sw::RingIterator::RingIterator() +sw/inc/shellio.hxx:331 + const class ErrCode & SwTextBlocks::CopyBlock(const class SwTextBlocks &,class rtl::OUString &,const class rtl::OUString &) sw/inc/swatrset.hxx:226 const class SvxNoHyphenItem & SwAttrSet::GetNoHyphenHere(_Bool) const sw/inc/swcrsr.hxx:219 @@ -1286,8 +1234,6 @@ sw/inc/viscrs.hxx:205 const class SwShellTableCursor * SwShellTableCursor::GetPrev() const sw/qa/extras/inc/swmodeltestbase.hxx:629 class com::sun::star::uno::Reference SwModelTestBase::getParagraphAnchoredObject(const int,const class com::sun::star::uno::Reference &) const -sw/qa/extras/layout/layout.cxx:2974 - int main() sw/source/core/access/accportions.cxx:73 unsigned long FindBreak(const vector > &,type-parameter-?-?) sw/source/core/access/accportions.cxx:77 @@ -1302,7 +1248,7 @@ sw/source/core/inc/frame.hxx:1377 long SwRectFnSet::RightDist(const class SwRect &,long) const sw/source/core/inc/mvsave.hxx:170 _Bool ZSortFly::operator==(const class ZSortFly &) const -sw/source/core/text/porlin.hxx:120 +sw/source/core/text/porlin.hxx:117 _Bool SwLinePortion::IsTabRightPortion() const sw/source/core/text/txtpaint.hxx:66 DbgBackColor::DbgBackColor(class OutputDevice *,const _Bool) @@ -1312,7 +1258,7 @@ sw/source/filter/ww8/ww8struc.hxx:244 WW8_BRCVer6::WW8_BRCVer6() sw/source/ui/dbui/createaddresslistdialog.hxx:100 void SwFindEntryDialog::hide() -sw/source/uibase/inc/bookmark.hxx:49 +sw/source/uibase/inc/bookmark.hxx:45 int BookmarkTable::n_children() const sw/source/uibase/inc/condedit.hxx:54 _Bool ConditionEdit::get_sensitive() const @@ -1358,6 +1304,8 @@ ucb/source/ucp/ftp/ftpurl.hxx:112 class rtl::OUString ftp::FTPURL::child() const ucb/source/ucp/webdav-neon/NeonUri.hxx:64 _Bool webdav_ucp::NeonUri::operator!=(const class webdav_ucp::NeonUri &) const +vcl/inc/bitmap/ScanlineTools.hxx:23 + void vcl::bitmap::ScanlineTransformer::skipPixel(unsigned int) vcl/inc/bitmapwriteaccess.hxx:75 void BitmapWriteAccess::SetFillColor() vcl/inc/fontinstance.hxx:67 @@ -1368,8 +1316,6 @@ vcl/inc/fontinstance.hxx:90 void LogicalFontInstance::ReleaseHbFont() vcl/inc/fontselect.hxx:49 _Bool FontSelectPattern::operator!=(const class FontSelectPattern &) const -vcl/inc/headless/svpgdi.hxx:247 - void SvpSalGraphics::drawBitmap(const struct SalTwoRect &,const struct BitmapBuffer *,enum _cairo_operator) vcl/inc/impgraph.hxx:58 _Bool GraphicID::operator==(const class GraphicID &) const vcl/inc/opengl/BufferObject.hxx:50 @@ -1402,8 +1348,34 @@ vcl/inc/PhysicalFontFace.hxx:69 void PhysicalFontFace::SetBitmapSize(int,int) vcl/inc/PhysicalFontFamily.hxx:60 const class rtl::OUString & PhysicalFontFamily::GetAliasNames() const -vcl/inc/printdlg.hxx:272 - void vcl::PrintProgressDialog::reset() +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 + void Qt5DragSource::deinitialize() +vcl/inc/qt5/Qt5DragAndDrop.hxx:91 + void Qt5DropTarget::deinitialize() +vcl/inc/qt5/Qt5FilePicker.hxx:142 + void Qt5FilePicker::disposing(const struct com::sun::star::lang::EventObject &) +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:111 + void Qt5Frame::TriggerPaintEvent() +vcl/inc/qt5/Qt5Frame.hxx:112 + void Qt5Frame::TriggerPaintEvent(class QRect) +vcl/inc/qt5/Qt5Frame.hxx:143 + void Qt5Frame::deregisterDragSource(const class Qt5DragSource *) +vcl/inc/qt5/Qt5Frame.hxx:145 + void Qt5Frame::deregisterDropTarget(const class Qt5DropTarget *) +vcl/inc/qt5/Qt5Frame.hxx:198 + struct _cairo * Qt5Frame::getCairoContext() const +vcl/inc/qt5/Qt5Painter.hxx:56 + void Qt5Painter::update() vcl/inc/regionband.hxx:27 const char * ImplDbgTestRegionBand(const void *) vcl/inc/salgdi.hxx:216 diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index ee9ed83fbe32..dbb7efb32a63 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -82,27 +82,27 @@ include/oox/crypto/AgileEngine.hxx:137 _Bool oox::core::AgileEngine::encryptHmacValue() include/oox/crypto/CryptTools.hxx:113 _Bool oox::core::CryptoHash::update(class std::__debug::vector > &,unsigned int) -include/oox/dump/dumperbase.hxx:642 +include/oox/dump/dumperbase.hxx:640 long oox::dump::FlagsList::getIgnoreFlags() const -include/oox/dump/dumperbase.hxx:1412 +include/oox/dump/dumperbase.hxx:1410 type-parameter-?-? oox::dump::InputObjectBase::dumpName(const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1418 +include/oox/dump/dumperbase.hxx:1416 type-parameter-?-? oox::dump::InputObjectBase::dumpBin(const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1420 +include/oox/dump/dumperbase.hxx:1418 type-parameter-?-? oox::dump::InputObjectBase::dumpFix(const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1424 +include/oox/dump/dumperbase.hxx:1422 type-parameter-?-? oox::dump::InputObjectBase::dumpValue(const struct oox::dump::ItemFormat &) -include/oox/dump/dumperbase.hxx:1427 +include/oox/dump/dumperbase.hxx:1425 type-parameter-?-? oox::dump::InputObjectBase::dumpName(_Bool,const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1429 +include/oox/dump/dumperbase.hxx:1427 type-parameter-?-? oox::dump::InputObjectBase::dumpDec(_Bool,const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1433 +include/oox/dump/dumperbase.hxx:1431 type-parameter-?-? oox::dump::InputObjectBase::dumpBin(_Bool,const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1435 +include/oox/dump/dumperbase.hxx:1433 type-parameter-?-? oox::dump::InputObjectBase::dumpFix(_Bool,const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1437 +include/oox/dump/dumperbase.hxx:1435 type-parameter-?-? oox::dump::InputObjectBase::dumpBool(_Bool,const class oox::dump::String &,const class oox::dump::NameListWrapper &) -include/oox/dump/dumperbase.hxx:1439 +include/oox/dump/dumperbase.hxx:1437 type-parameter-?-? oox::dump::InputObjectBase::dumpValue(_Bool,const struct oox::dump::ItemFormat &) include/oox/dump/oledumper.hxx:311 _Bool oox::dump::AxPropertyObjectBase::dumpBoolProperty() @@ -130,6 +130,8 @@ include/oox/dump/oledumper.hxx:326 unsigned int oox::dump::AxPropertyObjectBase::dumpColorProperty(unsigned int) include/oox/dump/oledumper.hxx:327 char16_t oox::dump::AxPropertyObjectBase::dumpUnicodeProperty() +include/oox/export/shapes.hxx:134 + class oox::drawingml::ShapeExport & oox::drawingml::ShapeExport::WriteNonVisualDrawingProperties(const class com::sun::star::uno::Reference &,const char *) include/oox/export/shapes.hxx:182 class oox::drawingml::ShapeExport & oox::drawingml::ShapeExport::WriteTextBox(const class com::sun::star::uno::Reference &,int) include/oox/helper/binaryoutputstream.hxx:78 @@ -154,19 +156,21 @@ include/sfx2/linkmgr.hxx:63 _Bool sfx2::LinkManager::InsertLink(class sfx2::SvBaseLink *,unsigned short,enum SfxLinkUpdateMode,const class rtl::OUString *) include/sfx2/lnkbase.hxx:104 class sfx2::SvLinkSource * sfx2::SvBaseLink::GetRealObject() -include/svl/macitem.hxx:92 +include/svl/listener.hxx:55 + _Bool SvtListener::EndListening(class SvtBroadcaster &) +include/svl/macitem.hxx:90 class SvStream & SvxMacroTableDtor::Write(class SvStream &) const -include/svx/autoformathelper.hxx:208 +include/svx/autoformathelper.hxx:212 _Bool AutoFormatBase::LoadBlockA(class SvStream &,const struct AutoFormatVersions &,unsigned short) -include/svx/autoformathelper.hxx:209 +include/svx/autoformathelper.hxx:213 _Bool AutoFormatBase::LoadBlockB(class SvStream &,const struct AutoFormatVersions &,unsigned short) -include/svx/autoformathelper.hxx:211 +include/svx/autoformathelper.hxx:215 _Bool AutoFormatBase::SaveBlockA(class SvStream &,unsigned short) const -include/svx/autoformathelper.hxx:212 +include/svx/autoformathelper.hxx:216 _Bool AutoFormatBase::SaveBlockB(class SvStream &,unsigned short) const include/svx/dlgctrl.hxx:102 class Point SvxRectCtl::SetActualRPWithoutInvalidate(enum RectPoint) -include/svx/framelink.hxx:195 +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) @@ -194,7 +198,7 @@ include/tools/config.hxx:38 _Bool Config::ImplUpdateConfig() const include/tools/multisel.hxx:93 _Bool StringRangeEnumerator::insertRange(int,int,_Bool) -include/vcl/bitmap.hxx:171 +include/vcl/bitmap.hxx:169 _Bool Bitmap::Dither() include/vcl/bitmapex.hxx:241 _Bool BitmapEx::Rotate(long,const class Color &) @@ -212,15 +216,13 @@ include/vcl/menu.hxx:388 _Bool Menu::HandleMenuActivateEvent(class Menu *) const include/vcl/menu.hxx:389 _Bool Menu::HandleMenuDeActivateEvent(class Menu *) const -include/vcl/texteng.hxx:275 +include/vcl/texteng.hxx:276 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) -include/vcl/toolbox.hxx:510 +include/vcl/toolbox.hxx:516 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:402 - _Bool weld::Dialog::runAsync(const class std::function &) -include/vcl/weld.hxx:717 +include/vcl/weld.hxx:747 _Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const -include/vcl/weld.hxx:1528 +include/vcl/weld.hxx:1576 _Bool weld::TextView::get_selection_bounds(int &,int &) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) @@ -228,9 +230,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:1416 - _Bool ScDocument::GetDataAreaSubrange(class ScRange &) const -sc/inc/document.hxx:2140 +sc/inc/document.hxx:2145 const struct ScDocumentThreadSpecific & ScDocument::CalculateInColumnInThread(struct ScInterpreterContext &,const class ScAddress &,unsigned long,unsigned int,unsigned int) sc/inc/orcusfilters.hxx:44 _Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const @@ -242,6 +242,10 @@ sc/source/filter/inc/workbookhelper.hxx:259 _Bool oox::xls::WorkbookHelper::importOoxFragment(const class rtl::Reference &,class oox::core::FastParser &) sc/source/filter/xml/XMLStylesExportHelper.hxx:178 _Bool ScFormatRangeStyles::AddStyleName(const class rtl::OUString &,int &,const _Bool) +sc/source/ui/inc/anyrefdg.hxx:98 + _Bool ScRefHandler::DoClose(unsigned short) +sc/source/ui/inc/docfunc.hxx:111 + _Bool ScDocFunc::SetFormulaCells(const class ScAddress &,class std::__debug::vector > &,_Bool) sc/source/ui/inc/drawview.hxx:161 _Bool ScDrawView::calculateGridOffsetForSdrObject(class SdrObject &,class basegfx::B2DVector &) const sc/source/ui/inc/drawview.hxx:164 @@ -308,11 +312,11 @@ sw/inc/IDocumentUndoRedo.hxx:181 _Bool IDocumentUndoRedo::Repeat(class sw::RepeatContext &,const unsigned short) sw/inc/swcrsr.hxx:159 _Bool SwCursor::ExpandToSentenceBorders(const class SwRootFrame *) -sw/inc/tblafmt.hxx:285 +sw/inc/tblafmt.hxx:289 _Bool SwTableAutoFormatTable::Load(class SvStream &) sw/source/core/inc/laycache.hxx:64 _Bool SwLayoutCache::CompareLayout(const class SwDoc &) const -sw/source/core/inc/scriptinfo.hxx:227 +sw/source/core/inc/scriptinfo.hxx:226 _Bool SwScriptInfo::GetBoundsOfHiddenRange(struct o3tl::strong_int,struct o3tl::strong_int &,struct o3tl::strong_int &) const sw/source/filter/ww8/ww8toolbar.hxx:339 _Bool Tcg::ImportCustomToolBar(class SfxObjectShell &) @@ -346,8 +350,6 @@ vcl/inc/unx/gtk/gtkdata.hxx:165 int GtkSalDisplay::CaptureMouse(class SalFrame *) vcl/inc/unx/saldisp.hxx:313 _Bool SalDisplay::Dispatch(union _XEvent *) -vcl/inc/widgetdraw/WidgetDefinitionReader.hxx:38 - _Bool vcl::WidgetDefinitionReader::read(class vcl::WidgetDefinition &) vcl/inc/WidgetDrawInterface.hxx:97 _Bool vcl::WidgetDrawInterface::updateSettings(class AllSettings &) vcl/source/gdi/pdfwriter_impl.hxx:1228 diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 7e6c463836c9..124f43122a99 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -939,39 +939,6 @@ void OutlinerView::ToggleBulletsNumbering( } -void OutlinerView::EnableBullets() -{ - pOwner->UndoActionStart( OLUNDO_DEPTH ); - - ESelection aSel( pEditView->GetSelection() ); - aSel.Adjust(); - - const bool bUpdate = pOwner->pEditEngine->GetUpdateMode(); - pOwner->pEditEngine->SetUpdateMode( false ); - - for ( sal_Int32 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) - { - Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); - DBG_ASSERT(pPara, "OutlinerView::EnableBullets(), illegal selection?"); - - if( pPara && (pOwner->GetDepth(nPara) == -1) ) - { - pOwner->SetDepth( pPara, 0 ); - } - } - - sal_Int32 nParaCount = pOwner->pParaList->GetParagraphCount(); - pOwner->ImplCheckParagraphs( aSel.nStartPara, nParaCount ); - - sal_Int32 nEndPara = (nParaCount > 0) ? nParaCount-1 : nParaCount; - pOwner->pEditEngine->QuickMarkInvalid( ESelection( aSel.nStartPara, 0, nEndPara, 0 ) ); - - pOwner->pEditEngine->SetUpdateMode( bUpdate ); - - pOwner->UndoActionEnd(); -} - - void OutlinerView::ApplyBulletsNumbering( const bool bHandleBullets, const SvxNumRule* pNewNumRule, diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index e55b14643fd4..5e1d67b69d10 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -340,11 +340,6 @@ public: void SwitchOffBulletsNumbering( const bool bAtSelection = false ); - /** enables numbering for the selected paragraphs that are not enabled and ignore all selected - paragraphs that already have numbering enabled. - */ - void EnableBullets(); - bool IsCursorAtWrongSpelledWord(); bool IsWrongSpelledWordAtPos( const Point& rPosPixel, bool bMarkIfWrong = false ); void ExecuteSpellPopup( const Point& rPosPixel, Link const * pCallBack ); diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 88f4af7d9b74..7ef1d185f41c 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -86,8 +86,6 @@ protected: virtual void StateChanged( StateChangedType nStateChange ) override; public: - void FillInfo(SfxChildWinInfo&) const; - void Initialize (SfxChildWinInfo const * pInfo); virtual bool EventNotify( NotifyEvent& rNEvt ) override; SfxBindings& GetBindings() { return *pBindings; } diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index b6e815dfd591..6dbca6532469 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -379,7 +379,6 @@ private: bool IsLineValid( CustomPropertyLine* pLine ) const; void ValidateLine( CustomPropertyLine* pLine, bool bIsFromTypeBox ); void CreateNewLine(); - void FillLine(sal_uInt32 nLine); void StoreCustomProperties(); sal_uInt32 GetCurrentDataModelPosition() const { return -1 * m_nScrollPos / m_nLineHeight; } diff --git a/include/svx/AccessibleGraphicShape.hxx b/include/svx/AccessibleGraphicShape.hxx index 8b613ea7e0e4..1028e19efcfc 100644 --- a/include/svx/AccessibleGraphicShape.hxx +++ b/include/svx/AccessibleGraphicShape.hxx @@ -93,9 +93,6 @@ protected: virtual OUString CreateAccessibleBaseName () override; - /// Create a description string that contains the accessible description. - OUString CreateAccessibleDescription(); - private: AccessibleGraphicShape (const AccessibleGraphicShape&) = delete; diff --git a/include/svx/AccessibleOLEShape.hxx b/include/svx/AccessibleOLEShape.hxx index 3c4f71651582..07f68228439d 100644 --- a/include/svx/AccessibleOLEShape.hxx +++ b/include/svx/AccessibleOLEShape.hxx @@ -99,9 +99,6 @@ protected: virtual OUString CreateAccessibleBaseName () override; - /// Create a description string that contains the accessible description. - OUString CreateAccessibleDescription(); - private: AccessibleOLEShape (const AccessibleOLEShape&) = delete; diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx index 600b5fc0c744..991cc8decb07 100644 --- a/include/svx/DescriptionGenerator.hxx +++ b/include/svx/DescriptionGenerator.hxx @@ -142,14 +142,6 @@ public: */ void AddFillProperties(); - /** Add properties that describes attributes of 3D objects. - */ - void Add3DProperties(); - - /** Add properties that describe text attributes. - */ - void AddTextProperties(); - private: /// Reference to the shape from which the properties are extracted. css::uno::Reference< css::drawing::XShape> mxShape; diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx index bc105f18ed89..4ff4defc36c0 100644 --- a/include/svx/dlgctl3d.hxx +++ b/include/svx/dlgctl3d.hxx @@ -266,7 +266,6 @@ public: Svx3DLightControl& GetSvx3DLightControl() { return *maLightControl; } // register user callback - void SetUserInteractiveChangeCallback(Link aNew) { maUserInteractiveChangeCallback = aNew; } void SetUserSelectionChangeCallback(Link aNew) { maUserSelectionChangeCallback = aNew; } virtual void KeyInput( const KeyEvent& rKEvt ) override; diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 90cc67fbfad8..938fd0afef22 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -41,8 +41,6 @@ private: SVX_DLLPRIVATE void ResetSettings(bool bForeground, bool bBackground); SVX_DLLPRIVATE void ApplySettings(vcl::RenderContext& rRenderContext) override; SVX_DLLPRIVATE void Init (); - SVX_DLLPRIVATE static void SetFontSize(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); - SVX_DLLPRIVATE static void SetFontLang(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); public: SvxFontPrevWindow(vcl::Window* pParent, WinBits nStyle); @@ -68,16 +66,6 @@ public: void SetFontWidthScale( sal_uInt16 nScaleInPercent ); - void AutoCorrectFontColor(); - - void SetPreviewText( const OUString& rString ); - void SetFontNameAsPreviewText(); - - static void SetFont( const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont ); - static void SetFontStyle( const SfxItemSet& rSet, sal_uInt16 nSlotPosture, sal_uInt16 nSlotWeight, SvxFont& rFont ); // posture/weight - void SetFontWidthScale( const SfxItemSet& rSet ); - void SetFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc ); - virtual Size GetOptimalSize() const override; }; diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 63210359b2e0..9232ce898c49 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -88,7 +88,6 @@ protected: SVX_DLLPRIVATE virtual sal_Int32 ImplGetSelectedEntryPos() const = 0; SVX_DLLPRIVATE virtual void* ImplGetEntryData( sal_Int32 nPos ) const = 0; SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) = 0; - SVX_DLLPRIVATE virtual bool ImplIsEntryPosSelected( sal_Int32 nPos ) const = 0; SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const = 0; }; @@ -107,7 +106,6 @@ private: SVX_DLLPRIVATE virtual sal_Int32 ImplGetSelectedEntryPos() const override; SVX_DLLPRIVATE virtual void* ImplGetEntryData( sal_Int32 nPos ) const override; SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) override; - SVX_DLLPRIVATE virtual bool ImplIsEntryPosSelected( sal_Int32 nPos ) const override; SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const override; }; @@ -198,7 +196,6 @@ private: SVX_DLLPRIVATE virtual sal_Int32 ImplGetSelectedEntryPos() const override; SVX_DLLPRIVATE virtual void* ImplGetEntryData( sal_Int32 nPos ) const override; SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) override; - SVX_DLLPRIVATE virtual bool ImplIsEntryPosSelected( sal_Int32 nPos ) const override; SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const override; DECL_LINK( EditModifyHdl, Edit&, void ); diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index 4265b71deae9..a19376f108fc 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -459,8 +459,6 @@ public: virtual void DragFinished( sal_Int8 nDropAction ); virtual bool NotifyAcceptDrop( SvTreeListEntry* ); - void SetDragOptions( sal_Int8 nOptions ) { nDragOptions = nOptions; } - virtual SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource ); // Return value: TRISTATE_TRUE == Ok, TRISTATE_FALSE == Cancel, TRISTATE_INDET == Ok and Make visible moved entry diff --git a/sc/source/ui/dataprovider/htmldataprovider.cxx b/sc/source/ui/dataprovider/htmldataprovider.cxx index d82fc76700f5..516a0b308376 100644 --- a/sc/source/ui/dataprovider/htmldataprovider.cxx +++ b/sc/source/ui/dataprovider/htmldataprovider.cxx @@ -247,37 +247,6 @@ void HTMLDataProvider::Import() } } -std::map HTMLDataProvider::getDataSourcesForURL(const OUString& /*rURL*/) -{ - std::map aMap; - - OStringBuffer aBuffer(64000); - std::unique_ptr pStream = DataProvider::FetchStreamFromURL(mrDataSource.getURL(), aBuffer); - - if (aBuffer.isEmpty()) - return std::map(); - - htmlDocPtr pHtmlPtr = htmlParseDoc(reinterpret_cast(const_cast(aBuffer.getStr())), nullptr); - - xmlXPathContextPtr pXmlXpathCtx = xmlXPathNewContext(pHtmlPtr); - xmlXPathObjectPtr pXmlXpathObj = xmlXPathEvalExpression(BAD_CAST("//table"), pXmlXpathCtx); - xmlNodeSetPtr pXmlNodes = pXmlXpathObj->nodesetval; - - for (int i = 0; i < pXmlNodes->nodeNr; ++i) - { - xmlChar* pVal = xmlGetProp(pXmlNodes->nodeTab[i], BAD_CAST("id")); - - if (pVal) - { - OUString aID = OStringToOUString(toString(pVal), RTL_TEXTENCODING_UTF8); - aMap.insert(std::pair(aID, "//table[@id=\""+ aID + "\"")); - xmlFree(pVal); - } - } - - return aMap; -} - void HTMLDataProvider::ImportFinished() { mrDataSource.getDBManager()->WriteToDoc(*mpDoc); diff --git a/sc/source/ui/dataprovider/htmldataprovider.hxx b/sc/source/ui/dataprovider/htmldataprovider.hxx index 0eb27f4b8891..b3ac0c488c4e 100644 --- a/sc/source/ui/dataprovider/htmldataprovider.hxx +++ b/sc/source/ui/dataprovider/htmldataprovider.hxx @@ -34,8 +34,6 @@ public: virtual const OUString& GetURL() const override; - std::map getDataSourcesForURL(const OUString& rURL); - void ImportFinished(); }; diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx index 65df32db40bf..05e07f4da18e 100644 --- a/sd/source/ui/accessibility/AccessiblePageShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx @@ -271,12 +271,6 @@ OUString return CreateAccessibleBaseName()+": "+sCurrentSlideName; } -OUString - AccessiblePageShape::CreateAccessibleDescription() -{ - return OUString ("Page Shape"); -} - } // end of namespace accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx index 50ea974d143d..6d1a9bc2392f 100644 --- a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx @@ -74,30 +74,6 @@ OUString return sName; } -OUString - AccessiblePresentationGraphicShape::CreateAccessibleDescription() -{ - // return createAccessibleName (); - DescriptionGenerator aDG (mxShape); - ShapeTypeId nShapeType = ShapeTypeHandler::Instance().GetTypeId (mxShape); - switch (nShapeType) - { - case PRESENTATION_GRAPHIC_OBJECT: - aDG.Initialize ("PresentationGraphicShape"); - break; - default: - aDG.Initialize ("Unknown accessible presentation graphic shape"); - uno::Reference xDescriptor (mxShape, uno::UNO_QUERY); - if (xDescriptor.is()) - { - aDG.AppendString ("service name="); - aDG.AppendString (xDescriptor->getShapeType()); - } - } - - return aDG(); -} - sal_Int16 SAL_CALL AccessiblePresentationGraphicShape::getAccessibleRole () { return AccessibleRole::GRAPHIC ; diff --git a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx index 2230bc791750..e06017c2ef5c 100644 --- a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx @@ -80,42 +80,6 @@ OUString return sName; } -OUString - AccessiblePresentationOLEShape::CreateAccessibleDescription() -{ - // return createAccessibleName(); - DescriptionGenerator aDG (mxShape); - ShapeTypeId nShapeType = ShapeTypeHandler::Instance().GetTypeId (mxShape); - switch (nShapeType) - { - case PRESENTATION_OLE: - aDG.Initialize ("PresentationOLEShape"); - //SvxResId(RID_SVXSTR_A11Y_ST_RECTANGLE)); - aDG.AddProperty ("CLSID" ,DescriptionGenerator::PropertyType::String); - break; - case PRESENTATION_CHART: - aDG.Initialize ("PresentationChartShape"); - //SvxResId(RID_SVXSTR_A11Y_ST_RECTANGLE)); - aDG.AddProperty ( "CLSID" , DescriptionGenerator::PropertyType::String); - break; - case PRESENTATION_TABLE: - aDG.Initialize ("PresentationTableShape"); - //SvxResId(RID_SVXSTR_A11Y_ST_RECTANGLE)); - aDG.AddProperty ("CLSID" , DescriptionGenerator::PropertyType::String); - break; - default: - aDG.Initialize ("Unknown accessible presentation OLE shape"); - uno::Reference xDescriptor (mxShape, uno::UNO_QUERY); - if (xDescriptor.is()) - { - aDG.AppendString ("service name="); - aDG.AppendString (xDescriptor->getShapeType()); - } - } - - return aDG(); -} - // Return this object's role. sal_Int16 SAL_CALL AccessiblePresentationOLEShape::getAccessibleRole () { diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx index d87a5986807b..7b61354af74d 100644 --- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx @@ -102,57 +102,6 @@ OUString AccessiblePresentationShape::CreateAccessibleBaseName() return sName; } -OUString - AccessiblePresentationShape::CreateAccessibleDescription() -{ - // return createAccessibleName (); - DescriptionGenerator aDG (mxShape); - ShapeTypeId nShapeType = ShapeTypeHandler::Instance().GetTypeId (mxShape); - switch (nShapeType) - { - case PRESENTATION_TITLE: - aDG.Initialize (SdResId(SID_SD_A11Y_P_TITLE_D)); - break; - case PRESENTATION_OUTLINER: - aDG.Initialize (SdResId(SID_SD_A11Y_P_OUTLINER_D)); - break; - case PRESENTATION_SUBTITLE: - aDG.Initialize (SdResId(SID_SD_A11Y_P_SUBTITLE_D)); - break; - case PRESENTATION_PAGE: - aDG.Initialize (SdResId(SID_SD_A11Y_P_PAGE_D)); - break; - case PRESENTATION_NOTES: - aDG.Initialize (SdResId(SID_SD_A11Y_P_NOTES_D)); - break; - case PRESENTATION_HANDOUT: - aDG.Initialize (SdResId(SID_SD_A11Y_P_HANDOUT_D)); - break; - case PRESENTATION_HEADER: - aDG.Initialize (SdResId(SID_SD_A11Y_P_HEADER_D)); - break; - case PRESENTATION_FOOTER: - aDG.Initialize (SdResId(SID_SD_A11Y_P_FOOTER_D)); - break; - case PRESENTATION_DATETIME: - aDG.Initialize (SdResId(SID_SD_A11Y_P_DATE_D)); - break; - case PRESENTATION_PAGENUMBER: - aDG.Initialize (SdResId(SID_SD_A11Y_P_NUMBER_D)); - break; - default: - aDG.Initialize (SdResId(SID_SD_A11Y_P_UNKNOWN_D)); - uno::Reference xDescriptor (mxShape, uno::UNO_QUERY); - if (xDescriptor.is()) - { - aDG.AppendString ("service name="); - aDG.AppendString (xDescriptor->getShapeType()); - } - } - - return aDG(); -} - OUString AccessiblePresentationShape::GetStyle() { OUString sName; diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx index 1c9bda097225..262eec7f524a 100644 --- a/sd/source/ui/inc/AccessiblePageShape.hxx +++ b/sd/source/ui/inc/AccessiblePageShape.hxx @@ -111,9 +111,6 @@ protected: virtual OUString CreateAccessibleName() override; - /// Create a description string that contains the accessible description. - static OUString CreateAccessibleDescription(); - private: css::uno::Reference mxPage; diff --git a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx index 07fabcd6e409..a523a4055577 100644 --- a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx @@ -52,8 +52,6 @@ public: virtual OUString CreateAccessibleBaseName () override; - /// Create a description string that contains the accessible description. - OUString CreateAccessibleDescription(); /// Return this object's role. virtual sal_Int16 SAL_CALL getAccessibleRole () override; }; diff --git a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx index 46e69d16845c..f3ecf6f46919 100644 --- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx @@ -49,8 +49,6 @@ public: virtual OUString CreateAccessibleBaseName () override; - /// Create a description string that contains the accessible description. - OUString CreateAccessibleDescription(); /// Return this object's role. virtual sal_Int16 SAL_CALL getAccessibleRole () override; }; diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx index 96ce2f06fdfd..004faed98284 100644 --- a/sd/source/ui/inc/AccessiblePresentationShape.hxx +++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx @@ -49,8 +49,6 @@ public: virtual OUString CreateAccessibleBaseName () override; - /// Create a description string that contains the accessible description. - OUString CreateAccessibleDescription(); OUString GetStyle() override; private: diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx index 5dc2067dd23d..285ec29229bd 100644 --- a/sfx2/source/dialog/basedlgs.cxx +++ b/sfx2/source/dialog/basedlgs.cxx @@ -186,21 +186,6 @@ void SfxModelessDialog::StateChanged( StateChangedType nStateChange ) ModelessDialog::StateChanged( nStateChange ); } -void SfxModelessDialog::Initialize(SfxChildWinInfo const *pInfo) - -/* [Description] - - Initialization of the class SfxModelessDialog via a SfxChildWinInfo. - The initialization is done only in a 2nd step after the constructor, this - constructor should be called from the derived class or from the - SfxChildWindows. -*/ - -{ - if (pInfo) - pImpl->aWinState = pInfo->aWinState; -} - void SfxModelessDialog::Resize() /* [Description] @@ -350,23 +335,6 @@ bool SfxModelessDialog::Close() } -void SfxModelessDialog::FillInfo(SfxChildWinInfo& rInfo) const - -/* [Description] - - Fills a SfxChildWinInfo with specific data from SfxModelessDialog, - so that it can be written in the INI file. It is assumed that rinfo - receives all other possible relevant data in the ChildWindow class. - ModelessDialogs have no specific information, so that the base - implementation does nothing and therefore must not be called. -*/ - -{ - rInfo.aSize = aSize; - if ( IsRollUp() ) - rInfo.nFlags |= SfxChildWindowFlags::ZOOMIN; -} - void SfxModelessDialogController::Initialize(SfxChildWinInfo const *pInfo) /* [Description] diff --git a/svx/source/accessibility/AccessibleGraphicShape.cxx b/svx/source/accessibility/AccessibleGraphicShape.cxx index 7aec64ee0154..2b8034ca55a2 100644 --- a/svx/source/accessibility/AccessibleGraphicShape.cxx +++ b/svx/source/accessibility/AccessibleGraphicShape.cxx @@ -150,17 +150,6 @@ OUString return sName; } -OUString AccessibleGraphicShape::CreateAccessibleDescription() -{ - //Don't use the same information for accessible name and accessible description. - OUString sDesc; - if (m_pShape) - sDesc = m_pShape->GetTitle(); - if (!sDesc.isEmpty()) - return sDesc; - return CreateAccessibleBaseName(); -} - // Return this object's role. sal_Int16 SAL_CALL AccessibleGraphicShape::getAccessibleRole() { diff --git a/svx/source/accessibility/AccessibleOLEShape.cxx b/svx/source/accessibility/AccessibleOLEShape.cxx index 7c31aee85a78..b2e76fd70074 100644 --- a/svx/source/accessibility/AccessibleOLEShape.cxx +++ b/svx/source/accessibility/AccessibleOLEShape.cxx @@ -176,10 +176,4 @@ OUString return sName; } -OUString - AccessibleOLEShape::CreateAccessibleDescription() -{ - return CreateAccessibleName (); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index f21e3a5b2f8b..c889a79e31ad 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -201,22 +201,6 @@ void DescriptionGenerator::AddFillProperties() } -void DescriptionGenerator::Add3DProperties() -{ - AddProperty ("D3DMaterialColor", DescriptionGenerator::PropertyType::Color, - RID_SVXSTR_A11Y_3D_MATERIAL_COLOR); - AddLineProperties (); - AddFillProperties (); -} - - -void DescriptionGenerator::AddTextProperties() -{ - AddProperty ("CharColor", DescriptionGenerator::PropertyType::Color); - AddFillProperties (); -} - - /** Search for the given color in the global color table. If found append its name to the description. Otherwise append its RGB tuple. */ diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index 3a187016fb39..5091c905063f 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -72,7 +72,6 @@ //TODO: remove this and calculate off the actual size of text, not //an arbitrary number of characters #define TEXT_WIDTH 80 -#define ISITEMSET rSet.GetItemState(nWhich)>=SfxItemState::DEFAULT using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -580,17 +579,6 @@ const SvxFont& SvxFontPrevWindow::GetFont() const return pImpl->maFont; } -void SvxFontPrevWindow::SetPreviewText( const OUString& rString ) -{ - pImpl->maText = rString; - pImpl->mbTextInited = true; -} - -void SvxFontPrevWindow::SetFontNameAsPreviewText() -{ - pImpl->mbUseFontNameAsText = true; -} - void SvxFontPrevWindow::SetFont( const SvxFont& rNormalOutFont, const SvxFont& rCJKOutFont, const SvxFont& rCTLFont ) { setFont(rNormalOutFont, pImpl->maFont); @@ -827,20 +815,6 @@ void SvxFontPrevWindow::SetFontWidthScale( sal_uInt16 n ) Invalidate(); } -void SvxFontPrevWindow::AutoCorrectFontColor() -{ - Color aFontColor( GetTextColor() ); - - if (COL_AUTO == pImpl->maFont.GetColor()) - pImpl->maFont.SetColor(aFontColor); - - if (COL_AUTO == pImpl->maCJKFont.GetColor()) - pImpl->maCJKFont.SetColor(aFontColor); - - if (COL_AUTO == pImpl->maCTLFont.GetColor()) - pImpl->maCTLFont.SetColor(aFontColor); -} - static bool GetWhich (const SfxItemSet& rSet, sal_uInt16 nSlot, sal_uInt16& rWhich) { rWhich = rSet.GetPool()->GetWhich(nSlot); @@ -877,33 +851,6 @@ static void SetPrevFontStyle( const SfxItemSet& rSet, sal_uInt16 nPosture, sal_u } } -void SvxFontPrevWindow::SetFontSize( const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont ) -{ - sal_uInt16 nWhich; - long nH; - if (GetWhich(rSet, nSlot, nWhich)) - { - nH = LogicToLogic(static_cast(rSet.Get(nWhich)).GetHeight(), - rSet.GetPool()->GetMetric(nWhich), - MapUnit::MapTwip); - } - else - nH = 240;// as default 12pt - - rFont.SetFontSize(Size(0, nH)); -} - -void SvxFontPrevWindow::SetFontLang(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont) -{ - sal_uInt16 nWhich; - LanguageType nLang; - if( GetWhich( rSet, nSlot, nWhich ) ) - nLang = static_cast(rSet.Get(nWhich)).GetLanguage(); - else - nLang = LANGUAGE_NONE; - rFont.SetLanguage(nLang); -} - static void SetPrevFontEscapement(SvxFont& rFont, sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc) { rFont.SetPropr(nProp); @@ -911,66 +858,6 @@ static void SetPrevFontEscapement(SvxFont& rFont, sal_uInt8 nProp, sal_uInt8 nEs rFont.SetEscapement(nEsc); } -void SvxFontPrevWindow::SetFont( const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont ) -{ - sal_uInt16 nWhich = rSet.GetPool()->GetWhich( nSlot ); - if( ISITEMSET ) - { - const SvxFontItem& rFontItem = static_cast( rSet.Get(nWhich) ); - rFont.SetFamily( rFontItem.GetFamily() ); - rFont.SetFamilyName( rFontItem.GetFamilyName() ); - rFont.SetPitch( rFontItem.GetPitch() ); - rFont.SetCharSet( rFontItem.GetCharSet() ); - rFont.SetStyleName( rFontItem.GetStyleName() ); - } -} - -void SvxFontPrevWindow::SetFontStyle( const SfxItemSet& rSet, sal_uInt16 nPosture, sal_uInt16 nWeight, SvxFont& rFont ) -{ - sal_uInt16 nWhich = rSet.GetPool()->GetWhich( nPosture ); - if( ISITEMSET ) - { - const SvxPostureItem& rItem = static_cast( rSet.Get( nWhich ) ); - rFont.SetItalic( rItem.GetValue() != ITALIC_NONE ? ITALIC_NORMAL : ITALIC_NONE ); - } - - nWhich = rSet.GetPool()->GetWhich( nWeight ); - if( ISITEMSET ) - { - const SvxWeightItem& rItem = static_cast( rSet.Get( nWhich ) ); - rFont.SetWeight( rItem.GetValue() != WEIGHT_NORMAL ? WEIGHT_BOLD : WEIGHT_NORMAL ); - } -} - -void SvxFontPrevWindow::SetFontWidthScale( const SfxItemSet& rSet ) -{ - sal_uInt16 nWhich = rSet.GetPool()->GetWhich( SID_ATTR_CHAR_SCALEWIDTH ); - if( ISITEMSET ) - { - const SvxCharScaleWidthItem& rItem = static_cast( rSet.Get( nWhich ) ); - - SetFontWidthScale( rItem.GetValue() ); - } -} - -namespace -{ - void setFontEscapement(SvxFont& rFont, sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc) - { - rFont.SetPropr(nProp); - rFont.SetProprRel(nEscProp); - rFont.SetEscapement(nEsc); - } -} - -void SvxFontPrevWindow::SetFontEscapement(sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc) -{ - setFontEscapement(GetFont(), nProp, nEscProp, nEsc); - setFontEscapement(GetCJKFont(), nProp, nEscProp, nEsc); - setFontEscapement(GetCTLFont(), nProp, nEscProp, nEsc); - Invalidate(); -} - Size SvxFontPrevWindow::GetOptimalSize() const { return getPreviewStripSize(*this); diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 5b190ed7c6ab..b99311029a92 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -837,17 +837,6 @@ void SvxLanguageComboBox::ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) } -bool SvxLanguageBox::ImplIsEntryPosSelected( sal_Int32 nPos ) const -{ - return IsEntryPosSelected( nPos); -} - -bool SvxLanguageComboBox::ImplIsEntryPosSelected( sal_Int32 nPos ) const -{ - return IsEntryPosSelected( nPos); -} - - sal_Int32 SvxLanguageBox::ImplGetEntryPos( const void* pData ) const { return GetEntryPos( pData); diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index 827326d55b9b..d9fca346a198 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -328,8 +328,6 @@ public: bool Delete( sal_uInt16 ); void Rename( sal_uInt16, const OUString*, const OUString* ); - ErrCode const & CopyBlock( SwTextBlocks const & rSource, OUString& rSrcShort, - const OUString& rLong ); bool BeginGetDoc( sal_uInt16 ); // Read text modules. void EndGetDoc(); // Release text modules. diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx index e093c6c5badc..eaffa5ebaca7 100644 --- a/sw/source/core/swg/swblocks.cxx +++ b/sw/source/core/swg/swblocks.cxx @@ -364,25 +364,6 @@ void SwTextBlocks::Rename( sal_uInt16 n, const OUString* s, const OUString* l ) } } -ErrCode const & SwTextBlocks::CopyBlock( SwTextBlocks const & rSource, OUString& rSrcShort, - const OUString& rLong ) -{ - bool bIsOld = false; - if (rSource.pImp) - { - SwImpBlocks::FileType nType = rSource.pImp->GetFileType(); - if (SwImpBlocks::FileType::SW3 == nType) - bIsOld = true; - } - if( bIsOld ) //rSource.IsOld() ) - nErr = ERR_SWG_OLD_GLOSSARY; - else if( pImp->m_bInPutMuchBlocks ) - nErr = ERR_SWG_INTERNAL_ERROR; - else - nErr = pImp->CopyBlock(*rSource.pImp, rSrcShort, rLong); - return nErr; -} - bool SwTextBlocks::BeginGetDoc( sal_uInt16 n ) { if( pImp && !pImp->m_bInPutMuchBlocks ) -- cgit v1.2.3