diff options
31 files changed, 193 insertions, 489 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index f5023194594f..60ca3d010750 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -1,9 +1,19 @@ -basctl/source/basicide/moduldlg.hxx:150 - void basctl::ObjectPage::SetCurrentEntry(const class basctl::EntryDescriptor &) -basctl/source/inc/bastype2.hxx:221 - void basctl::TreeListBox::SetMode(enum BrowseMode) -basctl/source/inc/bastype2.hxx:222 - enum BrowseMode basctl::TreeListBox::GetMode() const +basctl/source/inc/bastype2.hxx:337 + void basctl::SbTreeListBox::make_unsorted() +basctl/source/inc/bastype2.hxx:338 + _Bool basctl::SbTreeListBox::get_sort_order() +basctl/source/inc/bastype2.hxx:339 + void basctl::SbTreeListBox::set_sort_order(_Bool) +basctl/source/inc/bastype2.hxx:341 + void basctl::SbTreeListBox::set_sort_indicator(enum TriState,int) +basctl/source/inc/bastype2.hxx:345 + enum TriState basctl::SbTreeListBox::get_sort_indicator(int) +basctl/source/inc/bastype2.hxx:350 + int basctl::SbTreeListBox::get_sort_column() +basctl/source/inc/bastype2.hxx:351 + void basctl::SbTreeListBox::set_sort_column(int) +basctl/source/inc/bastype2.hxx:353 + void basctl::SbTreeListBox::set_sort_func(const class std::function<int (const class weld::TreeIter &, const class weld::TreeIter &)> &) basegfx/source/range/b2drangeclipper.cxx:687 type-parameter-?-? basegfx::(anonymous namespace)::eraseFromList(type-parameter-?-? &,const type-parameter-?-? &) basic/source/inc/buffer.hxx:41 @@ -18,15 +28,13 @@ connectivity/source/drivers/evoab2/NResultSetMetaData.hxx:51 class com::sun::star::uno::Reference<class com::sun::star::sdbc::XResultSetMetaData> connectivity::evoab::OEvoabResultSetMetaData::operator Reference() connectivity/source/drivers/firebird/Driver.hxx:65 const class com::sun::star::uno::Reference<class com::sun::star::uno::XComponentContext> & connectivity::firebird::FirebirdDriver::getContext() const -connectivity/source/drivers/firebird/Util.hxx:58 +connectivity/source/drivers/firebird/Util.hxx:70 connectivity::firebird::ColumnTypeInfo::ColumnTypeInfo(short,const class rtl::OUString &) -connectivity/source/drivers/firebird/Util.hxx:63 +connectivity/source/drivers/firebird/Util.hxx:75 short connectivity::firebird::ColumnTypeInfo::getType() const -connectivity/source/drivers/firebird/Util.hxx:64 +connectivity/source/drivers/firebird/Util.hxx:76 short connectivity::firebird::ColumnTypeInfo::getSubType() const -connectivity/source/drivers/firebird/Util.hxx:65 - short connectivity::firebird::ColumnTypeInfo::getScale() const -connectivity/source/drivers/firebird/Util.hxx:66 +connectivity/source/drivers/firebird/Util.hxx:78 const class rtl::OUString & connectivity::firebird::ColumnTypeInfo::getCharacterSet() const connectivity/source/drivers/mork/mork_helper.cxx:37 int main(int,char **) @@ -56,7 +64,9 @@ connectivity/source/inc/OTypeInfo.hxx:46 _Bool connectivity::OTypeInfo::operator==(const struct connectivity::OTypeInfo &) const connectivity/source/inc/OTypeInfo.hxx:47 _Bool connectivity::OTypeInfo::operator!=(const struct connectivity::OTypeInfo &) const -cui/source/inc/cfg.hxx:354 +cui/source/dialogs/SpellAttrib.hxx:75 + _Bool svx::SpellErrorDescription::operator==(const struct svx::SpellErrorDescription &) const +cui/source/inc/cfg.hxx:356 void SvxMenuEntriesListBox::insert(int,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString *) cui/source/inc/cfgutil.hxx:143 _Bool CuiConfigFunctionListBox::get_iter_first(class weld::TreeIter &) const @@ -68,18 +78,24 @@ 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/cuihyperdlg.hxx:105 + _Bool SvxHpLinkDlg::OK_Impl() +cui/source/inc/cuihyperdlg.hxx:120 + void SvxHpLinkDlg::Ok() +cui/source/inc/cuihyperdlg.hxx:141 + class weld::Button & SvxHpLinkDlg::GetApplyButton() +cui/source/inc/cuihyperdlg.hxx:142 + class weld::Button & SvxHpLinkDlg::GetCancelButton() cui/source/inc/CustomNotebookbarGenerator.hxx:30 CustomNotebookbarGenerator::CustomNotebookbarGenerator() -cui/source/inc/CustomNotebookbarGenerator.hxx:33 - class com::sun::star::uno::Sequence<class rtl::OUString> CustomNotebookbarGenerator::getCustomizedUIItem(class rtl::OUString) -cui/source/inc/CustomNotebookbarGenerator.hxx:35 - void CustomNotebookbarGenerator::modifyCustomizedUIFile(class com::sun::star::uno::Sequence<class rtl::OUString>) -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>,class rtl::OUString) cui/source/inc/hangulhanjadlg.hxx:245 class rtl::OUString svx::SuggestionEdit::get_text() const +cui/source/inc/hltpbase.hxx:124 + class Size SvxHyperlinkTabPageBase::GetSizeExtraWnd() +cui/source/inc/iconcdlg.hxx:69 + void IconChoicePage::ImplInitSettings() +cui/source/inc/SvxNotebookbarConfigPage.hxx:51 + void SvxNotebookbarConfigPage::SetElement() dbaccess/source/filter/hsqldb/fbalterparser.hxx:20 void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const dbaccess/source/filter/hsqldb/parseschema.hxx:82 @@ -178,11 +194,11 @@ include/basegfx/numeric/ftools.hxx:144 double basegfx::snapToRange(double,double,double) include/basegfx/numeric/ftools.hxx:148 double basegfx::copySign(double,double) -include/basegfx/pixel/bpixel.hxx:55 +include/basegfx/pixel/bpixel.hxx:54 basegfx::BPixel::BPixel(unsigned char,unsigned char,unsigned char,unsigned char) -include/basegfx/pixel/bpixel.hxx:86 +include/basegfx/pixel/bpixel.hxx:85 _Bool basegfx::BPixel::operator==(const class basegfx::BPixel &) const -include/basegfx/pixel/bpixel.hxx:91 +include/basegfx/pixel/bpixel.hxx:90 _Bool basegfx::BPixel::operator!=(const class basegfx::BPixel &) const include/basegfx/point/b2dpoint.hxx:93 class basegfx::B2DPoint & basegfx::B2DPoint::operator*=(double) @@ -402,12 +418,12 @@ include/comphelper/propagg.hxx:60 _Bool comphelper::internal::OPropertyAccessor::operator<(const struct comphelper::internal::OPropertyAccessor &) const include/comphelper/proparrhlp.hxx:83 class cppu::IPropertyArrayHelper * comphelper::OAggregationArrayUsageHelper::createArrayHelper() const -include/comphelper/scopeguard.hxx:53 +include/comphelper/scopeguard.hxx:52 ScopeGuard<Func> comphelper::<deduction guide for ScopeGuard>(ScopeGuard<Func>) -include/comphelper/scopeguard.hxx:85 +include/comphelper/scopeguard.hxx:84 ScopeGuard<Func> comphelper::<deduction guide for ScopeGuard>(const ScopeGuard<Func> &) include/comphelper/types.hxx:55 - _Bool comphelper::getImplementation(type-parameter-?-? *&,const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &) + type-parameter-?-? * comphelper::getImplementation(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &) include/comphelper/unique_disposing_ptr.hxx:46 type-parameter-?-? & comphelper::unique_disposing_ptr::operator*() const include/comphelper/unwrapargs.hxx:50 @@ -510,6 +526,8 @@ include/sfx2/charwin.hxx:65 void SvxCharView::connect_focus_out(const class Link<class weld::Widget &, void> &) include/sfx2/childwin.hxx:164 void SfxChildWindow::ClearController() +include/sfx2/childwin.hxx:172 + class Size SfxChildWindow::GetSizePixel() const include/sfx2/docfilt.hxx:80 _Bool SfxFilter::GetGpgEncryption() const include/sfx2/evntconf.hxx:60 @@ -518,8 +536,6 @@ include/sfx2/lokcharthelper.hxx:41 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const -include/sfx2/shell.hxx:33 - Sequence<E> com::sun::star::uno::<deduction guide for Sequence>(Sequence<E>) include/svl/itempool.hxx:171 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const include/svl/itempool.hxx:207 @@ -528,28 +544,24 @@ include/svl/lockfilecommon.hxx:58 void svt::LockFileCommon::SetURL(const class rtl::OUString &) include/svtools/DocumentToGraphicRenderer.hxx:106 _Bool DocumentToGraphicRenderer::isImpress() const +include/svtools/inettbc.hxx:75 + void SvtURLBox::SetSmartProtocol(enum INetProtocol) include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const class AutoFormatBase &) -include/svx/ClassificationEditView.hxx:39 +include/svx/ClassificationEditView.hxx:38 void svx::ClassificationEditView::SetCharAttributes() -include/svx/ClassificationEditView.hxx:45 +include/svx/ClassificationEditView.hxx:44 void svx::ClassificationEditView::SetNumType(enum SvxNumType) 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/DescriptionGenerator.hxx:139 - void accessibility::DescriptionGenerator::AddLineProperties() -include/svx/DescriptionGenerator.hxx:143 - void accessibility::DescriptionGenerator::AddFillProperties() include/svx/dlgctrl.hxx:256 void SvxLineLB::set_sensitive(_Bool) include/svx/dlgctrl.hxx:257 _Bool SvxLineLB::get_sensitive() const include/svx/dlgctrl.hxx:279 void SvxLineEndLB::set_active_text(const class rtl::OUString &) -include/svx/fntctrl.hxx:67 - void SvxFontPrevWindow::SetFontWidthScale(unsigned short) include/svx/framelink.hxx:194 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) include/svx/langbox.hxx:155 @@ -578,6 +590,10 @@ include/tools/bigint.hxx:117 _Bool operator!=(const class BigInt &,const class BigInt &) include/tools/bigint.hxx:120 _Bool operator<=(const class BigInt &,const class BigInt &) +include/tools/cpuid.hxx:62 + _Bool cpuid::hasSSSE3() +include/tools/cpuid.hxx:69 + _Bool cpuid::hasAVX2() include/tools/date.hxx:215 _Bool Date::operator>=(const class Date &) const include/tools/datetime.hxx:47 @@ -618,6 +634,8 @@ include/tools/poly.hxx:160 _Bool tools::Polygon::operator!=(const class tools::Polygon &) const include/tools/poly.hxx:247 _Bool tools::PolyPolygon::operator!=(const class tools::PolyPolygon &) const +include/tools/simd.hxx:21 + type-parameter-?-? simd::roundDown(type-parameter-?-?,unsigned int) include/tools/stream.hxx:506 class rtl::OString read_uInt32_lenPrefixed_uInt8s_ToOString(class SvStream &) include/tools/weakbase.h:101 @@ -628,6 +646,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/datetime.hxx:50 + void utl::extractDate(const struct com::sun::star::util::DateTime &,struct com::sun::star::util::Date &) include/unotools/moduleoptions.hxx:166 _Bool SvtModuleOptions::IsDataBase() const include/unotools/textsearch.hxx:130 @@ -638,10 +658,12 @@ include/vcl/alpha.hxx:48 _Bool AlphaMask::operator!=(const class AlphaMask &) const include/vcl/animate/Animation.hxx:40 _Bool Animation::operator!=(const class Animation &) const -include/vcl/animate/AnimationBitmap.hxx:70 +include/vcl/animate/AnimationBitmap.hxx:69 _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const -include/vcl/BitmapColor.hxx:40 +include/vcl/BitmapColor.hxx:39 void BitmapColor::SetAlpha(unsigned char) +include/vcl/bitmapex.hxx:473 + void ReadRawDIB() include/vcl/commandevent.hxx:249 CommandMediaData::CommandMediaData(enum MediaCommand) include/vcl/commandevent.hxx:256 @@ -676,6 +698,8 @@ include/vcl/gdimtf.hxx:110 _Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const include/vcl/gdimtf.hxx:202 void GDIMetaFile::dumpAsXml(const char *) const +include/vcl/gfxlink.hxx:109 + void GfxLink::SwapOut() include/vcl/gradient.hxx:104 _Bool Gradient::operator!=(const class Gradient &) const include/vcl/hatch.hxx:55 @@ -684,6 +708,8 @@ include/vcl/inputctx.hxx:62 _Bool InputContext::operator!=(const class InputContext &) const include/vcl/ITiledRenderable.hxx:193 enum PointerStyle vcl::ITiledRenderable::getPointer() +include/vcl/ivctrl.hxx:216 + void SvtIconChoiceCtrl::SetStyle(long) include/vcl/lok.hxx:24 void vcl::lok::unregisterPollCallbacks() include/vcl/opengl/OpenGLHelper.hxx:67 @@ -692,9 +718,9 @@ include/vcl/opengl/OpenGLHelper.hxx:97 void OpenGLHelper::debugMsgStreamWarn(const class std::__cxx11::basic_ostringstream<char> &) include/vcl/pngread.hxx:56 void vcl::PNGReader::SetIgnoreGammaChunk(_Bool) -include/vcl/salnativewidgets.hxx:384 +include/vcl/salnativewidgets.hxx:410 _Bool TabitemValue::isBothAligned() const -include/vcl/salnativewidgets.hxx:385 +include/vcl/salnativewidgets.hxx:411 _Bool TabitemValue::isNotAligned() const include/vcl/settings.hxx:413 void StyleSettings::SetUseFlatBorders(_Bool) @@ -714,12 +740,14 @@ include/vcl/svapp.hxx:801 void Application::AppEvent(const class ApplicationEvent &) include/vcl/syswin.hxx:172 void SystemWindow::SetIdleDebugName(const char *) +include/vcl/texteng.hxx:287 + void TextEngine::RemoveAttribs(unsigned int,unsigned short) +include/vcl/texteng.hxx:288 + class std::unique_ptr<class TextCharAttrib, struct std::default_delete<class TextCharAttrib> > TextEngine::RemoveAttrib(unsigned int,const class TextCharAttrib &) include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const -include/vcl/toolkit/tabdlg.hxx:42 - TabDialog::TabDialog(class vcl::Window *,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/toolkit/tabdlg.hxx:48 - class vcl::Window * TabDialog::GetViewWindow() const +include/vcl/textview.hxx:215 + void TextView::SupportProtectAttribute(_Bool) include/vcl/treelistbox.hxx:361 void SvTreeListBox::RemoveSelection() include/vcl/treelistbox.hxx:378 @@ -756,77 +784,71 @@ include/vcl/weld.hxx:281 int weld::ScrolledWindow::get_hscroll_height() const include/vcl/weld.hxx:327 class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const -include/vcl/weld.hxx:371 +include/vcl/weld.hxx:379 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:661 +include/vcl/weld.hxx:669 void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:670 +include/vcl/weld.hxx:678 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:709 +include/vcl/weld.hxx:717 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:843 +include/vcl/weld.hxx:851 void weld::TreeView::select_all() -include/vcl/weld.hxx:856 - enum TriState weld::TreeView::get_sort_indicator(int) const -include/vcl/weld.hxx:884 +include/vcl/weld.hxx:894 const class rtl::OUString & weld::TreeView::get_saved_value() const -include/vcl/weld.hxx:989 +include/vcl/weld.hxx:999 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:997 - void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1001 +include/vcl/weld.hxx:1011 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:1006 +include/vcl/weld.hxx:1016 void weld::MenuButton::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1035 +include/vcl/weld.hxx:1047 class rtl::OUString weld::LinkButton::get_label() const -include/vcl/weld.hxx:1037 - class rtl::OUString weld::LinkButton::get_uri() const -include/vcl/weld.hxx:1039 +include/vcl/weld.hxx:1051 void weld::LinkButton::clicked() -include/vcl/weld.hxx:1070 +include/vcl/weld.hxx:1082 class rtl::OUString weld::ProgressBar::get_text() const -include/vcl/weld.hxx:1087 +include/vcl/weld.hxx:1099 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:1101 +include/vcl/weld.hxx:1114 int weld::Entry::get_position() const -include/vcl/weld.hxx:1206 +include/vcl/weld.hxx:1219 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1255 +include/vcl/weld.hxx:1268 void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &) -include/vcl/weld.hxx:1492 +include/vcl/weld.hxx:1505 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1503 +include/vcl/weld.hxx:1516 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:1550 +include/vcl/weld.hxx:1563 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1552 +include/vcl/weld.hxx:1565 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1553 +include/vcl/weld.hxx:1566 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1554 +include/vcl/weld.hxx:1567 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1556 +include/vcl/weld.hxx:1569 void weld::TimeSpinButton::hide() -include/vcl/weld.hxx:1557 +include/vcl/weld.hxx:1570 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1558 +include/vcl/weld.hxx:1571 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1618 +include/vcl/weld.hxx:1631 int weld::TextView::vadjustment_get_lower() const -include/vcl/weld.hxx:1707 +include/vcl/weld.hxx:1720 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1737 +include/vcl/weld.hxx:1750 void weld::Toolbar::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:1746 +include/vcl/weld.hxx:1759 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1771 +include/vcl/weld.hxx:1784 class std::unique_ptr<class weld::Window, struct std::default_delete<class weld::Window> > weld::Builder::weld_window(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1890 +include/vcl/weld.hxx:1903 class rtl::OUString weld::MessageDialogController::get_primary_text() const include/vcl/window.hxx:408 const char * ImplDbgCheckWindow(const void *) -include/vcl/window.hxx:1212 +include/vcl/window.hxx:1214 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) @@ -842,6 +864,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: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 sc/inc/address.hxx:661 _Bool ScRange::operator<=(const class ScRange &) const sc/inc/bigrange.hxx:73 @@ -864,22 +890,24 @@ sc/inc/formulagroup.hxx:142 void sc::FormulaGroupInterpreter::disableOpenCL_UnitTestsOnly() sc/inc/mtvcellfunc.hxx:41 class mdds::detail::mtv::iterator_base<struct mdds::multi_type_vector<struct mdds::mtv::custom_block_func3<struct mdds::mtv::default_element_block<52, class svl::SharedString>, struct mdds::mtv::noncopyable_managed_element_block<53, class EditTextObject>, struct mdds::mtv::noncopyable_managed_element_block<54, class ScFormulaCell> >, class sc::CellStoreEvent>::iterator_trait, struct mdds::detail::mtv::private_data_forward_update<struct mdds::detail::mtv::iterator_value_node<unsigned long, struct mdds::mtv::base_element_block> > > sc::ProcessFormula(const class mdds::detail::mtv::iterator_base<struct mdds::multi_type_vector<struct mdds::mtv::custom_block_func3<struct mdds::mtv::default_element_block<52, class svl::SharedString>, struct mdds::mtv::noncopyable_managed_element_block<53, class EditTextObject>, struct mdds::mtv::noncopyable_managed_element_block<54, class ScFormulaCell> >, class sc::CellStoreEvent>::iterator_trait, struct mdds::detail::mtv::private_data_forward_update<struct mdds::detail::mtv::iterator_value_node<unsigned long, struct mdds::mtv::base_element_block> > > &,class mdds::multi_type_vector<struct mdds::mtv::custom_block_func3<struct mdds::mtv::default_element_block<52, class svl::SharedString>, struct mdds::mtv::noncopyable_managed_element_block<53, class EditTextObject>, struct mdds::mtv::noncopyable_managed_element_block<54, class ScFormulaCell> >, class sc::CellStoreEvent> &,int,int,class std::function<void (unsigned long, class ScFormulaCell *)>) +sc/inc/mtvfunctions.hxx:366 + void sc::ProcessElements2(type-parameter-?-? &,type-parameter-?-? &,type-parameter-?-? &) sc/inc/postit.hxx:46 ScCaptionPtr::ScCaptionPtr(class SdrCaptionObj *) sc/inc/scdll.hxx:36 ScDLL::ScDLL() +sc/inc/scopetools.hxx:67 + void sc::DelayFormulaGroupingSwitch::reset() sc/inc/stlalgorithm.hxx:61 _Bool sc::AlignedAllocator::operator==(const AlignedAllocator<T, Alignment> &) const sc/inc/stlalgorithm.hxx:62 _Bool sc::AlignedAllocator::operator!=(const AlignedAllocator<T, Alignment> &) const sc/inc/table.hxx:319 _Bool ScTable::IsColRowTabValid(const short,const int,const short) const -sc/inc/userlist.hxx:86 +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> > > > > 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 @@ -962,11 +990,11 @@ sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:67 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:406 +sc/source/ui/inc/viewdata.hxx:405 long ScViewData::GetLOKDocWidthPixel() const -sc/source/ui/inc/viewdata.hxx:407 +sc/source/ui/inc/viewdata.hxx:406 long ScViewData::GetLOKDocHeightPixel() const -sc/source/ui/inc/viewdata.hxx:540 +sc/source/ui/inc/viewdata.hxx:539 _Bool ScViewData::IsGridMode() const scaddins/source/analysis/analysishelper.hxx:802 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const @@ -978,7 +1006,7 @@ 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/filedlg.hxx:54 +sd/source/ui/inc/filedlg.hxx:55 _Bool SdOpenSoundFileDialog::IsInsertAsLinkSelected() sd/source/ui/inc/optsitem.hxx:178 _Bool SdOptionsContents::operator==(const class SdOptionsContents &) const @@ -1056,6 +1084,8 @@ svgio/inc/svgstyleattributes.hxx:371 enum svgio::svgreader::FontStretch svgio::svgreader::SvgStyleAttributes::getFontStretch() const svx/inc/sdr/contact/viewcontactofgraphic.hxx:56 class SdrGrafObj & sdr::contact::ViewContactOfGraphic::GetGrafObject() +svx/source/fmcomp/fmgridcl.cxx:1265 + _Bool ::__invoke(const int) svx/source/svdraw/svdpdf.hxx:92 double ImpSdrPdfImport::Matrix::b() const svx/source/svdraw/svdpdf.hxx:94 @@ -1140,8 +1170,26 @@ 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/IDocumentMarkAccess.hxx:231 - class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<class sw::mark::IMark *const *, class std::__cxx1998::vector<class sw::mark::IMark *, class std::allocator<class sw::mark::IMark *> > >, class std::__debug::vector<class sw::mark::IMark *, class std::allocator<class sw::mark::IMark *> > > IDocumentMarkAccess::findFirstMarkStartsBefore(const struct SwPosition &) const +sw/inc/IDocumentMarkAccess.hxx:92 + class IDocumentMarkAccess::iterator IDocumentMarkAccess::iterator::operator++(int) +sw/inc/IDocumentMarkAccess.hxx:95 + class IDocumentMarkAccess::iterator & IDocumentMarkAccess::iterator::operator--() +sw/inc/IDocumentMarkAccess.hxx:96 + class IDocumentMarkAccess::iterator IDocumentMarkAccess::iterator::operator--(int) +sw/inc/IDocumentMarkAccess.hxx:97 + class IDocumentMarkAccess::iterator & IDocumentMarkAccess::iterator::operator+=(long) +sw/inc/IDocumentMarkAccess.hxx:99 + class IDocumentMarkAccess::iterator & IDocumentMarkAccess::iterator::operator-=(long) +sw/inc/IDocumentMarkAccess.hxx:103 + _Bool IDocumentMarkAccess::iterator::operator<(const class IDocumentMarkAccess::iterator &) const +sw/inc/IDocumentMarkAccess.hxx:104 + _Bool IDocumentMarkAccess::iterator::operator>(const class IDocumentMarkAccess::iterator &) const +sw/inc/IDocumentMarkAccess.hxx:105 + _Bool IDocumentMarkAccess::iterator::operator<=(const class IDocumentMarkAccess::iterator &) const +sw/inc/IDocumentMarkAccess.hxx:106 + _Bool IDocumentMarkAccess::iterator::operator>=(const class IDocumentMarkAccess::iterator &) const +sw/inc/IDocumentMarkAccess.hxx:282 + class IDocumentMarkAccess::iterator IDocumentMarkAccess::findFirstMarkStartsBefore(const struct SwPosition &) const sw/inc/node.hxx:231 const class IDocumentStylePoolAccess & SwNode::getIDocumentStylePoolAccess() const sw/inc/node.hxx:235 @@ -1158,6 +1206,8 @@ sw/inc/rdfhelper.hxx:94 void SwRDFHelper::removeTextNodeStatement(const class rtl::OUString &,class SwTextNode &,const class rtl::OUString &,const class rtl::OUString &) 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/redline.hxx:100 + SwRedlineExtraData_FormattingChanges::SwRedlineExtraData_FormattingChanges(const class SfxItemSet *) sw/inc/ring.hxx:203 sw::RingIterator::RingIterator<value_type>() sw/inc/swatrset.hxx:226 @@ -1188,7 +1238,7 @@ sw/inc/viscrs.hxx:204 class SwShellTableCursor * SwShellTableCursor::GetPrev() sw/inc/viscrs.hxx:205 const class SwShellTableCursor * SwShellTableCursor::GetPrev() const -sw/qa/extras/inc/swmodeltestbase.hxx:629 +sw/qa/extras/inc/swmodeltestbase.hxx:624 class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySet> SwModelTestBase::getParagraphAnchoredObject(const int,const class com::sun::star::uno::Reference<class com::sun::star::text::XTextRange> &) const sw/source/core/access/accportions.cxx:73 unsigned long FindBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?) @@ -1204,21 +1254,23 @@ 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/inc/swblocks.hxx:111 - class ErrCode SwImpBlocks::CopyBlock(class SwImpBlocks &,class rtl::OUString &,const class rtl::OUString &) sw/source/core/text/porlin.hxx:117 _Bool SwLinePortion::IsTabRightPortion() const sw/source/core/text/txtpaint.hxx:66 DbgBackColor::DbgBackColor(class OutputDevice *,const _Bool) sw/source/core/text/txtpaint.hxx:73 DbgRect::DbgRect(class OutputDevice *,const class tools::Rectangle &,const _Bool,class Color) -sw/source/filter/ww8/ww8struc.hxx:244 +sw/source/filter/ww8/docxtablestyleexport.hxx:42 + void DocxTableStyleExport::CharFormat(class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> &) +sw/source/filter/ww8/ww8struc.hxx:246 WW8_BRCVer6::WW8_BRCVer6() sw/source/ui/dbui/createaddresslistdialog.hxx:100 void SwFindEntryDialog::hide() +sw/source/ui/dbui/mmaddressblockpage.hxx:159 + class SwCustomizeAddressBlockDialog * AddressMultiLineEdit::GetAddressDialog() sw/source/uibase/inc/bookmark.hxx:45 - int BookmarkTable::n_children() const -sw/source/uibase/inc/condedit.hxx:54 + void BookmarkTable::remove(const class weld::TreeIter &) +sw/source/uibase/inc/condedit.hxx:53 _Bool ConditionEdit::get_sensitive() const sw/source/uibase/inc/numfmtlb.hxx:51 void NumFormatListBox::SetOneArea(_Bool) @@ -1274,6 +1326,10 @@ vcl/inc/fontinstance.hxx:90 void LogicalFontInstance::ReleaseHbFont() vcl/inc/fontselect.hxx:48 _Bool FontSelectPattern::operator!=(const class FontSelectPattern &) const +vcl/inc/impglyphitem.hxx:97 + class LogicalFontInstance * GlyphItem::fontInstance() const +vcl/inc/impglyphitem.hxx:98 + enum GlyphItemFlags GlyphItem::flags() const vcl/inc/impgraph.hxx:59 _Bool GraphicID::operator==(const class GraphicID &) const vcl/inc/opengl/BufferObject.hxx:50 @@ -1314,7 +1370,7 @@ vcl/inc/qt5/Qt5DragAndDrop.hxx:50 void Qt5DragSource::deinitialize() vcl/inc/qt5/Qt5DragAndDrop.hxx:91 void Qt5DropTarget::deinitialize() -vcl/inc/qt5/Qt5FilePicker.hxx:142 +vcl/inc/qt5/Qt5FilePicker.hxx:145 void Qt5FilePicker::disposing(const struct com::sun::star::lang::EventObject &) vcl/inc/qt5/Qt5FontFace.hxx:37 class Qt5FontFace * Qt5FontFace::fromQFont(const class QFont &) @@ -1322,15 +1378,15 @@ 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 +vcl/inc/qt5/Qt5Frame.hxx:133 void Qt5Frame::TriggerPaintEvent() -vcl/inc/qt5/Qt5Frame.hxx:112 +vcl/inc/qt5/Qt5Frame.hxx:134 void Qt5Frame::TriggerPaintEvent(class QRect) -vcl/inc/qt5/Qt5Frame.hxx:140 +vcl/inc/qt5/Qt5Frame.hxx:159 void Qt5Frame::deregisterDragSource(const class Qt5DragSource *) -vcl/inc/qt5/Qt5Frame.hxx:142 +vcl/inc/qt5/Qt5Frame.hxx:161 void Qt5Frame::deregisterDropTarget(const class Qt5DropTarget *) -vcl/inc/qt5/Qt5Frame.hxx:195 +vcl/inc/qt5/Qt5Frame.hxx:214 struct _cairo * Qt5Frame::getCairoContext() const vcl/inc/qt5/Qt5Painter.hxx:56 void Qt5Painter::update() @@ -1386,7 +1442,7 @@ vcl/source/fontsubset/xlat.hxx:34 unsigned short vcl::TranslateChar15(unsigned short) vcl/source/fontsubset/xlat.hxx:35 unsigned short vcl::TranslateChar16(unsigned short) -writerfilter/source/dmapper/DomainMapper_Impl.hxx:734 +writerfilter/source/dmapper/DomainMapper_Impl.hxx:735 _Bool writerfilter::dmapper::DomainMapper_Impl::IsInFooter() const writerfilter/source/ooxml/OOXMLPropertySet.hxx:176 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> > > > writerfilter::ooxml::OOXMLPropertySet::begin() const @@ -1394,6 +1450,8 @@ 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> > > > 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 338218136715..a2b0d2a83b78 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -4,13 +4,13 @@ connectivity/source/inc/odbc/OConnection.hxx:78 short connectivity::odbc::OConnection::Construct(const class rtl::OUString &,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> &) connectivity/source/inc/odbc/OStatement.hxx:115 _Bool connectivity::odbc::OStatement_Base::lockIfNecessary(const class rtl::OUString &) -extensions/source/scanner/sane.hxx:98 +extensions/source/scanner/sane.hxx:97 _Bool Sane::CheckConsistency(const char *,_Bool) -extensions/source/scanner/sane.hxx:141 +extensions/source/scanner/sane.hxx:140 _Bool Sane::GetOptionValue(int,double *) -extensions/source/scanner/sane.hxx:148 +extensions/source/scanner/sane.hxx:147 _Bool Sane::ActivateButtonOption(int) -extensions/source/scanner/sane.hxx:154 +extensions/source/scanner/sane.hxx:153 _Bool Sane::Open(int) extensions/source/scanner/sanedlg.hxx:89 _Bool SaneDlg::LoadState() @@ -34,7 +34,7 @@ include/basegfx/vector/b3dvector.hxx:171 class basegfx::B3DVector & basegfx::B3DVector::normalize() include/comphelper/backupfilehelper.hxx:204 _Bool comphelper::BackupFileHelper::tryPush_extensionInfo(const class rtl::OUString &) -include/editeng/editview.hxx:220 +include/editeng/editview.hxx:230 class ErrCode EditView::Read(class SvStream &,enum EETextFormat,class SvKeyValueIterator *) include/LibreOfficeKit/LibreOfficeKit.hxx:63 struct _LibreOfficeKitDocument * lok::Document::get() @@ -64,13 +64,13 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:621 int lok::Document::getSignatureState() include/LibreOfficeKit/LibreOfficeKit.hxx:631 unsigned long lok::Document::renderShapeSelection(char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:741 +include/LibreOfficeKit/LibreOfficeKit.hxx:749 char * lok::Office::getFilterTypes() -include/LibreOfficeKit/LibreOfficeKit.hxx:795 +include/LibreOfficeKit/LibreOfficeKit.hxx:803 char * lok::Office::getVersionInfo() -include/LibreOfficeKit/LibreOfficeKit.hxx:809 - _Bool lok::Office::runMacro(const char *) include/LibreOfficeKit/LibreOfficeKit.hxx:817 + _Bool lok::Office::runMacro(const char *) +include/LibreOfficeKit/LibreOfficeKit.hxx:825 _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() @@ -198,7 +198,7 @@ include/tools/multisel.hxx:93 _Bool StringRangeEnumerator::insertRange(int,int,_Bool) include/vcl/bitmap.hxx:169 _Bool Bitmap::Dither() -include/vcl/bitmapex.hxx:241 +include/vcl/bitmapex.hxx:240 _Bool BitmapEx::Rotate(long,const class Color &) include/vcl/filter/PngImageReader.hxx:36 _Bool vcl::PngImageReader::read(class BitmapEx &) @@ -218,9 +218,9 @@ include/vcl/texteng.hxx:276 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) include/vcl/toolbox.hxx:515 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:756 +include/vcl/weld.hxx:764 _Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const -include/vcl/weld.hxx:1597 +include/vcl/weld.hxx:1610 _Bool weld::TextView::get_selection_bounds(int &,int &) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) @@ -228,7 +228,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:2145 +sc/inc/document.hxx:2151 const struct ScDocumentThreadSpecific & ScDocument::CalculateInColumnInThread(struct ScInterpreterContext &,const class ScAddress &,unsigned long,unsigned int,unsigned int) sc/inc/orcusfilters.hxx:44 _Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const @@ -284,18 +284,22 @@ sc/source/ui/vba/vbaformat.hxx:152 class com::sun::star::uno::Any ScVbaFormat::getReadingOrder() sd/source/filter/eppt/pptx-epptooxml.cxx:112 class oox::drawingml::ShapeExport & oox::core::PowerPointShapeExport::WritePageShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &,enum PageType,_Bool) +sd/source/ui/inc/DrawViewShell.hxx:254 + _Bool sd::DrawViewShell::SelectPage(unsigned short,unsigned short) sd/source/ui/inc/OutlineViewShell.hxx:115 class ErrCode sd::OutlineViewShell::ReadRtf(class SvStream &) sd/source/ui/remotecontrol/IBluetoothSocket.hxx:37 int sd::IBluetoothSocket::write(const void *,unsigned int) sfx2/inc/autoredactdialog.hxx:146 - _Bool SfxAutoRedactDialog::moveTargets(class std::__debug::vector<struct std::pair<struct RedactionTarget *, class rtl::OUString>, class std::allocator<struct std::pair<struct RedactionTarget *, class rtl::OUString> > > &) -svgio/source/svguno/xsvgparser.cxx:51 + _Bool SfxAutoRedactDialog::getTargets(class std::__debug::vector<struct std::pair<struct RedactionTarget *, class rtl::OUString>, class std::allocator<struct std::pair<struct RedactionTarget *, class rtl::OUString> > > &) +svgio/source/svguno/xsvgparser.cxx:52 _Bool svgio::svgreader::XSvgParser::parseSvgXML(const class com::sun::star::uno::Reference<class com::sun::star::io::XInputStream> &,const class com::sun::star::uno::Reference<class com::sun::star::xml::sax::XDocumentHandler> &) sw/inc/authfld.hxx:98 unsigned short SwAuthorityFieldType::AppendField(const class SwAuthEntry &) sw/inc/calc.hxx:114 class SwSbxValue & SwSbxValue::MakeDouble() +sw/inc/crsrsh.hxx:549 + _Bool SwCursorShell::GoNextPrevCursorSetSearchLabel(const _Bool) sw/inc/doc.hxx:1081 _Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &) sw/inc/doc.hxx:1244 @@ -312,7 +316,7 @@ 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:289 +sw/inc/tblafmt.hxx:272 _Bool SwTableAutoFormatTable::Load(class SvStream &) sw/source/core/inc/laycache.hxx:64 _Bool SwLayoutCache::CompareLayout(const class SwDoc &) const @@ -320,9 +324,9 @@ sw/source/core/inc/scriptinfo.hxx:226 _Bool SwScriptInfo::GetBoundsOfHiddenRange(struct o3tl::strong_int<int, struct Tag_TextFrameIndex>,struct o3tl::strong_int<int, struct Tag_TextFrameIndex> &,struct o3tl::strong_int<int, struct Tag_TextFrameIndex> &) const sw/source/filter/ww8/ww8toolbar.hxx:339 _Bool Tcg::ImportCustomToolBar(class SfxObjectShell &) -sw/source/uibase/inc/drawbase.hxx:53 +sw/source/uibase/inc/drawbase.hxx:54 _Bool SwDrawBase::MouseMove(const class MouseEvent &) -sw/source/uibase/inc/fldmgr.hxx:115 +sw/source/uibase/inc/fldmgr.hxx:116 const class com::sun::star::uno::Reference<class com::sun::star::text::XNumberingTypeInfo> & SwFieldMgr::GetNumberingInfo() const sw/source/uibase/inc/mailmergewizard.hxx:79 _Bool SwMailMergeWizard::skipUntil(unsigned short) @@ -340,21 +344,21 @@ vcl/inc/opengl/salbmp.hxx:102 _Bool OpenGLSalBitmap::ImplScaleArea(const class rtl::Reference<class OpenGLContext> &,double,double) vcl/inc/opengl/texture.hxx:112 _Bool OpenGLTexture::CopyData(int,int,int,int,const unsigned char *) -vcl/inc/salframe.hxx:231 +vcl/inc/salframe.hxx:233 _Bool SalFrame::SetPluginParent(struct SystemParentData *) vcl/inc/salgdi.hxx:211 class basegfx::B2DPoint SalGraphics::mirror(const class basegfx::B2DPoint &,const class OutputDevice *) const -vcl/inc/salgdi.hxx:393 +vcl/inc/salgdi.hxx:385 + _Bool SalGraphics::UpdateSettings(class AllSettings &) +vcl/inc/salgdi.hxx:387 _Bool SalGraphics::BlendBitmap(const struct SalTwoRect &,const class SalBitmap &,const class OutputDevice *) vcl/inc/unx/gtk/gtkdata.hxx:165 int GtkSalDisplay::CaptureMouse(class SalFrame *) vcl/inc/unx/saldisp.hxx:310 _Bool SalDisplay::Dispatch(union _XEvent *) -vcl/inc/WidgetDrawInterface.hxx:97 - _Bool vcl::WidgetDrawInterface::updateSettings(class AllSettings &) -vcl/source/gdi/pdfwriter_impl.hxx:1228 +vcl/source/gdi/pdfwriter_impl.hxx:1233 _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) -vcl/source/gdi/pdfwriter_impl.hxx:1229 +vcl/source/gdi/pdfwriter_impl.hxx:1234 _Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue) -vcl/source/gdi/pdfwriter_impl.hxx:1230 +vcl/source/gdi/pdfwriter_impl.hxx:1235 _Bool vcl::PDFWriterImpl::setStructureAttributeNumerical(enum vcl::PDFWriter::StructAttribute,int) diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 0abb498efe9d..aa8d9edb417f 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -316,70 +316,6 @@ IconChoicePageData* SvxHpLinkDlg::GetPageData ( const OString& rId ) | \**********************************************************************/ -bool SvxHpLinkDlg::OK_Impl() -{ - IconChoicePage* pPage = GetPageData ( msCurrentPageId )->xPage.get(); - - bool bEnd = !pPage; - if ( pPage ) - { - DeactivateRC nRet = DeactivateRC::LeavePage; - if ( pSet ) - { - SfxItemSet aTmp( *pSet->GetPool(), pSet->GetRanges() ); - - if ( pPage->HasExchangeSupport() ) - nRet = pPage->DeactivatePage( &aTmp ); - - if ( ( DeactivateRC::LeavePage & nRet ) - && aTmp.Count() ) - { - pExampleSet->Put( aTmp ); - pOutSet->Put( aTmp ); - } - } - else - nRet = pPage->DeactivatePage( nullptr ); - bEnd = nRet != DeactivateRC::KeepPage; - } - - return bEnd; -} - - -void SvxHpLinkDlg::Ok() -{ - if ( !pOutSet ) - { - if ( !pExampleSet && pSet ) - pOutSet = pSet->Clone( false ); // without items - else if ( pExampleSet ) - pOutSet.reset(new SfxItemSet( *pExampleSet )); - } - - for ( size_t i = 0, nCount = maPageList.size(); i < nCount; ++i ) - { - IconChoicePageData* pData = GetPageData ( maPageList[i]->sId ); - - IconChoicePage* pPage = pData->xPage.get(); - - if ( pPage ) - { - if ( pSet && !pPage->HasExchangeSupport() ) - { - SfxItemSet aTmp( *pSet->GetPool(), pSet->GetRanges() ); - - if ( pPage->FillItemSet( &aTmp ) ) - { - if (pExampleSet) - pExampleSet->Put(aTmp); - pOutSet->Put( aTmp ); - } - } - } - } -} - void SvxHpLinkDlg::SwitchPage( const OString& rId ) { m_xIconCtrl->set_current_page(rId); diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 5b7cd8230fb4..b2c2aa0ee4d3 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -353,11 +353,6 @@ public: nullptr, nullptr, nullptr, false, nullptr); } - void insert(int pos, const OUString& rId, const OUString& rStr, const OUString* pImage = nullptr) - { - m_xControl->insert(pos, rStr, &rId, pImage, nullptr); - } - DECL_LINK(KeyInputHdl, const KeyEvent&, bool); void CreateDropDown(); diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx index 4f8d4c1c07f3..9f0dec0c50b1 100644 --- a/cui/source/inc/cuihyperdlg.hxx +++ b/cui/source/inc/cuihyperdlg.hxx @@ -102,7 +102,6 @@ private: IconChoicePageData* GetPageData ( const OString& rId ); void Start_Impl(); - bool OK_Impl(); void SwitchPage( const OString& rId ); @@ -117,8 +116,6 @@ private: void DeActivatePageImpl (); void ResetPageImpl (); - void Ok(); - virtual void Close() override; void Apply(); @@ -138,8 +135,6 @@ public: void SetInputSet( const SfxItemSet* pInSet ); weld::Button& GetOKButton() { return *m_xOKBtn; } - weld::Button& GetApplyButton() { return *m_xApplyBtn; } - weld::Button& GetCancelButton() { return *m_xCancelBtn; } void Start(); bool QueryClose(); diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index fae49a54baf6..e079a3c072bf 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -121,7 +121,6 @@ public: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; bool IsMarkWndVisible() const { return static_cast<bool>(mxMarkWnd); } - Size GetSizeExtraWnd() { return mxMarkWnd->getDialog()->get_size(); } void MoveToExtraWnd ( Point aNewPos ); virtual bool QueryClose() override; diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index a5db9706917e..f34e90025a33 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -66,8 +66,6 @@ private: const SfxItemSet* pSet; bool bHasExchangeSupport; - void ImplInitSettings(); - protected: IconChoicePage(weld::Container* pParent, const OUString& rUIXMLDescription, const OString& rID, const SfxItemSet* pItemSet); diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 626b2c85a298..63abda89d932 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -169,8 +169,6 @@ public: SfxChildAlignment GetAlignment() const { return eChildAlignment; } void SetAlignment(SfxChildAlignment eAlign); - Size GetSizePixel() const - { return pWindow->GetSizePixel(); } virtual void Hide(); virtual void Show( ShowFlags nFlags ); sal_uInt16 GetPosition(); diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index 3f00d75f2594..bf99e4d838c4 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -72,7 +72,6 @@ public: void SetOnlyDirectories( bool bDir ); void SetNoURLSelection( bool bSet ); INetProtocol GetSmartProtocol() const { return eSmartProtocol; } - void SetSmartProtocol( INetProtocol eProt ); OUString GetURL(); void DisableHistory(); diff --git a/include/unotools/datetime.hxx b/include/unotools/datetime.hxx index 2f55faedbc2a..c83da27040aa 100644 --- a/include/unotools/datetime.hxx +++ b/include/unotools/datetime.hxx @@ -47,8 +47,6 @@ namespace utl UNOTOOLS_DLLPUBLIC void typeConvert(const DateTime& _rDateTime, css::util::DateTime& _rOut); UNOTOOLS_DLLPUBLIC void typeConvert(const css::util::DateTime& _rDateTime, DateTime& _rOut); - UNOTOOLS_DLLPUBLIC void extractDate(const css::util::DateTime& _rDateTime, css::util::Date& _rOut); - UNOTOOLS_DLLPUBLIC OUString toISO8601(const css::util::DateTime& _rDateTime); UNOTOOLS_DLLPUBLIC bool ISO8601parseDateTime(const OUString &i_rIn, css::util::DateTime& o_rDateTime); UNOTOOLS_DLLPUBLIC bool ISO8601parseDate(const OUString &i_rIn, css::util::Date& o_rDate); diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index 1067c0c45b52..46c310482886 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -470,7 +470,6 @@ private: friend class ImpGraphic; friend class OutputDevice; friend bool VCL_DLLPUBLIC WriteDIBBitmapEx(const BitmapEx& rSource, SvStream& rOStm); - friend void ReadRawDIB(); friend bool VCL_DLLPUBLIC ReadRawDIB(BitmapEx& rTarget, const unsigned char* pBuf, const ScanlineFormat nFormat, const int nHeight, diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx index b595023efeb5..55dcf25ef6a5 100644 --- a/include/vcl/gfxlink.hxx +++ b/include/vcl/gfxlink.hxx @@ -106,7 +106,6 @@ public: bool ExportNative( SvStream& rOStream ) const; - void SwapOut(); bool IsSwappedOut() const { return( bool(mpSwapOutData) ); } bool IsEMF() const; // WMF & EMF stored under the same type (NativeWmf) diff --git a/include/vcl/ivctrl.hxx b/include/vcl/ivctrl.hxx index e3c630a719b3..e7b89f1bc2f1 100644 --- a/include/vcl/ivctrl.hxx +++ b/include/vcl/ivctrl.hxx @@ -213,7 +213,6 @@ public: virtual ~SvtIconChoiceCtrl() override; virtual void dispose() override; - void SetStyle( WinBits nWinStyle ); WinBits GetStyle() const; void SetChoiceWithCursor(); diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx index 95da903bc1d4..1df2b87c702b 100644 --- a/include/vcl/texteng.hxx +++ b/include/vcl/texteng.hxx @@ -284,8 +284,6 @@ public: const TextAttrib* FindAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const; const TextCharAttrib* FindCharAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const; - void RemoveAttribs( sal_uInt32 nPara, sal_uInt16 nWhich ); - std::unique_ptr<TextCharAttrib> RemoveAttrib( sal_uInt32 nPara, const TextCharAttrib& rAttrib ); void RemoveAttribs( sal_uInt32 nPara ); void SetAttrib( const TextAttrib& rAttr, sal_uInt32 nPara, sal_Int32 nStart, sal_Int32 nEnd, bool bIdleFormatAndUpdate = true ); diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx index 0b10eea1d47a..e706d0c42e00 100644 --- a/include/vcl/textview.hxx +++ b/include/vcl/textview.hxx @@ -208,13 +208,6 @@ public: TextPaM CursorEndOfDoc(); /** - Drag and Drop, deleting and selection regards all text that has an attribute - TEXTATTR_PROTECTED set as one entity. Drag and dropped text is automatically - attributed as protected. - */ - void SupportProtectAttribute(bool bSupport); - - /** Returns the number in paragraph of the line in which the cursor is blinking if enabled, -1 otherwise. */ diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 197c7871a247..918c928618bd 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -1472,15 +1472,6 @@ void SvtURLBox::UpdatePickList( ) } } -void SvtURLBox::SetSmartProtocol( INetProtocol eProt ) -{ - if ( eSmartProtocol != eProt ) - { - eSmartProtocol = eProt; - UpdatePicklistForSmartProtocol_Impl(); - } -} - void SvtURLBox::UpdatePicklistForSmartProtocol_Impl() { Clear(); diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx index cba649ea077e..a347c81d5bb3 100644 --- a/sw/inc/IDocumentMarkAccess.hxx +++ b/sw/inc/IDocumentMarkAccess.hxx @@ -274,13 +274,6 @@ class IDocumentMarkAccess */ virtual const_iterator_t findMark(const OUString& rMark) const =0; - /** Find the first Mark that does not start before. - - @returns - an iterator pointing to the mark, or pointing to getAllMarksEnd() if nothing was found. - */ - virtual const_iterator_t findFirstMarkStartsBefore(const SwPosition& rPos) const =0; - // interface IBookmarks (BOOKMARK, CROSSREF_NUMITEM_BOOKMARK, CROSSREF_HEADING_BOOKMARK ) /** returns a STL-like random access iterator to the begin of the sequence the IBookmarks. diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 7ae3af488d01..c75cb932d35d 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -82,29 +82,6 @@ public: virtual bool operator == ( const SwRedlineExtraData& ) const override; }; -/* - * This class is used to store 'redline' data regarding formatting changes, - * e.g. - a text portion *was* italic and now is not italic, - * e.g. - a text portion got a highlight to it - * - * The way the information is stored is in an 'SfxItemSet' that holds all - * the WhichIds with their values. - */ -class SW_DLLPUBLIC SwRedlineExtraData_FormattingChanges : public SwRedlineExtraData -{ - std::unique_ptr<SfxItemSet> m_pSet; - - SwRedlineExtraData_FormattingChanges( const SwRedlineExtraData_FormattingChanges& rCpy ); - -public: - SwRedlineExtraData_FormattingChanges( const SfxItemSet* pItemSet ); - virtual ~SwRedlineExtraData_FormattingChanges() override; - virtual SwRedlineExtraData* CreateNew() const override; - virtual void Reject( SwPaM& rPam ) const override; - virtual bool operator == ( const SwRedlineExtraData& ) const override; - SfxItemSet* GetItemSet( ) const { return m_pSet.get(); } -}; - class SW_DLLPUBLIC SwRedlineData { friend class SwRangeRedline; diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index d5c802e3ed1c..ef7812c6cb8e 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -1223,16 +1223,6 @@ namespace sw { namespace mark return IDocumentMarkAccess::iterator(ret); } - // find the first Mark that does not start before - IDocumentMarkAccess::const_iterator_t MarkManager::findFirstMarkStartsBefore(const SwPosition& rPos) const - { - return std::lower_bound( - m_vAllMarks.begin(), - m_vAllMarks.end(), - rPos, - CompareIMarkStartsBefore()); - } - IDocumentMarkAccess::const_iterator_t MarkManager::getAllMarksBegin() const { return m_vAllMarks.begin(); } diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx index 614cc740d42f..6b420cf1351e 100644 --- a/sw/source/core/doc/docredln.cxx +++ b/sw/source/core/doc/docredln.cxx @@ -868,67 +868,6 @@ bool SwRedlineExtraData_Format::operator == ( const SwRedlineExtraData& rCmp ) c return true; } -SwRedlineExtraData_FormattingChanges::SwRedlineExtraData_FormattingChanges( const SfxItemSet* pItemSet ) -{ - if( pItemSet && pItemSet->Count() ) - m_pSet.reset( new SfxItemSet( *pItemSet ) ); -} - -SwRedlineExtraData_FormattingChanges::SwRedlineExtraData_FormattingChanges( const SwRedlineExtraData_FormattingChanges& rCpy ) - : SwRedlineExtraData() -{ - // Checking pointer pSet before accessing it for Count - if( rCpy.m_pSet && rCpy.m_pSet->Count() ) - { - m_pSet.reset( new SfxItemSet( *(rCpy.m_pSet) ) ); - } - else - { - m_pSet.reset(); - } -} - -SwRedlineExtraData_FormattingChanges::~SwRedlineExtraData_FormattingChanges() -{ -} - -SwRedlineExtraData* SwRedlineExtraData_FormattingChanges::CreateNew() const -{ - return new SwRedlineExtraData_FormattingChanges( *this ); -} - -void SwRedlineExtraData_FormattingChanges::Reject(SwPaM& rPam) const -{ - SwDoc* pDoc = rPam.GetDoc(); - - if( m_pSet ) - { - RedlineFlags eOld = pDoc->getIDocumentRedlineAccess().GetRedlineFlags(); - pDoc->getIDocumentRedlineAccess().SetRedlineFlags_intern(eOld & ~RedlineFlags(RedlineFlags::On | RedlineFlags::Ignore)); - - pDoc->getIDocumentContentOperations().InsertItemSet(rPam, *GetItemSet()); - - pDoc->getIDocumentRedlineAccess().SetRedlineFlags_intern( eOld ); - } -} - -bool SwRedlineExtraData_FormattingChanges::operator == ( const SwRedlineExtraData& rExtraData ) const -{ - const SwRedlineExtraData_FormattingChanges& rCmp = static_cast<const SwRedlineExtraData_FormattingChanges&>(rExtraData); - - if ( !m_pSet && !rCmp.m_pSet ) - { - // Both SfxItemSet are null - return true; - } - else if ( m_pSet && rCmp.m_pSet && *m_pSet == *rCmp.m_pSet ) - { - // Both SfxItemSet exist and are equal - return true; - } - return false; -} - SwRedlineData::SwRedlineData( RedlineType eT, std::size_t nAut ) : m_pNext( nullptr ), m_pExtraData( nullptr ), m_aStamp( DateTime::SYSTEM ), diff --git a/sw/source/core/inc/MarkManager.hxx b/sw/source/core/inc/MarkManager.hxx index 98f1dc201450..512cd4de9d6d 100644 --- a/sw/source/core/inc/MarkManager.hxx +++ b/sw/source/core/inc/MarkManager.hxx @@ -74,7 +74,6 @@ namespace sw { virtual const_iterator_t getAllMarksEnd() const override; virtual sal_Int32 getAllMarksCount() const override; virtual const_iterator_t findMark(const OUString& rName) const override; - virtual const_iterator_t findFirstMarkStartsBefore(const SwPosition& rPos) const override; // bookmarks virtual const_iterator_t getBookmarksBegin() const override; diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 7d7620990ada..1410fe3308cb 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -175,7 +175,7 @@ static const sal_Int32 Tag_EndRun_1 = 9; static const sal_Int32 Tag_EndRun_2 = 10; static const sal_Int32 Tag_StartRunProperties = 11; static const sal_Int32 Tag_InitCollectedRunProperties = 12; -static const sal_Int32 Tag_Redline_1 = 13; +//static const sal_Int32 Tag_Redline_1 = 13; static const sal_Int32 Tag_Redline_2 = 14; static const sal_Int32 Tag_TableDefinition = 15; static const sal_Int32 Tag_OutputFlyFrame = 16; @@ -2968,55 +2968,6 @@ void DocxAttributeOutput::Redline( const SwRedlineData* pRedlineData) FSNS( XML_w, XML_author ), aAuthor, FSNS( XML_w, XML_date ), aDate ); - // Check if there is any extra data stored in the redline object - if (pRedlineData->GetExtraData()) - { - const SwRedlineExtraData* pExtraData = pRedlineData->GetExtraData(); - const SwRedlineExtraData_FormattingChanges* pFormattingChanges = dynamic_cast<const SwRedlineExtraData_FormattingChanges*>(pExtraData); - - // Check if the extra data is of type 'formatting changes' - if (pFormattingChanges) - { - // Get the item set that holds all the changes properties - const SfxItemSet *pChangesSet = pFormattingChanges->GetItemSet(); - if (pChangesSet) - { - m_pSerializer->mark(Tag_Redline_1); - - m_pSerializer->startElementNS(XML_w, XML_rPr); - - // The 'm_pFontsAttrList', 'm_pEastAsianLayoutAttrList', 'm_pCharLangAttrList' are used to hold information - // that should be collected by different properties in the core, and are all flushed together - // to the DOCX when the function 'WriteCollectedRunProperties' gets called. - // So we need to store the current status of these lists, so that we can revert back to them when - // we are done exporting the redline attributes. - rtl::Reference<sax_fastparser::FastAttributeList> pFontsAttrList_Original(m_pFontsAttrList); - m_pFontsAttrList.clear(); - rtl::Reference<sax_fastparser::FastAttributeList> pColorAttrList_Original(m_pColorAttrList); - m_pColorAttrList.clear(); - rtl::Reference<sax_fastparser::FastAttributeList> pEastAsianLayoutAttrList_Original(m_pEastAsianLayoutAttrList); - m_pEastAsianLayoutAttrList.clear(); - rtl::Reference<sax_fastparser::FastAttributeList> pCharLangAttrList_Original(m_pCharLangAttrList); - m_pCharLangAttrList.clear(); - - // Output the redline item set - m_rExport.OutputItemSet( *pChangesSet, false, true, i18n::ScriptType::LATIN, m_rExport.m_bExportModeRTF ); - - // Write the collected run properties that are stored in 'm_pFontsAttrList', 'm_pEastAsianLayoutAttrList', 'm_pCharLangAttrList' - WriteCollectedRunProperties(); - - // Revert back the original values that were stored in 'm_pFontsAttrList', 'm_pEastAsianLayoutAttrList', 'm_pCharLangAttrList' - m_pFontsAttrList = pFontsAttrList_Original; - m_pColorAttrList = pColorAttrList_Original; - m_pEastAsianLayoutAttrList = pEastAsianLayoutAttrList_Original; - m_pCharLangAttrList = pCharLangAttrList_Original; - - m_pSerializer->endElementNS( XML_w, XML_rPr ); - - m_pSerializer->mergeTopMarks(Tag_Redline_1, sax_fastparser::MergeMarks::PREPEND); - } - } - } m_pSerializer->endElementNS( XML_w, XML_rPrChange ); break; diff --git a/sw/source/filter/ww8/docxtablestyleexport.cxx b/sw/source/filter/ww8/docxtablestyleexport.cxx index 32aa8b103938..3471c695a175 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.cxx +++ b/sw/source/filter/ww8/docxtablestyleexport.cxx @@ -84,11 +84,6 @@ public: void tableStyleRColor(uno::Sequence<beans::PropertyValue>& rColor); }; -void DocxTableStyleExport::CharFormat(css::uno::Sequence<css::beans::PropertyValue>& rRPr) -{ - m_pImpl->tableStyleRPr(rRPr); -} - void DocxTableStyleExport::CnfStyle(uno::Sequence<beans::PropertyValue>& rAttributeList) { sax_fastparser::FastAttributeList* pAttributeList diff --git a/sw/source/filter/ww8/docxtablestyleexport.hxx b/sw/source/filter/ww8/docxtablestyleexport.hxx index 0ab76ee84a5b..c6f0c219d596 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.hxx +++ b/sw/source/filter/ww8/docxtablestyleexport.hxx @@ -38,9 +38,6 @@ class DocxTableStyleExport public: void TableStyles(sal_Int32 nCountStylesToWrite); - /// Writes <w:rPr>...</w:rPr> based on grab-bagged character properties. - void CharFormat(css::uno::Sequence<css::beans::PropertyValue>& rRPr); - /// Writes <w:cnfStyle .../> based on grab-bagged para, cell or row properties. void CnfStyle(css::uno::Sequence<css::beans::PropertyValue>& rAttributeList); diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx index 8998dc41daec..f8d6493e594a 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.hxx +++ b/sw/source/ui/dbui/mmaddressblockpage.hxx @@ -156,8 +156,6 @@ public: void UpdateFields(); virtual ~AddressMultiLineEdit() override; - SwCustomizeAddressBlockDialog* GetAddressDialog() { return m_pParentDialog; } - void SetSelectionChangedHdl( const Link<bool,void>& rLink ) { m_aSelectionLink = rLink; } void SetModifyHdl( const Link<AddressMultiLineEdit&,void>& rLink ) { m_aModifyLink = rLink; } diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx index 667a5898f825..88d5095bd385 100644 --- a/unotools/source/misc/datetime.cxx +++ b/unotools/source/misc/datetime.cxx @@ -257,13 +257,6 @@ void typeConvert(const css::util::DateTime& _rDateTime, DateTime& _rOut) _rOut = DateTime(aDate, aTime); } -void extractDate(const css::util::DateTime& _rDateTime, css::util::Date& _rOut) -{ - _rOut.Day = _rDateTime.Day; - _rOut.Month = _rDateTime.Month; - _rOut.Year = _rDateTime.Year; -} - OUString toISO8601(const css::util::DateTime& rDateTime) { OUStringBuffer rBuffer; diff --git a/vcl/inc/impglyphitem.hxx b/vcl/inc/impglyphitem.hxx index a04113a1fbae..b379674548d5 100644 --- a/vcl/inc/impglyphitem.hxx +++ b/vcl/inc/impglyphitem.hxx @@ -94,8 +94,6 @@ public: sal_GlyphId glyphId() const { return m_aGlyphId; } int charCount() const { return m_nCharCount; } int origWidth() const { return m_nOrigWidth; } - LogicalFontInstance* fontInstance() const { return m_pFontInstance; } - GlyphItemFlags flags() const { return m_nFlags; } int charPos() const { return m_nCharPos; } int xOffset() const { return m_nXOffset; } }; diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx index 482993e55b62..8841483c9c88 100644 --- a/vcl/source/control/ivctrl.cxx +++ b/vcl/source/control/ivctrl.cxx @@ -227,11 +227,6 @@ SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::GetEntry( const Point& rPixPos ) cons return const_cast<SvtIconChoiceCtrl*>(this)->_pImpl->GetEntry( aPos ); } -void SvtIconChoiceCtrl::SetStyle( WinBits nWinStyle ) -{ - _pImpl->SetStyle( nWinStyle ); -} - WinBits SvtIconChoiceCtrl::GetStyle() const { return _pImpl->GetStyle(); diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index 0e61271a1ae4..333a1a201e69 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -2454,56 +2454,6 @@ void TextEngine::RemoveAttribs( sal_uInt32 nPara ) } } -void TextEngine::RemoveAttribs( sal_uInt32 nPara, sal_uInt16 nWhich ) -{ - if ( nPara < mpDoc->GetNodes().size() ) - { - TextNode* pNode = mpDoc->GetNodes()[ nPara ].get(); - if ( pNode->GetCharAttribs().Count() ) - { - TextCharAttribList& rAttribs = pNode->GetCharAttribs(); - for(sal_uInt16 nAttr = rAttribs.Count(); nAttr; --nAttr) - { - if(rAttribs.GetAttrib( nAttr - 1 ).Which() == nWhich) - { - // tdf#113400 destroy unique_ptr returned - rAttribs.RemoveAttrib( nAttr -1 ).reset(); - } - } - TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); - pTEParaPortion->MarkSelectionInvalid( 0 ); - mbFormatted = false; - IdleFormatAndUpdate( nullptr, 0xFFFF ); - } - } -} - -std::unique_ptr<TextCharAttrib> TextEngine::RemoveAttrib( sal_uInt32 nPara, const TextCharAttrib& rAttrib ) -{ - std::unique_ptr<TextCharAttrib> pRet; - if ( nPara < mpDoc->GetNodes().size() ) - { - TextNode* pNode = mpDoc->GetNodes()[ nPara ].get(); - if ( pNode->GetCharAttribs().Count() ) - { - TextCharAttribList& rAttribs = pNode->GetCharAttribs(); - for(sal_uInt16 nAttr = rAttribs.Count(); nAttr; --nAttr) - { - if(&(rAttribs.GetAttrib( nAttr - 1 )) == &rAttrib) - { - pRet = rAttribs.RemoveAttrib( nAttr -1 ); - break; - } - } - TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); - pTEParaPortion->MarkSelectionInvalid( 0 ); - mbFormatted = false; - FormatAndUpdate(); - } - } - return pRet; -} - void TextEngine::SetAttrib( const TextAttrib& rAttr, sal_uInt32 nPara, sal_Int32 nStart, sal_Int32 nEnd, bool bIdleFormatAndUpdate ) { diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index 622d42241789..c3506bd0efc8 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -2164,8 +2164,6 @@ bool TextView::HasSelection() const { return mpImpl->maSelection.HasRange(); } bool TextView::IsInsertMode() const { return mpImpl->mbInsertMode; } -void TextView::SupportProtectAttribute(bool bSupport) -{ mpImpl->mbSupportProtectAttribute = bSupport;} void TextView::MatchGroup() { diff --git a/vcl/source/gdi/gfxlink.cxx b/vcl/source/gdi/gfxlink.cxx index e042a48e0aa4..3bb236ca4a34 100644 --- a/vcl/source/gdi/gfxlink.cxx +++ b/vcl/source/gdi/gfxlink.cxx @@ -146,34 +146,6 @@ bool GfxLink::LoadNative( Graphic& rGraphic ) return bRet; } -void GfxLink::SwapOut() -{ - if( !IsSwappedOut() && mpSwapInData && mnSwapInDataSize ) - { - ::utl::TempFile aTempFile; - - OUString aURL = aTempFile.GetURL(); - - if (!aURL.isEmpty()) - { - std::shared_ptr<GfxLink::SwapOutData> pSwapOut = std::make_shared<SwapOutData>(aURL); // aURL is removed in the destructor - SvStream* pOStm = aTempFile.GetStream(StreamMode::STD_WRITE); - if (pOStm) - { - pOStm->WriteBytes(mpSwapInData.get(), mnSwapInDataSize); - bool bError = (ERRCODE_NONE != pOStm->GetError()); - aTempFile.CloseStream(); - - if( !bError ) - { - mpSwapOutData = pSwapOut; - mpSwapInData.reset(); - } - } - } - } -} - bool GfxLink::ExportNative( SvStream& rOStream ) const { if( GetDataSize() ) |