diff options
47 files changed, 406 insertions, 1318 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index fec68affafdc..bd89d0d57225 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -26,6 +26,10 @@ connectivity/source/drivers/firebird/Util.hxx:66 const class rtl::OUString & connectivity::firebird::ColumnTypeInfo::getCharacterSet() const connectivity/source/drivers/mork/mork_helper.cxx:37 int main(int,char **) +connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx:95 + type-parameter-?-? connectivity::mysqlc::OPreparedResultSet::safelyRetrieveValue(const int) +connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.hxx:96 + type-parameter-?-? connectivity::mysqlc::OPreparedResultSet::retrieveValue(const int) connectivity/source/inc/dbase/dindexnode.hxx:70 _Bool connectivity::dbase::ONDXKey::operator<(const class connectivity::dbase::ONDXKey &) const connectivity/source/inc/java/sql/Connection.hxx:63 @@ -48,19 +52,19 @@ connectivity/source/inc/OTypeInfo.hxx:46 _Bool connectivity::OTypeInfo::operator==(const struct connectivity::OTypeInfo &) const connectivity/source/inc/OTypeInfo.hxx:47 _Bool connectivity::OTypeInfo::operator!=(const struct connectivity::OTypeInfo &) const -cui/source/inc/cfg.hxx:362 +cui/source/inc/cfg.hxx:354 void SvxMenuEntriesListBox::insert(int,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString *) -cui/source/inc/cfgutil.hxx:147 +cui/source/inc/cfgutil.hxx:143 _Bool CuiConfigFunctionListBox::get_iter_first(class weld::TreeIter &) const -cui/source/inc/cfgutil.hxx:149 +cui/source/inc/cfgutil.hxx:145 _Bool CuiConfigFunctionListBox::iter_next(class weld::TreeIter &) const -cui/source/inc/cfgutil.hxx:152 +cui/source/inc/cfgutil.hxx:148 class rtl::OUString CuiConfigFunctionListBox::get_text(const class weld::TreeIter &) const -cui/source/inc/cfgutil.hxx:155 +cui/source/inc/cfgutil.hxx:151 class rtl::OUString CuiConfigFunctionListBox::get_id(int) const -cui/source/inc/cfgutil.hxx:169 +cui/source/inc/cfgutil.hxx:165 int CuiConfigFunctionListBox::get_selected_index() const -cui/source/inc/hangulhanjadlg.hxx:251 +cui/source/inc/hangulhanjadlg.hxx:245 class rtl::OUString svx::SuggestionEdit::get_text() const dbaccess/source/filter/hsqldb/fbalterparser.hxx:20 void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const @@ -106,10 +110,20 @@ editeng/inc/edtspell.hxx:112 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > > WrongList::begin() const editeng/inc/edtspell.hxx:113 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > > WrongList::end() const -extensions/source/propctrlr/formcomponenthandler.hxx:449 - pcr::WaitCursor::WaitCursor(class vcl::Window *) 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 @@ -214,8 +228,6 @@ include/basegfx/range/b2ibox.hxx:151 _Bool basegfx::B2IBox::isInside(const class basegfx::B2ITuple &) const include/basegfx/range/b2ibox.hxx:167 void basegfx::B2IBox::intersect(const class basegfx::B2IBox &) -include/basegfx/range/b2irange.hxx:61 - basegfx::B2IRange::B2IRange(const class basegfx::B2ITuple &) include/basegfx/range/b2irange.hxx:197 void basegfx::B2IRange::expand(const class basegfx::B2IRange &) include/basegfx/range/b2irange.hxx:210 @@ -334,7 +346,7 @@ 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:37 +include/comphelper/AccessibleImplementationHelper.hxx:43 class rtl::OUString comphelper::GetkeyBindingStrByXkeyBinding(const class com::sun::star::uno::Sequence<struct com::sun::star::awt::KeyStroke> &) include/comphelper/automationinvokedzone.hxx:28 comphelper::Automation::AutomationInvokedZone::AutomationInvokedZone() @@ -348,39 +360,39 @@ include/comphelper/configuration.hxx:264 void comphelper::ConfigurationLocalizedProperty::set(const type-parameter-?-? &,const class std::shared_ptr<class comphelper::ConfigurationChanges> &) include/comphelper/configuration.hxx:300 class com::sun::star::uno::Reference<class com::sun::star::container::XHierarchicalNameReplace> comphelper::ConfigurationGroup::get(const class std::shared_ptr<class comphelper::ConfigurationChanges> &) -include/comphelper/logging.hxx:59 +include/comphelper/logging.hxx:58 class rtl::OUString comphelper::log::convert::convertLogArgToString(char16_t) -include/comphelper/logging.hxx:226 +include/comphelper/logging.hxx:225 void comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:247 +include/comphelper/logging.hxx:246 void comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:259 +include/comphelper/logging.hxx:258 void comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:272 +include/comphelper/logging.hxx:271 void comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:296 +include/comphelper/logging.hxx:295 void comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?) const -include/comphelper/logging.hxx:305 +include/comphelper/logging.hxx:304 void comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:315 +include/comphelper/logging.hxx:314 void comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:326 +include/comphelper/logging.hxx:325 void comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:338 +include/comphelper/logging.hxx:337 void comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:351 +include/comphelper/logging.hxx:350 void comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:375 +include/comphelper/logging.hxx:374 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?) const -include/comphelper/logging.hxx:384 +include/comphelper/logging.hxx:383 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:394 +include/comphelper/logging.hxx:393 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:405 +include/comphelper/logging.hxx:404 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:417 +include/comphelper/logging.hxx:416 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const -include/comphelper/logging.hxx:430 +include/comphelper/logging.hxx:429 void comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const include/comphelper/lok.hxx:47 _Bool comphelper::LibreOfficeKit::isLocalRendering() @@ -388,8 +400,12 @@ include/comphelper/propagg.hxx:59 _Bool comphelper::internal::OPropertyAccessor::operator==(const struct comphelper::internal::OPropertyAccessor &) const include/comphelper/propagg.hxx:60 _Bool comphelper::internal::OPropertyAccessor::operator<(const struct comphelper::internal::OPropertyAccessor &) const -include/comphelper/proparrhlp.hxx:87 +include/comphelper/proparrhlp.hxx:83 class cppu::IPropertyArrayHelper * comphelper::OAggregationArrayUsageHelper::createArrayHelper() const +include/comphelper/scopeguard.hxx:53 + ScopeGuard<Func> comphelper::<deduction guide for ScopeGuard>(ScopeGuard<Func>) +include/comphelper/scopeguard.hxx:85 + 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> &) include/comphelper/unique_disposing_ptr.hxx:46 @@ -416,7 +432,7 @@ include/desktop/crashreport.hxx:50 void CrashReporter::storeExceptionHandler(class google_breakpad::ExceptionHandler *) include/desktop/crashreport.hxx:54 void CrashReporter::updateMinidumpLocation() -include/drawinglayer/geometry/viewinformation2d.hxx:128 +include/drawinglayer/geometry/viewinformation2d.hxx:129 _Bool drawinglayer::geometry::ViewInformation2D::operator!=(const class drawinglayer::geometry::ViewInformation2D &) const include/drawinglayer/primitive2d/baseprimitive2d.hxx:193 _Bool drawinglayer::primitive2d::BasePrimitive2D::operator!=(const class drawinglayer::primitive2d::BasePrimitive2D &) const @@ -426,15 +442,21 @@ include/drawinglayer/texture/texture.hxx:44 _Bool drawinglayer::texture::GeoTexSvx::operator!=(const class drawinglayer::texture::GeoTexSvx &) const include/drawinglayer/tools/primitive2dxmldump.hxx:44 void drawinglayer::tools::Primitive2dXmlDump::dump(const class drawinglayer::primitive2d::Primitive2DContainer &,const class rtl::OUString &) -include/editeng/hyphenzoneitem.hxx:65 +include/editeng/hyphenzoneitem.hxx:63 _Bool SvxHyphenZoneItem::IsPageEnd() const include/filter/msfilter/mstoolbar.hxx:103 Indent::Indent(_Bool) +include/formula/formula.hxx:78 + struct std::pair<class formula::WeldRefButton *, class formula::WeldRefEdit *> 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<char, struct std::char_traits<char>, class std::allocator<char> > OpCodeEnumToString(enum OpCode) -include/formula/tokenarray.hxx:180 +include/formula/tokenarray.hxx:182 class formula::FormulaTokenArrayReferencesIterator formula::FormulaTokenArrayReferencesIterator::operator++(int) -include/formula/tokenarray.hxx:571 +include/formula/tokenarray.hxx:573 basic_ostream<type-parameter-?-?, type-parameter-?-?> & formula::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const class formula::FormulaTokenArray &) include/i18nlangtag/languagetag.hxx:263 enum LanguageTag::ScriptType LanguageTag::getScriptType() const @@ -451,7 +473,7 @@ include/o3tl/enumarray.hxx:135 include/o3tl/safeint.hxx:79 typename enable_if<std::is_unsigned<T>::value, type-parameter-?-?>::type o3tl::saturating_sub(type-parameter-?-?,type-parameter-?-?) include/o3tl/span.hxx:51 - o3tl::span::span<T>(type-parameter-?-? *,long) + o3tl::span::span<T>(type-parameter-?-? *,unsigned long) include/o3tl/strong_int.hxx:112 strong_int<UNDERLYING_TYPE, PHANTOM_TYPE> o3tl::strong_int::operator--(int) include/o3tl/typed_flags_set.hxx:114 @@ -488,67 +510,131 @@ 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:137 - void SfxModelessDialogController::FillInfo(struct SfxChildWinInfo &) const +include/sfx2/basedlgs.hxx:59 + class rtl::OUString & SfxModalDialog::GetExtraData() include/sfx2/charwin.hxx:64 void SvxCharView::connect_focus_in(const class Link<class weld::Widget &, void> &) include/sfx2/charwin.hxx:65 void SvxCharView::connect_focus_out(const class Link<class weld::Widget &, void> &) -include/sfx2/childwin.hxx:166 +include/sfx2/childwin.hxx:164 void SfxChildWindow::ClearController() -include/sfx2/docfilt.hxx:82 +include/sfx2/docfilt.hxx:80 _Bool SfxFilter::GetGpgEncryption() const -include/sfx2/evntconf.hxx:63 +include/sfx2/evntconf.hxx:60 struct SfxEventName & SfxEventNamesList::at(unsigned long) include/sfx2/lokcharthelper.hxx:41 void LokChartHelper::Invalidate() -include/sfx2/msg.hxx:123 +include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const -include/svl/itempool.hxx:162 +include/sfx2/shell.hxx:33 + Sequence<E> com::sun::star::uno::<deduction guide for Sequence>(Sequence<E>) +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<class rtl::OUString, class std::allocator<class rtl::OUString> > TemplateLocalView::getFolderNames() +include/sfx2/templatelocalview.hxx:108 + class std::__debug::vector<struct TemplateItemProperties, class std::allocator<struct TemplateItemProperties> > 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 class ThumbnailViewItem *, _Bool (*)(const class ThumbnailViewItem *, const class ThumbnailViewItem *), class std::allocator<const class ThumbnailViewItem *> > &,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<void *, void> &) +include/sfx2/templatelocalview.hxx:147 + void TemplateLocalView::setDeleteTemplateHdl(const class Link<class ThumbnailViewItem *, void> &) +include/sfx2/templatelocalview.hxx:149 + void TemplateLocalView::setDefaultTemplateHdl(const class Link<class ThumbnailViewItem *, void> &) +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<const class ThumbnailViewItem *, void> &) +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 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const -include/svl/itempool.hxx:191 +include/svl/itempool.hxx:205 void SfxItemPool::dumpAsXml(struct _xmlTextWriter *) const -include/svtools/ctrlbox.hxx:155 - long LineListBox::GetWidth() const -include/svtools/ctrlbox.hxx:322 - void SvtCalendarBox::set_sensitive(_Bool) +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/svx/checklbx.hxx:59 - void SvxCheckListBox::InsertEntry(const class rtl::OUString &,unsigned long,void *,enum SvLBoxButtonKind) -include/svx/checklbx.hxx:63 - void SvxCheckListBox::RemoveEntry(unsigned long) -include/svx/checklbx.hxx:68 - class rtl::OUString SvxCheckListBox::GetText(unsigned long) const -include/svx/checklbx.hxx:69 - unsigned long SvxCheckListBox::GetCheckedEntryCount() const -include/svx/checklbx.hxx:74 - void * SvxCheckListBox::SetEntryData(unsigned long,void *) -include/svx/checklbx.hxx:75 - void * SvxCheckListBox::GetEntryData(unsigned long) const -include/svx/ClassificationEditView.hxx:41 +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<class SvSimpleTable *, void> &) +include/svx/autoformathelper.hxx:142 + _Bool AutoFormatBase::operator==(const class AutoFormatBase &) +include/svx/ClassificationEditView.hxx:39 void svx::ClassificationEditView::SetCharAttributes() -include/svx/ClassificationEditView.hxx:47 +include/svx/ClassificationEditView.hxx:45 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/dlgctrl.hxx:260 +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/dlgctrl.hxx:256 void SvxLineLB::set_sensitive(_Bool) -include/svx/dlgctrl.hxx:261 +include/svx/dlgctrl.hxx:257 _Bool SvxLineLB::get_sensitive() const -include/svx/dlgctrl.hxx:283 +include/svx/dlgctrl.hxx:279 void SvxLineEndLB::set_active_text(const class rtl::OUString &) include/svx/framelink.hxx:201 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) +include/svx/langbox.hxx:160 + void LanguageBox::show() include/svx/svdlayer.hxx:75 _Bool SdrLayer::operator==(const class SdrLayer &) const include/svx/svdpntv.hxx:459 _Bool SdrPaintView::IsSwapAsynchron() const include/svx/txencbox.hxx:128 void TextEncodingBox::grab_focus() -include/svx/txencbox.hxx:189 +include/svx/txencbox.hxx:190 void TextEncodingTreeView::connect_changed(const class Link<class weld::TreeView &, void> &) include/svx/xpoly.hxx:82 _Bool XPolygon::operator==(const class XPolygon &) const @@ -590,9 +676,9 @@ 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:251 +include/tools/gen.hxx:257 class Pair & Range::toPair() -include/tools/gen.hxx:318 +include/tools/gen.hxx:324 class Pair & Selection::toPair() include/tools/poly.hxx:160 _Bool tools::Polygon::operator!=(const class tools::Polygon &) const @@ -616,21 +702,31 @@ include/vcl/alpha.hxx:47 _Bool AlphaMask::operator==(const class AlphaMask &) const include/vcl/alpha.hxx:48 _Bool AlphaMask::operator!=(const class AlphaMask &) const -include/vcl/animate.hxx:94 +include/vcl/animate/Animation.hxx:40 _Bool Animation::operator!=(const class Animation &) const -include/vcl/commandevent.hxx:245 +include/vcl/animate/AnimationBitmap.hxx:70 + _Bool AnimationBitmap::operator!=(const struct AnimationBitmap &) const +include/vcl/BitmapColor.hxx:61 + 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:252 +include/vcl/commandevent.hxx:256 _Bool CommandMediaData::GetPassThroughToOS() const -include/vcl/commandevent.hxx:272 +include/vcl/commandevent.hxx:276 CommandSwipeData::CommandSwipeData() -include/vcl/commandevent.hxx:289 +include/vcl/commandevent.hxx:293 CommandLongPressData::CommandLongPressData() -include/vcl/cursor.hxx:95 +include/vcl/cursor.hxx:96 _Bool vcl::Cursor::operator!=(const class vcl::Cursor &) const -include/vcl/customweld.hxx:71 +include/vcl/customweld.hxx:41 + class rtl::OUString weld::CustomWidgetController::GetHelpText() const +include/vcl/customweld.hxx:72 void weld::CustomWidgetController::SetAccessibleName(const class rtl::OUString &) -include/vcl/customweld.hxx:112 +include/vcl/customweld.hxx:113 void weld::CustomWeld::queue_draw_area(int,int,int,int) include/vcl/edit.hxx:205 _Bool Edit::IsSelectAllSingleClick() const @@ -649,29 +745,27 @@ include/vcl/field.hxx:217 include/vcl/gdimtf.hxx:110 _Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const include/vcl/gdimtf.hxx:202 - void GDIMetaFile::dumpAsXml(const class rtl::OUString &) const + void GDIMetaFile::dumpAsXml(const char *) const include/vcl/gradient.hxx:104 _Bool Gradient::operator!=(const class Gradient &) const include/vcl/hatch.hxx:55 _Bool Hatch::operator!=(const class Hatch &) const include/vcl/inputctx.hxx:62 _Bool InputContext::operator!=(const class InputContext &) const -include/vcl/ITiledRenderable.hxx:238 +include/vcl/ITiledRenderable.hxx:194 enum PointerStyle vcl::ITiledRenderable::getPointer() -include/vcl/opengl/OpenGLHelper.hxx:62 +include/vcl/opengl/OpenGLHelper.hxx:67 void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &) -include/vcl/opengl/OpenGLHelper.hxx:92 +include/vcl/opengl/OpenGLHelper.hxx:97 void OpenGLHelper::debugMsgStreamWarn(const class std::__cxx11::basic_ostringstream<char> &) -include/vcl/outdev.hxx:312 - struct _cairo_surface * get_underlying_alpha_cairo_surface(const class VirtualDevice &) include/vcl/pngread.hxx:56 void vcl::PNGReader::SetIgnoreGammaChunk(_Bool) -include/vcl/salbtype.hxx:120 - void BitmapColor::SetAlpha(unsigned char) 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<class ScrollBar *, void> & ScrollBar::GetEndScrollHdl() const include/vcl/settings.hxx:413 void StyleSettings::SetUseFlatBorders(_Bool) include/vcl/settings.hxx:416 @@ -680,13 +774,13 @@ include/vcl/settings.hxx:428 void StyleSettings::SetHideDisabledMenuItems(_Bool) include/vcl/settings.hxx:493 void StyleSettings::SetSpinSize(long) -include/vcl/settings.hxx:651 +include/vcl/settings.hxx:652 _Bool HelpSettings::operator!=(const class HelpSettings &) const -include/vcl/settings.hxx:706 +include/vcl/settings.hxx:707 _Bool AllSettings::operator!=(const class AllSettings &) const -include/vcl/svapp.hxx:169 +include/vcl/svapp.hxx:170 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &) -include/vcl/svapp.hxx:798 +include/vcl/svapp.hxx:801 void Application::AppEvent(const class ApplicationEvent &) include/vcl/syswin.hxx:172 void SystemWindow::SetIdleDebugName(const char *) @@ -694,8 +788,12 @@ include/vcl/tabdlg.hxx:49 class vcl::Window * TabDialog::GetViewWindow() const include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const -include/vcl/treelistbox.hxx:618 - void SvTreeListBox::SetCheckButtonInvisible(class SvTreeListEntry *) +include/vcl/treelistbox.hxx:382 + const class SvTreeListEntry * SvTreeListBox::GetParent(const class SvTreeListEntry *) const +include/vcl/treelistbox.hxx:440 + const class Link<class SvTreeListBox *, void> & SvTreeListBox::GetSelectHdl() const +include/vcl/treelistbox.hxx:441 + const class Link<class SvTreeListBox *, void> & SvTreeListBox::GetDeselectHdl() const include/vcl/txtattr.hxx:56 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:274 @@ -706,107 +804,105 @@ include/vcl/uitest/uiobject.hxx:345 SpinUIObject::SpinUIObject(const class VclPtr<class SpinButton> &) include/vcl/uitest/uiobject.hxx:353 class std::unique_ptr<class UIObject, struct std::default_delete<class UIObject> > SpinUIObject::create(class vcl::Window *) -include/vcl/wall.hxx:99 +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:107 +include/vcl/weld.hxx:116 class rtl::OString weld::Widget::get_buildable_name() const -include/vcl/weld.hxx:112 - int weld::Widget::get_grid_left_attach() const -include/vcl/weld.hxx:118 +include/vcl/weld.hxx:127 _Bool weld::Widget::get_hexpand() const -include/vcl/weld.hxx:120 +include/vcl/weld.hxx:129 _Bool weld::Widget::get_vexpand() const -include/vcl/weld.hxx:231 +include/vcl/weld.hxx:259 void weld::ScrolledWindow::hadjustment_configure(int,int,int,int,int,int) -include/vcl/weld.hxx:237 +include/vcl/weld.hxx:265 void weld::ScrolledWindow::hadjustment_set_upper(int) -include/vcl/weld.hxx:239 +include/vcl/weld.hxx:267 + void weld::ScrolledWindow::hadjustment_set_page_size(int) +include/vcl/weld.hxx:268 + void weld::ScrolledWindow::hadjustment_set_page_increment(int) +include/vcl/weld.hxx:269 void weld::ScrolledWindow::set_hpolicy(enum VclPolicyType) -include/vcl/weld.hxx:240 +include/vcl/weld.hxx:270 enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const -include/vcl/weld.hxx:245 +include/vcl/weld.hxx:275 int weld::ScrolledWindow::get_hscroll_height() const -include/vcl/weld.hxx:253 - void weld::ScrolledWindow::vadjustment_set_upper(int) -include/vcl/weld.hxx:256 +include/vcl/weld.hxx:288 void weld::ScrolledWindow::vadjustment_set_lower(int) -include/vcl/weld.hxx:286 +include/vcl/weld.hxx:321 class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const -include/vcl/weld.hxx:319 +include/vcl/weld.hxx:365 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:562 +include/vcl/weld.hxx:624 void weld::TreeView::append(const class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:571 +include/vcl/weld.hxx:633 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:601 +include/vcl/weld.hxx:670 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:694 +include/vcl/weld.hxx:778 void weld::TreeView::select_all() -include/vcl/weld.hxx:704 +include/vcl/weld.hxx:791 enum TriState weld::TreeView::get_sort_indicator(int) const -include/vcl/weld.hxx:807 +include/vcl/weld.hxx:819 + const class rtl::OUString & weld::TreeView::get_saved_value() const +include/vcl/weld.hxx:924 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:815 +include/vcl/weld.hxx:932 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:819 +include/vcl/weld.hxx:936 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:850 +include/vcl/weld.hxx:941 + void weld::MenuButton::append_separator(const class rtl::OUString &) +include/vcl/weld.hxx:970 class rtl::OUString weld::LinkButton::get_label() const -include/vcl/weld.hxx:852 +include/vcl/weld.hxx:972 class rtl::OUString weld::LinkButton::get_uri() const -include/vcl/weld.hxx:854 +include/vcl/weld.hxx:974 void weld::LinkButton::clicked() -include/vcl/weld.hxx:856 - void weld::LinkButton::connect_clicked(const class Link<class weld::LinkButton &, void> &) -include/vcl/weld.hxx:885 +include/vcl/weld.hxx:1005 class rtl::OUString weld::ProgressBar::get_text() const -include/vcl/weld.hxx:902 +include/vcl/weld.hxx:1022 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:914 +include/vcl/weld.hxx:1036 int weld::Entry::get_position() const -include/vcl/weld.hxx:1018 +include/vcl/weld.hxx:1141 void weld::FormattedSpinButton::set_max(double) -include/vcl/weld.hxx:1066 +include/vcl/weld.hxx:1190 void weld::EntryTreeView::EntryModifyHdl(const class weld::Entry &) -include/vcl/weld.hxx:1299 +include/vcl/weld.hxx:1424 class Size weld::MetricSpinButton::get_size_request() const -include/vcl/weld.hxx:1310 +include/vcl/weld.hxx:1435 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:1357 +include/vcl/weld.hxx:1482 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:1358 +include/vcl/weld.hxx:1483 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:1359 +include/vcl/weld.hxx:1484 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:1360 +include/vcl/weld.hxx:1485 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:1361 - void weld::TimeSpinButton::show(_Bool) -include/vcl/weld.hxx:1362 +include/vcl/weld.hxx:1486 + void weld::TimeSpinButton::show() +include/vcl/weld.hxx:1487 void weld::TimeSpinButton::hide() -include/vcl/weld.hxx:1363 +include/vcl/weld.hxx:1488 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:1364 +include/vcl/weld.hxx:1489 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1413 +include/vcl/weld.hxx:1549 int weld::TextView::vadjustment_get_lower() const -include/vcl/weld.hxx:1477 - void weld::Menu::set_sensitive(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1478 - void weld::Menu::set_active(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1488 +include/vcl/weld.hxx:1636 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1492 - void weld::Menu::append(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1508 +include/vcl/weld.hxx:1656 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1530 +include/vcl/weld.hxx:1678 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:1647 +include/vcl/weld.hxx:1795 class rtl::OUString weld::MessageDialogController::get_primary_text() const -include/vcl/window.hxx:407 +include/vcl/window.hxx:408 const char * ImplDbgCheckWindow(const void *) -include/vcl/window.hxx:1211 +include/vcl/window.hxx:1212 class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35 void openLokDialog(struct _GtkWidget *,void *) @@ -822,10 +918,18 @@ 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 &) -sc/inc/address.hxx:653 +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<int, int, struct std::less<int>, class std::allocator<struct std::pair<const int, int> > > & 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<class ScPatternAttr, struct std::default_delete<class ScPatternAttr> >) sc/inc/columniterator.hxx:82 int sc::ColumnIterator::getType() const sc/inc/datamapper.hxx:79 @@ -834,9 +938,11 @@ 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<class ScPatternAttr, struct std::default_delete<class ScPatternAttr> >) sc/inc/dpfilteredcache.hxx:143 void ScDPFilteredCache::dump() const -sc/inc/formulacell.hxx:487 +sc/inc/formulacell.hxx:489 void ScFormulaCell::Dump() const sc/inc/formulagroup.hxx:141 void sc::FormulaGroupInterpreter::enableOpenCL_UnitTestsOnly() @@ -852,31 +958,39 @@ 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:317 +sc/inc/table.hxx:318 _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<class ScPatternAttr, struct std::default_delete<class ScPatternAttr> >) +sc/inc/table.hxx:1036 + void ScTable::CollectListeners(class std::__debug::vector<class SvtListener *, class std::allocator<class SvtListener *> > &,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 __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/ucalc.hxx:143 void Test::testFormulaHashAndTag() -sc/qa/unit/ucalc.hxx:179 +sc/qa/unit/ucalc.hxx:181 void Test::testSingleCellCopyColumnLabel() -sc/qa/unit/ucalc.hxx:238 +sc/qa/unit/ucalc.hxx:240 void Test::testExternalRefUnresolved() -sc/qa/unit/ucalc.hxx:377 +sc/qa/unit/ucalc.hxx:379 void Test::testCopyPasteSkipEmptyConditionalFormatting() -sc/qa/unit/ucalc.hxx:404 +sc/qa/unit/ucalc.hxx:406 void Test::testSharedFormulaMoveBlock() -sc/qa/unit/ucalc.hxx:517 +sc/qa/unit/ucalc.hxx:522 void Test::testCondFormatUpdateMoveTab() -sc/qa/unit/ucalc.hxx:518 +sc/qa/unit/ucalc.hxx:523 void Test::testCondFormatUpdateDeleteTab() -sc/qa/unit/ucalc.hxx:519 +sc/qa/unit/ucalc.hxx:524 void Test::testCondFormatUpdateInsertTab() -sc/qa/unit/ucalc.hxx:520 +sc/qa/unit/ucalc.hxx:525 void Test::testCondFormatUpdateReference() -sc/qa/unit/ucalc.hxx:530 +sc/qa/unit/ucalc.hxx:535 void Test::testCondFormatListenToOwnRange() sc/source/core/inc/interpre.hxx:73 basic_ostream<type-parameter-?-?, type-parameter-?-?> & sc::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const struct sc::ParamIfsResult &) @@ -902,7 +1016,7 @@ sc/source/core/opencl/op_statistical.hxx:206 sc::opencl::OpGeoMean::OpGeoMean() sc/source/core/tool/scmatrix.cxx:2290 type-parameter-?-? * wrapped_iterator::operator->() const -sc/source/core/tool/scmatrix.cxx:3300 +sc/source/core/tool/scmatrix.cxx:3294 const class svl::SharedString & matop::COp::operator()(char,type-parameter-?-?,double,double,const class svl::SharedString &) const sc/source/filter/inc/htmlpars.hxx:60 void ScHTMLStyles::add(const char *,unsigned long,const char *,unsigned long,const class rtl::OUString &,const class rtl::OUString &) @@ -914,8 +1028,16 @@ sc/source/filter/inc/xestream.hxx:103 class XclExpStream & XclExpStream::operator<<(float) sc/source/filter/inc/xiescher.hxx:154 class Color XclImpDrawObjBase::GetSolidLineColor(const struct XclObjLineData &) const +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<class sax_fastparser::FastAttributeList> &) +sc/source/ui/inc/ChildWindowWrapper.hxx:25 + ChildWindowWrapper::ChildWindowWrapper<WindowID>(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/inc/dataprovider.hxx:56 _Bool sc::CSVFetchThread::IsRequestedTerminate() sc/source/ui/inc/dataprovider.hxx:57 @@ -930,8 +1052,14 @@ 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/RandomNumberGeneratorDialog.hxx:68 +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<signed char>) +sc/source/ui/inc/reffact.hxx:174 + void ScSimpleRefDlgWrapper::SetDefaultPosSize(class Point,class Size) sc/source/ui/inc/TableFillingAndNavigationTools.hxx:120 unsigned long DataRangeIterator::size() sc/source/ui/inc/viewdata.hxx:406 @@ -954,26 +1082,32 @@ sd/source/ui/inc/filedlg.hxx:54 _Bool SdOpenSoundFileDialog::IsInsertAsLinkSelected() sd/source/ui/inc/optsitem.hxx:178 _Bool SdOptionsContents::operator==(const class SdOptionsContents &) const -sd/source/ui/inc/sdtreelb.hxx:349 - class std::__debug::vector<int, class std::allocator<int> > SdPageObjsTLV::get_selected_rows() const 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/source/appl/shutdownicon.hxx:82 +sfx2/source/appl/shutdownicon.hxx:83 class rtl::OUString ShutdownIcon::getShortcutName() -sfx2/source/appl/shutdownicon.hxx:98 +sfx2/source/appl/shutdownicon.hxx:99 class ShutdownIcon * ShutdownIcon::createInstance() -sfx2/source/appl/shutdownicon.hxx:100 +sfx2/source/appl/shutdownicon.hxx:101 void ShutdownIcon::terminateDesktop() -sfx2/source/appl/shutdownicon.hxx:103 +sfx2/source/appl/shutdownicon.hxx:104 void ShutdownIcon::FileOpen() -sfx2/source/appl/shutdownicon.hxx:106 +sfx2/source/appl/shutdownicon.hxx:107 void ShutdownIcon::FromTemplate() -sfx2/source/appl/shutdownicon.hxx:115 +sfx2/source/appl/shutdownicon.hxx:116 class rtl::OUString ShutdownIcon::GetUrlDescription(const class rtl::OUString &) -sfx2/source/appl/shutdownicon.hxx:117 +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 + void xml_parser::parse(const char *,unsigned long,_Bool) +shell/inc/xml_parser.hxx:89 + void xml_parser::set_document_handler(class i_xml_parser_event_handler *) slideshow/source/engine/activities/activitiesfactory.cxx:173 void slideshow::internal::(anonymous namespace)::FromToByActivity::startAnimation() slideshow/source/engine/activities/activitiesfactory.cxx:242 @@ -1136,11 +1270,11 @@ sw/inc/swcrsr.hxx:307 class SwTableCursor * SwTableCursor::GetPrev() sw/inc/swcrsr.hxx:308 const class SwTableCursor * SwTableCursor::GetPrev() const -sw/inc/swrect.hxx:99 +sw/inc/swrect.hxx:100 class SwRect & SwRect::operator-=(const class Point &) -sw/inc/swrect.hxx:105 +sw/inc/swrect.hxx:106 class SvStream & WriteSwRect(class SvStream &,const class SwRect &) -sw/inc/swrect.hxx:147 +sw/inc/swrect.hxx:148 _Bool SwRect::OverStepTop(long) const sw/inc/viscrs.hxx:202 class SwShellTableCursor * SwShellTableCursor::GetNext() @@ -1150,19 +1284,21 @@ 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:620 +sw/qa/extras/inc/swmodeltestbase.hxx:629 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/qa/extras/layout/layout.cxx:2974 + int main() sw/source/core/access/accportions.cxx:73 unsigned long FindBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?) sw/source/core/access/accportions.cxx:77 unsigned long FindLastBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?) sw/source/core/inc/frame.hxx:912 void SwFrame::dumpTopMostAsXml(struct _xmlTextWriter *) const -sw/source/core/inc/frame.hxx:1356 +sw/source/core/inc/frame.hxx:1345 class Size SwRectFnSet::GetSize(const class SwRect &) const -sw/source/core/inc/frame.hxx:1387 +sw/source/core/inc/frame.hxx:1376 long SwRectFnSet::LeftDist(const class SwRect &,long) const -sw/source/core/inc/frame.hxx:1388 +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 @@ -1174,6 +1310,38 @@ sw/source/core/text/txtpaint.hxx:73 DbgRect::DbgRect(class OutputDevice *,const class tools::Rectangle &,const _Bool,class Color) sw/source/filter/ww8/ww8struc.hxx:244 WW8_BRCVer6::WW8_BRCVer6() +sw/source/ui/dbui/createaddresslistdialog.hxx:100 + void SwFindEntryDialog::hide() +sw/source/uibase/inc/bookmark.hxx:49 + int BookmarkTable::n_children() const +sw/source/uibase/inc/condedit.hxx:54 + _Bool ConditionEdit::get_sensitive() const +sw/source/uibase/inc/numfmtlb.hxx:51 + void NumFormatListBox::SetOneArea(_Bool) +sw/source/uibase/inc/numfmtlb.hxx:54 + enum SvNumFormatType NumFormatListBox::GetFormatType() const +sw/source/uibase/inc/numfmtlb.hxx:58 + struct o3tl::strong_int<unsigned short, struct LanguageTypeTag> NumFormatListBox::GetCurLanguage() const +sw/source/uibase/inc/numfmtlb.hxx:59 + void NumFormatListBox::SetLanguage(struct o3tl::strong_int<unsigned short, struct LanguageTypeTag>) +sw/source/uibase/inc/numfmtlb.hxx:61 + void NumFormatListBox::SetAutomaticLanguage(_Bool) +sw/source/uibase/inc/numfmtlb.hxx:62 + _Bool NumFormatListBox::IsAutomaticLanguage() const +sw/source/uibase/inc/numfmtlb.hxx:64 + void NumFormatListBox::SetShowLanguageControl(_Bool) +sw/source/uibase/inc/numfmtlb.hxx:170 + _Bool SwNumFormatTreeView::get_value_changed_from_saved() const +sw/source/uibase/inc/numfmtlb.hxx:171 + void SwNumFormatTreeView::save_value() +sw/source/uibase/inc/numfmtlb.hxx:172 + void SwNumFormatTreeView::show() +sw/source/uibase/inc/numfmtlb.hxx:173 + void SwNumFormatTreeView::hide() +sw/source/uibase/inc/numfmtlb.hxx:179 + void SwNumFormatTreeView::set_sensitive(_Bool) +sw/source/uibase/inc/numfmtlb.hxx:180 + void SwNumFormatTreeView::connect_changed(const class Link<class weld::TreeView &, void> &) sw/source/uibase/inc/swcont.hxx:85 _Bool SwContent::operator==(const class SwContent &) const test/source/sheet/xsubtotalfield.cxx:28 @@ -1200,7 +1368,7 @@ 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:244 +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 @@ -1234,6 +1402,8 @@ 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/regionband.hxx:27 const char * ImplDbgTestRegionBand(const void *) vcl/inc/salgdi.hxx:216 @@ -1250,15 +1420,15 @@ vcl/inc/saltimer.hxx:91 _Bool VersionedEvent::ExistsValidEvent() const vcl/inc/saltimer.hxx:96 _Bool VersionedEvent::IsValidEventVersion(const int) const -vcl/inc/salwtype.hxx:115 +vcl/inc/salwtype.hxx:118 SalMenuEvent::SalMenuEvent() -vcl/inc/schedulerimpl.hxx:37 +vcl/inc/schedulerimpl.hxx:38 const char * ImplSchedulerData::GetDebugName() const vcl/inc/unx/glyphcache.hxx:71 void GlyphCache::ClearFontOptions() vcl/inc/unx/gtk/gtkdata.hxx:192 void GtkSalDisplay::RefreshMenusUnity() -vcl/inc/unx/gtk/gtkinst.hxx:123 +vcl/inc/unx/gtk/gtkinst.hxx:125 void GtkDropTarget::fire_dragExit(const struct com::sun::star::datatransfer::dnd::DropTargetEvent &) vcl/inc/unx/saldata.hxx:68 void X11SalData::initNWF() @@ -1286,7 +1456,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:731 +writerfilter/source/dmapper/DomainMapper_Impl.hxx:734 _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 @@ -1294,9 +1464,7 @@ 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() -writerperfect/qa/unit/EPUBExportTest.cxx:882 - int main() -xmlsecurity/source/gpg/XMLEncryption.hxx:27 +xmlsecurity/source/gpg/XMLEncryption.hxx:25 XMLEncryptionGpg::XMLEncryptionGpg() -xmlsecurity/source/xmlsec/nss/nssinitializer.hxx:44 +xmlsecurity/source/xmlsec/nss/nssinitializer.hxx:45 ONSSInitializer::ONSSInitializer(const class com::sun::star::uno::Reference<class com::sun::star::uno::XComponentContext> &) diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index 7b04154cb03a..ee9ed83fbe32 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -1,4 +1,4 @@ -basctl/source/inc/bastype2.hxx:308 +basctl/source/inc/bastype2.hxx:310 _Bool basctl::SbTreeListBox::get_selected(class weld::TreeIter *) const connectivity/source/inc/java/lang/Object.hxx:117 int connectivity::java_lang_Object::callIntMethodWithIntArg_ThrowRuntime(const char *,struct _jmethodID *&,int) const @@ -50,29 +50,29 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:361 _Bool lok::Document::paste(const char *,const char *,unsigned long) include/LibreOfficeKit/LibreOfficeKit.hxx:392 char * lok::Document::getCommandValues(const char *) -include/LibreOfficeKit/LibreOfficeKit.hxx:474 +include/LibreOfficeKit/LibreOfficeKit.hxx:478 int lok::Document::getView() -include/LibreOfficeKit/LibreOfficeKit.hxx:482 +include/LibreOfficeKit/LibreOfficeKit.hxx:486 int lok::Document::getViewsCount() -include/LibreOfficeKit/LibreOfficeKit.hxx:491 +include/LibreOfficeKit/LibreOfficeKit.hxx:495 unsigned char * lok::Document::renderFont(const char *,const char *,int *,int *) -include/LibreOfficeKit/LibreOfficeKit.hxx:530 +include/LibreOfficeKit/LibreOfficeKit.hxx:534 _Bool lok::Document::getViewIds(int *,unsigned long) -include/LibreOfficeKit/LibreOfficeKit.hxx:591 +include/LibreOfficeKit/LibreOfficeKit.hxx:595 _Bool lok::Document::insertCertificate(const unsigned char *,const int,const unsigned char *,const int) -include/LibreOfficeKit/LibreOfficeKit.hxx:605 +include/LibreOfficeKit/LibreOfficeKit.hxx:609 _Bool lok::Document::addCertificate(const unsigned char *,const int) -include/LibreOfficeKit/LibreOfficeKit.hxx:617 +include/LibreOfficeKit/LibreOfficeKit.hxx:621 int lok::Document::getSignatureState() -include/LibreOfficeKit/LibreOfficeKit.hxx:627 +include/LibreOfficeKit/LibreOfficeKit.hxx:631 unsigned long lok::Document::renderShapeSelection(char **) -include/LibreOfficeKit/LibreOfficeKit.hxx:722 +include/LibreOfficeKit/LibreOfficeKit.hxx:741 char * lok::Office::getFilterTypes() -include/LibreOfficeKit/LibreOfficeKit.hxx:776 +include/LibreOfficeKit/LibreOfficeKit.hxx:795 char * lok::Office::getVersionInfo() -include/LibreOfficeKit/LibreOfficeKit.hxx:790 +include/LibreOfficeKit/LibreOfficeKit.hxx:809 _Bool lok::Office::runMacro(const char *) -include/LibreOfficeKit/LibreOfficeKit.hxx:798 +include/LibreOfficeKit/LibreOfficeKit.hxx:817 _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() @@ -130,9 +130,7 @@ 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:203 - class oox::drawingml::ShapeExport & oox::drawingml::ShapeExport::WriteShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &) -include/oox/export/shapes.hxx:204 +include/oox/export/shapes.hxx:182 class oox::drawingml::ShapeExport & oox::drawingml::ShapeExport::WriteTextBox(const class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> &,int) include/oox/helper/binaryoutputstream.hxx:78 class oox::BinaryOutputStream & oox::BinaryOutputStream::WriteInt16(short) @@ -146,26 +144,40 @@ include/oox/ole/olehelper.hxx:180 _Bool oox::ole::MSConvertOCXControls::importControlFromStream(class oox::BinaryInputStream &,class com::sun::star::uno::Reference<class com::sun::star::form::XFormComponent> &,const class rtl::OUString &) include/oox/ole/olehelper.hxx:191 _Bool oox::ole::MSConvertOCXControls::ReadOCXCtlsStream(const class tools::SvRef<class SotStorageStream> &,class com::sun::star::uno::Reference<class com::sun::star::form::XFormComponent> &,int,int) -include/sax/fshelper.hxx:210 +include/sax/fshelper.hxx:135 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int) -include/sax/fshelper.hxx:211 +include/sax/fshelper.hxx:136 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long) -include/sax/fshelper.hxx:214 +include/sax/fshelper.hxx:139 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::writeEscaped(const char *) -include/sfx2/linkmgr.hxx:64 +include/sfx2/linkmgr.hxx:63 _Bool sfx2::LinkManager::InsertLink(class sfx2::SvBaseLink *,unsigned short,enum SfxLinkUpdateMode,const class rtl::OUString *) -include/sfx2/lnkbase.hxx:103 +include/sfx2/lnkbase.hxx:104 class sfx2::SvLinkSource * sfx2::SvBaseLink::GetRealObject() include/svl/macitem.hxx:92 class SvStream & SvxMacroTableDtor::Write(class SvStream &) const -include/svl/poolitem.hxx:170 - class SvStream & SfxPoolItem::Store(class SvStream &,unsigned short) const -include/svx/dlgctrl.hxx:106 +include/svx/autoformathelper.hxx:208 + _Bool AutoFormatBase::LoadBlockA(class SvStream &,const struct AutoFormatVersions &,unsigned short) +include/svx/autoformathelper.hxx:209 + _Bool AutoFormatBase::LoadBlockB(class SvStream &,const struct AutoFormatVersions &,unsigned short) +include/svx/autoformathelper.hxx:211 + _Bool AutoFormatBase::SaveBlockA(class SvStream &,unsigned short) const +include/svx/autoformathelper.hxx:212 + _Bool AutoFormatBase::SaveBlockB(class SvStream &,unsigned short) const +include/svx/dlgctrl.hxx:102 class Point SvxRectCtl::SetActualRPWithoutInvalidate(enum RectPoint) include/svx/framelink.hxx:195 class svx::frame::Style & svx::frame::Style::MirrorSelf() include/svx/SvxColorValueSet.hxx:55 class Size ColorValueSet::layoutToGivenHeight(unsigned int,unsigned int) +include/test/helper/form.hxx:38 + class com::sun::star::uno::Reference<class com::sun::star::drawing::XControlShape> apitest::helper::form::createCommandButton(const class com::sun::star::uno::Reference<class com::sun::star::lang::XComponent> &,const int,const int,const int,const int) +include/test/helper/shape.hxx:39 + class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> apitest::helper::shape::createEllipse(const class com::sun::star::uno::Reference<class com::sun::star::lang::XComponent> &,const int,const int,const int,const int) +include/test/helper/shape.hxx:53 + class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> apitest::helper::shape::createLine(const class com::sun::star::uno::Reference<class com::sun::star::lang::XComponent> &,const int,const int,const int,const int) +include/test/helper/shape.hxx:67 + class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> apitest::helper::shape::createRectangle(const class com::sun::star::uno::Reference<class com::sun::star::lang::XComponent> &,const int,const int,const int,const int) include/test/sheet/xcellrangedata.hxx:21 class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> apitest::XCellRangeData::init() include/test/sheet/xdocumentauditing.hxx:29 @@ -178,10 +190,6 @@ include/test/sheet/xspreadsheets2.hxx:40 class com::sun::star::uno::Reference<class com::sun::star::lang::XComponent> apitest::XSpreadsheets2::getComponent() include/test/sheet/xusedareacursor.hxx:22 class com::sun::star::uno::Reference<class com::sun::star::uno::XInterface> apitest::XUsedAreaCursor::init() -include/tools/color.hxx:151 - class SvStream & Color::Read(class SvStream &) -include/tools/color.hxx:152 - class SvStream & Color::Write(class SvStream &) const include/tools/config.hxx:38 _Bool Config::ImplUpdateConfig() const include/tools/multisel.hxx:93 @@ -190,7 +198,7 @@ include/vcl/bitmap.hxx:171 _Bool Bitmap::Dither() include/vcl/bitmapex.hxx:241 _Bool BitmapEx::Rotate(long,const class Color &) -include/vcl/filter/PngImageReader.hxx:29 +include/vcl/filter/PngImageReader.hxx:36 _Bool vcl::PngImageReader::read(class BitmapEx &) include/vcl/fontcharmap.hxx:49 class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool) @@ -208,11 +216,11 @@ include/vcl/texteng.hxx:275 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) include/vcl/toolbox.hxx:510 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:356 +include/vcl/weld.hxx:402 _Bool weld::Dialog::runAsync(const class std::function<void (int)> &) -include/vcl/weld.hxx:656 +include/vcl/weld.hxx:717 _Bool weld::TreeView::iter_nth_child(class weld::TreeIter &,int) const -include/vcl/weld.hxx:1396 +include/vcl/weld.hxx:1528 _Bool weld::TextView::get_selection_bounds(int &,int &) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) @@ -220,9 +228,9 @@ 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:1411 +sc/inc/document.hxx:1416 _Bool ScDocument::GetDataAreaSubrange(class ScRange &) const -sc/inc/document.hxx:2133 +sc/inc/document.hxx:2140 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 @@ -286,9 +294,9 @@ sw/inc/calc.hxx:114 class SwSbxValue & SwSbxValue::MakeDouble() sw/inc/doc.hxx:1081 _Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &) -sw/inc/doc.hxx:1242 +sw/inc/doc.hxx:1244 _Bool SwDoc::SetColRowWidthHeight(class SwTableBox &,enum TableChgWidthHeightType,long,long) -sw/inc/doc.hxx:1267 +sw/inc/doc.hxx:1269 _Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool) sw/inc/editsh.hxx:266 _Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const @@ -300,7 +308,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:353 +sw/inc/tblafmt.hxx:285 _Bool SwTableAutoFormatTable::Load(class SvStream &) sw/source/core/inc/laycache.hxx:64 _Bool SwLayoutCache::CompareLayout(const class SwDoc &) const @@ -320,11 +328,11 @@ ucb/source/ucp/webdav-neon/NeonSession.hxx:240 _Bool webdav_ucp::NeonSession::UNLOCK(struct ne_lock *) vcl/inc/font/FeatureCollector.hxx:47 _Bool vcl::font::FeatureCollector::collect() -vcl/inc/opengl/salbmp.hxx:100 +vcl/inc/opengl/salbmp.hxx:101 _Bool OpenGLSalBitmap::ImplScaleFilter(const class rtl::Reference<class OpenGLContext> &,const double &,const double &,unsigned int) -vcl/inc/opengl/salbmp.hxx:102 - _Bool OpenGLSalBitmap::ImplScaleConvolution(const class rtl::Reference<class OpenGLContext> &,const double &,const double &,const class vcl::Kernel &) vcl/inc/opengl/salbmp.hxx:103 + _Bool OpenGLSalBitmap::ImplScaleConvolution(const class rtl::Reference<class OpenGLContext> &,const double &,const double &,const class vcl::Kernel &) +vcl/inc/opengl/salbmp.hxx:104 _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 *) @@ -342,9 +350,9 @@ 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:1226 +vcl/source/gdi/pdfwriter_impl.hxx:1228 _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) -vcl/source/gdi/pdfwriter_impl.hxx:1227 +vcl/source/gdi/pdfwriter_impl.hxx:1229 _Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue) -vcl/source/gdi/pdfwriter_impl.hxx:1228 +vcl/source/gdi/pdfwriter_impl.hxx:1230 _Bool vcl::PDFWriterImpl::setStructureAttributeNumerical(enum vcl::PDFWriter::StructAttribute,int) diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 1b5b92b6b2fb..661312267147 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -86,9 +86,7 @@ public: void SetSelectHdl( const Link<FuncPage&,void>& rLink ) { aSelectionLink = rLink; } - void Show() { m_xContainer->show(); } bool IsVisible() { return m_xContainer->get_visible(); } - void Hide() { m_xContainer->hide(); } }; } // formula diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx index 2aeb01ab0ae4..8cf4b2155d3d 100644 --- a/formula/source/ui/dlg/funcutl.cxx +++ b/formula/source/ui/dlg/funcutl.cxx @@ -308,26 +308,6 @@ void RefEdit::SetRefString( const OUString& rStr ) Edit::SetText( rStr ); } -void RefEdit::SetRefValid(bool bValid) -{ - if (bValid) - { - SetControlForeground(); - SetControlBackground(); - } - else - { -#if 0 - // Setting background color has no effect here so we'd end up with - // white on white! - SetControlForeground(COL_WHITE); - SetControlBackground(0xff6563); -#else - SetControlForeground( ::Color( 0xf0, 0, 0 ) ); -#endif - } -} - void RefEdit::SetText(const OUString& rStr) { Edit::SetText( rStr ); diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx index d83712f46576..fcb536449b21 100644 --- a/formula/source/ui/dlg/structpg.cxx +++ b/formula/source/ui/dlg/structpg.cxx @@ -32,25 +32,6 @@ namespace formula { -StructListBox::StructListBox(vcl::Window* pParent, WinBits nBits ): - SvTreeListBox(pParent, nBits) -{ - vcl::Font aFont( GetFont() ); - Size aSize = aFont.GetFontSize(); - aSize.AdjustHeight(-2); - aFont.SetFontSize( aSize ); - SetFont( aFont ); -} - -SvTreeListEntry* StructListBox::InsertStaticEntry( - const OUString& rText, - const Image& rEntryImg, - SvTreeListEntry* pParent, sal_uLong nPos, const FormulaToken* pToken ) -{ - SvTreeListEntry* pEntry = InsertEntry( rText, rEntryImg, rEntryImg, pParent, false, nPos, - const_cast<FormulaToken*>(pToken) ); - return pEntry; -} void StructPage::SetActiveFlag(bool bFlag) { diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 389c907b7800..531fb366c4d8 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -30,20 +30,6 @@ namespace formula { class FormulaToken; -class StructListBox : public SvTreeListBox -{ -public: - - StructListBox(vcl::Window* pParent, WinBits nBits ); - - /** Inserts an entry with static image (no difference between collapsed/expanded). */ - SvTreeListEntry* InsertStaticEntry( - const OUString& rText, - const Image& rEntryImg, - SvTreeListEntry* pParent, - sal_uLong nPos, - const FormulaToken* pToken ); -}; class StructPage final @@ -85,9 +71,7 @@ public: weld::TreeView& GetTlbStruct() const { return *m_xTlbStruct; } - void Show() { m_xContainer->show(); } bool IsVisible() { return m_xContainer->get_visible(); } - void Hide() { m_xContainer->hide(); } }; } // formula diff --git a/include/formula/funcutl.hxx b/include/formula/funcutl.hxx index 92578e49f8ad..0ed0eb59f004 100644 --- a/include/formula/funcutl.hxx +++ b/include/formula/funcutl.hxx @@ -59,12 +59,6 @@ public: void SetRefString( const OUString& rStr ); - /** - * Flag reference valid or invalid, which in turn changes the visual - * appearance of the control accordingly. - */ - void SetRefValid(bool bValid); - using Edit::SetText; void SetText( const OUString& rStr ) override; @@ -202,10 +196,6 @@ public: void SetReferences( IControlReferenceHandler* pDlg, RefEdit* pEdit ); void SetStartImage(); void SetEndImage(); - void DoRef() - { - Click(); - } }; class FORMULA_DLLPUBLIC WeldRefButton diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 9f712bd8632b..88f4af7d9b74 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -56,8 +56,6 @@ private: protected: SfxModalDialog(vcl::Window *pParent, const OUString& rID, const OUString& rUIXMLDescription); - OUString& GetExtraData() { return aExtraData; } - public: virtual ~SfxModalDialog() override; virtual void dispose() override; diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index 329988c455fd..bc79b36a4bbe 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -86,44 +86,12 @@ public: void showRegion (TemplateContainerItem const *pItem); - void showRegion (const OUString &rName); - - void createContextMenu(const bool bIsDefault ); - DECL_LINK(ContextMenuSelectHdl, Menu*, bool); TemplateContainerItem* getRegion(OUString const & sStr); - sal_uInt16 getRegionId (size_t pos) const; - - sal_uInt16 getRegionId (OUString const & sRegionName) const; - OUString getRegionName(const sal_uInt16 nRegionId) const; - OUString getRegionItemName(const sal_uInt16 nItemId) const; - - std::vector<OUString> getFolderNames (); - - std::vector<TemplateItemProperties> - getFilteredItems (const std::function<bool (const TemplateItemProperties&) > &rFunc) const; - - sal_uInt16 createRegion (const OUString &rName); - - bool renameRegion(const OUString &rTitle, const OUString &rNewTitle); - - bool removeRegion (const sal_uInt16 nItemId); - - bool removeTemplate (const sal_uInt16 nItemId, const sal_uInt16 nSrcItemId); - - bool moveTemplate (const ThumbnailViewItem* pItem, const sal_uInt16 nSrcItem, - const sal_uInt16 nTargetItem); - - void moveTemplates (const std::set<const ThumbnailViewItem*,selection_cmp_fn> &rItems, const sal_uInt16 nTargetItem); - - bool copyFrom(TemplateContainerItem *pItem, const OUString &rPath); - - bool exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, const OUString &rName); - virtual bool renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle) override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; @@ -134,24 +102,14 @@ public: virtual void KeyInput( const KeyEvent& rKEvt ) override; - sal_uInt16 getCurRegionId () const { return mnCurRegionId;} - - void setOpenRegionHdl(const Link<void*,void> &rLink); - void setCreateContextMenuHdl(const Link<ThumbnailViewItem*,void> &rLink); void setOpenTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink); void setEditTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink); - void setDeleteTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink); - - void setDefaultTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink); - void updateThumbnailDimensions(long itemMaxSize); - void RemoveDefaultTemplateIcon( const OUString& rPath); - static BitmapEx scaleImg (const BitmapEx &rImg, long width, long height); static BitmapEx getDefaultThumbnail( const OUString& rPath ); @@ -268,8 +226,6 @@ public: void setDefaultTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink); - void updateThumbnailDimensions(long itemMaxSize); - void RemoveDefaultTemplateIcon( const OUString& rPath); static BitmapEx scaleImg (const BitmapEx &rImg, long width, long height); diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index 1bc476a47fa5..825244b81445 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -226,12 +226,8 @@ public: void ShowTooltips( bool bShowTooltips ); - void SetMultiSelectionEnabled( bool bIsMultiSelectionEnabled ); - void filterItems (const std::function<bool (const ThumbnailViewItem*) > &func); - void setItemStateHdl (const Link<const ThumbnailViewItem*,void> &aLink) { maItemStateHdl = aLink; } - virtual void Resize() override; static BitmapEx readThumbnail(const OUString &msURL); @@ -375,8 +371,6 @@ public: virtual void Resize() override; - static BitmapEx readThumbnail(const OUString &msURL); - virtual void Show() override { mxScrolledWindow->show(); diff --git a/include/svl/eitem.hxx b/include/svl/eitem.hxx index eadf1321b8a9..4d42498f1fb9 100644 --- a/include/svl/eitem.hxx +++ b/include/svl/eitem.hxx @@ -78,8 +78,6 @@ public: , m_bValue(bValue) { } - SfxBoolItem(sal_uInt16 nWhich, SvStream & rStream); - bool GetValue() const { return m_bValue; } void SetValue(bool const bTheValue) { m_bValue = bTheValue; } diff --git a/include/svl/macitem.hxx b/include/svl/macitem.hxx index a397cc6e3bb4..c38223c41d12 100644 --- a/include/svl/macitem.hxx +++ b/include/svl/macitem.hxx @@ -75,8 +75,6 @@ typedef std::map<SvMacroItemId, SvxMacro> SvxMacroTable; #define SVX_MACROTBL_VERSION31 0 #define SVX_MACROTBL_VERSION40 1 -#define SVX_MACROTBL_AKTVERSION SVX_MACROTBL_VERSION40 - class SVL_DLLPUBLIC SvxMacroTableDtor { private: @@ -91,8 +89,6 @@ public: void Read( SvStream & ); SvStream& Write( SvStream & ) const; - static sal_uInt16 GetVersion() { return SVX_MACROTBL_AKTVERSION; } - bool empty() const { return aSvxMacroTable.empty(); } // returns NULL if no entry exists, or a pointer to the internal value diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 1238c7c051d6..1e46c0d9a436 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -100,22 +100,15 @@ public: using SvHeaderTabListBox::SetTabs; - void ClearHeader(); - - void ShowTable(); - void EnableTable(); void DisableTable(); bool IsEnabled() const; void SortByCol(sal_uInt16, bool bDir=true); - bool GetSortDirection(){ return bSortDirection;} sal_uInt16 GetSortedCol(){ return nSortCol;} SvLBoxItem* GetEntryAtPos( SvTreeListEntry* pEntry, sal_uInt16 nPos ) const; - const CommandEvent& GetCommandEvent() const { return aCEvt; } bool IsFocusOnCellEnabled() const { return IsCellFocusEnabled(); } - void SetCommandHdl( const Link<SvSimpleTable*,void>& rLink ) { aCommandLink = rLink; } HeaderBar& GetTheHeaderBar() { return *aHeaderBar; } }; diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index cb0f854821b5..4114042f8f51 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -75,14 +75,6 @@ public: void* pData; }; -/// Entries for list. -class SAL_WARN_UNUSED SvxRedlinEntry : public SvTreeListEntry -{ -public: - SvxRedlinEntry(); - virtual ~SvxRedlinEntry() override; -}; - /// Class for the representation of Strings depending on the font. class SAL_WARN_UNUSED SvLBoxColorString : public SvLBoxString { @@ -91,7 +83,6 @@ private: Color aPrivColor; public: - SvLBoxColorString( const OUString& rStr, const Color& rCol); SvLBoxColorString(); virtual ~SvLBoxColorString() override; @@ -273,7 +264,6 @@ public: void SetRefHdl( const Link<SvxTPFilter*,void>& rLink ) { aRefLink = rLink; } void Enable( bool bEnable = true ); - void Disable(); // } Methods for Calc }; @@ -307,8 +297,6 @@ public: SvxTPView(weld::Container* pParent, weld::Builder* pTopLevel); virtual ~SvxTPView() override; - void InsertWriterHeader(); - void InsertCalcHeader(); SvxRedlinTable* GetTableControl() { return m_xViewData.get(); } void EnableAccept(bool bFlag); diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 5fdb061f7b1e..2fa8f445199f 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -481,10 +481,6 @@ public: { return m_pUIBuilder->get<T>(sID); } - PopupMenu* get_menu(const OString & sID) - { - return m_pUIBuilder->get_menu(sID); - } void setDeferredProperties() { if (!m_pUIBuilder) diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 1571cca6961e..0080e39dfda5 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -78,8 +78,6 @@ public: void EnableAutoSize( bool bAuto ); bool IsAutoSizeEnabled() const; - void EnableDDAutoWidth( bool b ); - virtual void SetText( const OUString& rStr ) override; virtual void SetText( const OUString& rStr, const Selection& rNewSelection ) override; diff --git a/include/vcl/scrbar.hxx b/include/vcl/scrbar.hxx index e900b26b152e..8a2fffac0321 100644 --- a/include/vcl/scrbar.hxx +++ b/include/vcl/scrbar.hxx @@ -132,7 +132,6 @@ public: void SetScrollHdl( const Link<ScrollBar*,void>& rLink ) { maScrollHdl = rLink; } const Link<ScrollBar*,void>& GetScrollHdl() const { return maScrollHdl; } void SetEndScrollHdl( const Link<ScrollBar*,void>& rLink ) { maEndScrollHdl = rLink; } - const Link<ScrollBar*,void>& GetEndScrollHdl() const { return maEndScrollHdl; } virtual Size GetOptimalSize() const override; }; diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index f99219d5f1ff..2f855e0a4b7b 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -437,8 +437,6 @@ public: void SetSelectHdl( const Link<SvTreeListBox*,void>& rNewHdl ) {aSelectHdl=rNewHdl; } void SetDeselectHdl( const Link<SvTreeListBox*,void>& rNewHdl ) {aDeselectHdl=rNewHdl; } void SetDoubleClickHdl(const Link<SvTreeListBox*,bool>& rNewHdl) {aDoubleClickHdl=rNewHdl;} - const Link<SvTreeListBox*,void>& GetSelectHdl() const { return aSelectHdl; } - const Link<SvTreeListBox*,void>& GetDeselectHdl() const { return aDeselectHdl; } const Link<SvTreeListBox*,bool>& GetDoubleClickHdl() const { return aDoubleClickHdl; } void SetExpandingHdl(const Link<SvTreeListBox*,bool>& rNewHdl){aExpandingHdl=rNewHdl;} void SetExpandedHdl(const Link<SvTreeListBox*,void>& rNewHdl){aExpandedHdl=rNewHdl;} diff --git a/include/vcl/viewdataentry.hxx b/include/vcl/viewdataentry.hxx index 8bf5c6a30b8a..5cbed9d6e3ea 100644 --- a/include/vcl/viewdataentry.hxx +++ b/include/vcl/viewdataentry.hxx @@ -68,7 +68,6 @@ public: bool IsDragTarget() const { return mbDragTarget;} void SetFocus( bool bFocus ); void SetSelected( bool bSelected ); - void SetHighlighted( bool bHighlighted ); void SetExpanded( bool bExpanded ); void SetSelectable( bool bSelectable ); void SetDragTarget( bool bDragTarget ) diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx index 10ec9c42d040..e56539eb8717 100644 --- a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx +++ b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx @@ -163,12 +163,6 @@ public: void layoutShape( const ShapePtr& rShape, const std::vector<Constraint>& rConstraints ); - /// Gives access to <dgm:alg type="..."/>. - sal_Int32 getType() const { return mnType; } - - /// Gives access to <dgm:param type="..." val="..."/>. - const ParamMap& getMap() const { return maMap; } - void setAspectRatio(double fAspectRatio) { mfAspectRatio = fAspectRatio; } double getAspectRatio() const { return mfAspectRatio; } diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx index b9279eef5965..5a6676f15500 100644 --- a/sc/inc/autoform.hxx +++ b/sc/inc/autoform.hxx @@ -112,7 +112,6 @@ public: ScAutoFormatDataField( const ScAutoFormatDataField& rCopy ); ~ScAutoFormatDataField(); - const AutoFormatSwBlob& GetAutoFormatSwBlob() const { return m_swFields; } // number format const ScNumFormatAbbrev& GetNumFormat() const { return aNumFormat; } diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 22d8191f616d..bb218ea37c72 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -462,7 +462,6 @@ public: bool* const pIsChanged = nullptr); const ScPatternAttr* SetPattern( SCROW nRow, std::unique_ptr<ScPatternAttr> ); void SetPattern( SCROW nRow, const ScPatternAttr& ); - void SetPatternArea( SCROW nStartRow, SCROW nEndRow, std::unique_ptr<ScPatternAttr> ); void SetPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr& ); void ApplyPatternIfNumberformatIncompatible( const ScRange& rRange, const ScPatternAttr& rPattern, SvNumFormatType nNewType ); diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 6045ec64d270..d36db2e6fef4 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1791,7 +1791,6 @@ public: SCCOL nEndCol, SCROW nEndRow, SCTAB nTab, ScMF nFlags ); - SC_DLLPUBLIC void SetPattern( const ScAddress&, std::unique_ptr<ScPatternAttr> ); SC_DLLPUBLIC void SetPattern( const ScAddress&, const ScPatternAttr& rAttr ); SC_DLLPUBLIC const ScPatternAttr* SetPattern( SCCOL nCol, SCROW nRow, SCTAB nTab, std::unique_ptr<ScPatternAttr> ); SC_DLLPUBLIC void SetPattern( SCCOL nCol, SCROW nRow, SCTAB nTab, const ScPatternAttr& rAttr ); diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 50f6c5f85aef..dbbf7b57d831 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -707,7 +707,6 @@ public: const ScPatternAttr& rAttr, ScEditDataArray* pDataArray = nullptr, bool* const pIsChanged = nullptr ); - void SetPattern( const ScAddress& rPos, std::unique_ptr<ScPatternAttr> ); void SetPattern( const ScAddress& rPos, const ScPatternAttr& rAttr ); const ScPatternAttr* SetPattern( SCCOL nCol, SCROW nRow, std::unique_ptr<ScPatternAttr> ); void SetPattern( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr ); @@ -1033,12 +1032,6 @@ public: */ void BroadcastRecalcOnRefMove(); - void CollectListeners( std::vector<SvtListener*>& rListeners, const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2 ); - - void TransferListeners( - ScTable& rDestTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, - SCCOL nColDelta, SCROW nRowDelta ); - void TransferCellValuesTo( const SCCOL nCol, SCROW nRow, size_t nLen, sc::CellValues& rDest ); void CopyCellValuesFrom( const SCCOL nCol, SCROW nRow, const sc::CellValues& rSrc ); diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx index dca885713b01..e0237000c0ed 100644 --- a/sc/inc/tokenarray.hxx +++ b/sc/inc/tokenarray.hxx @@ -165,13 +165,6 @@ public: const sc::RefUpdateContext& rCxt, const ScAddress& rOldPos, const ScAddress& rNewPos ); /** - * Move reference positions that are within specified moved range. - * - * @param rPos position of this formula cell - */ - sc::RefUpdateResult MoveReference( const ScAddress& rPos, const sc::RefUpdateContext& rCxt ); - - /** * Move reference positions in response to column reordering. A range * reference gets moved only when the whole range fits in a single column. * diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 312f59682ee9..70ee70b8e1f4 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -694,12 +694,6 @@ void ScColumn::SetPattern( SCROW nRow, const ScPatternAttr& rPatAttr ) } void ScColumn::SetPatternArea( SCROW nStartRow, SCROW nEndRow, - std::unique_ptr<ScPatternAttr> pPatAttr ) -{ - pAttrArray->SetPatternArea( nStartRow, nEndRow, std::move(pPatAttr), true/*bPutToPool*/ ); -} - -void ScColumn::SetPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr& rPatAttr ) { pAttrArray->SetPatternArea( nStartRow, nEndRow, &rPatAttr, true/*bPutToPool*/ ); diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 2c132d8c98dd..27127d42d08a 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -1859,18 +1859,6 @@ bool ScTable::BroadcastBroadcasters( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCRO return bBroadcasted; } -void ScTable::TransferListeners( - ScTable& rDestTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, - SCCOL nColDelta, SCROW nRowDelta ) -{ - for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol) - { - ScColumn& rSrcCol = aCol[nCol]; - ScColumn& rDestCol = rDestTab.aCol[nCol+nColDelta]; - rSrcCol.TransferListeners(rDestCol, nRow1, nRow2, nRowDelta); - } -} - void ScTable::SetLoadingMedium(bool bLoading) { mpRowHeights->enableTreeSearch(!bLoading); @@ -2801,12 +2789,6 @@ bool ScTable::RemoveFlags( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCRO return bChanged; } -void ScTable::SetPattern( const ScAddress& rPos, std::unique_ptr<ScPatternAttr> pAttr ) -{ - if (ValidColRow(rPos.Col(),rPos.Row())) - aCol[rPos.Col()].SetPattern( rPos.Row(), std::move(pAttr) ); -} - void ScTable::SetPattern( const ScAddress& rPos, const ScPatternAttr& rAttr ) { if (ValidColRow(rPos.Col(),rPos.Row())) diff --git a/sc/source/core/data/table7.cxx b/sc/source/core/data/table7.cxx index 7b67a096bc96..1b903f45423d 100644 --- a/sc/source/core/data/table7.cxx +++ b/sc/source/core/data/table7.cxx @@ -286,18 +286,6 @@ void ScTable::RegroupFormulaCells( SCCOL nCol ) aCol[nCol].RegroupFormulaCells(); } -void ScTable::CollectListeners( - std::vector<SvtListener*>& rListeners, const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2 ) -{ - if (nCol2 < nCol1 || !IsColValid(nCol1) || !ValidCol(nCol2)) - return; - - const SCCOL nMaxCol2 = std::min<SCCOL>( nCol2, aCol.size() - 1 ); - - for (SCCOL nCol = nCol1; nCol <= nMaxCol2; ++nCol) - aCol[nCol].CollectListeners(rListeners, nRow1, nRow2); -} - bool ScTable::HasFormulaCell( const SCCOL nCol1, SCROW nRow1, const SCCOL nCol2, SCROW nRow2 ) const { if (nCol2 < nCol1 || !IsColValid(nCol1) || !ValidCol(nCol2)) diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 2558d14ab539..0b8b52880dc4 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -3398,90 +3398,6 @@ sc::RefUpdateResult ScTokenArray::AdjustReferenceOnMove( return aRes; } -sc::RefUpdateResult ScTokenArray::MoveReference( const ScAddress& rPos, const sc::RefUpdateContext& rCxt ) -{ - sc::RefUpdateResult aRes; - - ScRange aOldRange = rCxt.maRange; - ScRange aErrorMoveRange( ScAddress::UNINITIALIZED ); - if (!aOldRange.Move(-rCxt.mnColDelta, -rCxt.mnRowDelta, -rCxt.mnTabDelta, aErrorMoveRange)) - { - assert(!"can't move"); - } - - FormulaToken** p = pCode.get(); - FormulaToken** pEnd = p + static_cast<size_t>(nLen); - for (; p != pEnd; ++p) - { - switch ((*p)->GetType()) - { - case svSingleRef: - { - formula::FormulaToken* pToken = *p; - ScSingleRefData& rRef = *pToken->GetSingleRef(); - ScAddress aAbs = rRef.toAbs(rPos); - if (aOldRange.In(aAbs)) - { - ScAddress aErrorPos( ScAddress::UNINITIALIZED ); - if (!aAbs.Move(rCxt.mnColDelta, rCxt.mnRowDelta, rCxt.mnTabDelta, aErrorPos)) - aAbs = aErrorPos; - rRef.SetAddress(aAbs, rPos); - if (rCxt.mnTabDelta) - rRef.SetFlag3D(aAbs.Tab()!=rPos.Tab()); - } - } - break; - case svDoubleRef: - { - formula::FormulaToken* pToken = *p; - ScComplexRefData& rRef = *pToken->GetDoubleRef(); - ScRange aAbs = rRef.toAbs(rPos); - if (aOldRange.In(aAbs)) - { - ScRange aErrorRange( ScAddress::UNINITIALIZED ); - if (!aAbs.Move(rCxt.mnColDelta, rCxt.mnRowDelta, rCxt.mnTabDelta, aErrorRange)) - aAbs = aErrorRange; - rRef.SetRange(aAbs, rPos); - if (rCxt.mnTabDelta) - rRef.Ref1.SetFlag3D(aAbs.aStart.Tab()!=rPos.Tab()); - } - } - break; - case svIndex: - { - switch ((*p)->GetOpCode()) - { - case ocName: - { - SCTAB nOldTab = (*p)->GetSheet(); - if (isNameModified(rCxt.maUpdatedNames, nOldTab, **p)) - aRes.mbNameModified = true; - if (rCxt.mnTabDelta && - rCxt.maRange.aStart.Tab() <= nOldTab && nOldTab <= rCxt.maRange.aEnd.Tab()) - { - aRes.mbNameModified = true; - (*p)->SetSheet( nOldTab + rCxt.mnTabDelta); - } - } - break; - case ocDBArea: - case ocTableRef: - if (isDBDataModified(rCxt.mrDoc, **p)) - aRes.mbNameModified = true; - break; - default: - ; // nothing - } - } - break; - default: - ; - } - } - - return aRes; -} - void ScTokenArray::MoveReferenceColReorder( const ScAddress& rPos, SCTAB nTab, SCROW nRow1, SCROW nRow2, const sc::ColRowReorderMapType& rColMap ) { diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx index 81c421db32bf..c5f783ac18dc 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx @@ -63,21 +63,6 @@ sal_Int8 ScPivotLayoutTreeDropTarget::ExecuteDrop( const ExecuteDropEvent& rEvt return DND_ACTION_NONE; } -bool ScPivotLayoutTreeListBase::HasEntry(const weld::TreeIter& rEntry) -{ - std::unique_ptr<weld::TreeIter> xEntry(mxControl->make_iterator()); - if (!mxControl->get_iter_first(*xEntry)) - return false; - - do - { - if (mxControl->iter_compare(*xEntry, rEntry)) - return true; - } while (mxControl->iter_next(*xEntry)); - - return false; -} - void ScPivotLayoutTreeListBase::PushEntriesToPivotFieldVector(ScPivotFieldVector& rVector) { std::unique_ptr<weld::TreeIter> xEachEntry(mxControl->make_iterator()); diff --git a/sc/source/ui/inc/ChildWindowWrapper.hxx b/sc/source/ui/inc/ChildWindowWrapper.hxx index 1ad232a7b91b..dad043e22143 100644 --- a/sc/source/ui/inc/ChildWindowWrapper.hxx +++ b/sc/source/ui/inc/ChildWindowWrapper.hxx @@ -19,76 +19,6 @@ #include "tabvwsh.hxx" template <sal_Int16 WindowID> -class ChildWindowWrapper : public SfxChildWindow -{ -public: - ChildWindowWrapper( vcl::Window* pParentP, sal_uInt16 nId, - SfxBindings* pBindings, const SfxChildWinInfo* pInfo ) : - SfxChildWindow(pParentP, nId) - { - ScTabViewShell* pViewShell = getTabViewShell( pBindings ); - if (!pViewShell) - pViewShell = dynamic_cast< ScTabViewShell *>( SfxViewShell::Current() ); - OSL_ENSURE(pViewShell, "Missing view shell!"); - - if (pViewShell) - SetWindow( pViewShell->CreateRefDialog( pBindings, this, pInfo, pParentP, WindowID ) ); - else - SetWindow( nullptr ); - - if (pViewShell && !GetWindow()) - pViewShell->GetViewFrame()->SetChildWindow( nId, false ); - } - - static std::unique_ptr<SfxChildWindow> CreateImpl( - vcl::Window *pParent, sal_uInt16 nId, - SfxBindings *pBindings, SfxChildWinInfo* pInfo ) - { - return std::make_unique<ChildWindowWrapper>(pParent, nId, pBindings, pInfo); - } - - static void RegisterChildWindow ( - bool bVisible = false, - SfxModule* pModule = nullptr, - SfxChildWindowFlags nFlags = SfxChildWindowFlags::NONE) - { - auto pFactory = std::make_unique<SfxChildWinFactory>(ChildWindowWrapper::CreateImpl, WindowID, CHILDWIN_NOPOS ); - pFactory->aInfo.nFlags |= nFlags; - pFactory->aInfo.bVisible = bVisible; - SfxChildWindow::RegisterChildWindow(pModule, std::move(pFactory)); - } - - virtual SfxChildWinInfo GetInfo() const override - { - SfxChildWinInfo aInfo = SfxChildWindow::GetInfo(); - static_cast<SfxModelessDialog*>(GetWindow())->FillInfo( aInfo ); - return aInfo; - } - - static sal_uInt16 GetChildWindowId() - { - return WindowID; - } - -private: - static ScTabViewShell* getTabViewShell( const SfxBindings *pBindings ) - { - if( !pBindings ) - return nullptr; - SfxDispatcher* pDispacher = pBindings ->GetDispatcher(); - if( !pDispacher ) - return nullptr; - SfxViewFrame* pFrame = pDispacher->GetFrame(); - if( !pFrame ) - return nullptr; - SfxViewShell* pViewShell = pFrame->GetViewShell(); - if( !pViewShell ) - return nullptr; - return dynamic_cast<ScTabViewShell*>( pViewShell ); - } -}; - -template <sal_Int16 WindowID> class ChildControllerWrapper : public SfxChildWindow { public: diff --git a/sc/source/ui/inc/PivotLayoutTreeListBase.hxx b/sc/source/ui/inc/PivotLayoutTreeListBase.hxx index 4796fdc673ac..701e87b53cff 100644 --- a/sc/source/ui/inc/PivotLayoutTreeListBase.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeListBase.hxx @@ -65,8 +65,6 @@ public: void RemoveEntryForItem(const ScItemValue* pItemValue); - bool HasEntry(const weld::TreeIter& rEntry); - virtual void InsertEntryForSourceTarget(weld::TreeView& rSource, int nTarget); }; diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx index e3a98a3a0f39..71b0ab5d2f08 100644 --- a/sc/source/ui/inc/namemgrtable.hxx +++ b/sc/source/ui/inc/namemgrtable.hxx @@ -70,7 +70,6 @@ public: void GetCurrentLine(ScRangeNameLine& rLine); bool IsMultiSelection(); - bool HasSelection(); std::vector<ScRangeNameLine> GetSelectedEntries(); }; diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx index eac1e2aa3ad2..1aa2bd37eedd 100644 --- a/sc/source/ui/inc/reffact.hxx +++ b/sc/source/ui/inc/reffact.hxx @@ -171,7 +171,6 @@ public: SFX_DECL_CHILDWINDOW_WITHID(Class); - static void SetDefaultPosSize(Point aPos, Size aSize); void SetRefString(const OUString& rStr); void SetCloseHdl( const Link<const OUString*,void>& rLink ); void SetUnoLinks( const Link<const OUString&,void>& rDone, const Link<const OUString&,void>& rAbort, diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx index 492dc7c0e697..b26ad4a95143 100644 --- a/sc/source/ui/view/reffact.cxx +++ b/sc/source/ui/view/reffact.cxx @@ -184,15 +184,6 @@ ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( vcl::Window* pParentP, } } -void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize) -{ - bScSimpleRefFlag=true; - nScSimpleRefX=aPos.X(); - nScSimpleRefY=aPos.Y(); - nScSimpleRefHeight=aSize.Height(); - nScSimpleRefWidth=aSize.Width(); -} - void ScSimpleRefDlgWrapper::SetAutoReOpen(bool bFlag) { bAutoReOpen=bFlag; diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index f4ee597b98ea..80232e4205e2 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -195,18 +195,6 @@ void TemplateLocalView::showRegion(TemplateContainerItem const *pItem) maOpenRegionHdl.Call(nullptr); } -void TemplateLocalView::showRegion(const OUString &rName) -{ - for (auto const & pRegion : maRegions) - { - if (pRegion->maTitle == rName) - { - showRegion(pRegion.get()); - break; - } - } -} - TemplateContainerItem* TemplateLocalView::getRegion(OUString const & rName) { for (auto const & pRegion : maRegions) @@ -216,29 +204,6 @@ TemplateContainerItem* TemplateLocalView::getRegion(OUString const & rName) return nullptr; } -void TemplateLocalView::createContextMenu(const bool bIsDefault) -{ - ScopedVclPtrInstance<PopupMenu> pItemMenu; - pItemMenu->InsertItem(MNI_OPEN,SfxResId(STR_OPEN)); - pItemMenu->InsertItem(MNI_EDIT,SfxResId(STR_EDIT_TEMPLATE)); - - if(!bIsDefault) - pItemMenu->InsertItem(MNI_DEFAULT_TEMPLATE,SfxResId(STR_DEFAULT_TEMPLATE)); - else - pItemMenu->InsertItem(MNI_DEFAULT_TEMPLATE,SfxResId(STR_RESET_DEFAULT)); - - pItemMenu->InsertSeparator(); - pItemMenu->InsertItem(MNI_RENAME,SfxResId(STR_RENAME)); - pItemMenu->InsertItem(MNI_DELETE,SfxResId(STR_DELETE)); - pItemMenu->InsertSeparator(); - deselectItems(); - maSelectedItem->setSelection(true); - maItemStateHdl.Call(maSelectedItem); - pItemMenu->SetSelectHdl(LINK(this, TemplateLocalView, ContextMenuSelectHdl)); - pItemMenu->Execute(this, tools::Rectangle(maPosition,Size(1,1)), PopupMenuFlags::ExecuteDown); - Invalidate(); -} - IMPL_LINK(TemplateLocalView, ContextMenuSelectHdl, Menu*, pMenu, bool) { sal_uInt16 nMenuId = pMenu->GetCurItemId(); @@ -289,448 +254,11 @@ IMPL_LINK(TemplateLocalView, ContextMenuSelectHdl, Menu*, pMenu, bool) return false; } -sal_uInt16 TemplateLocalView::getRegionId(size_t pos) const -{ - assert(pos < maRegions.size()); - - return maRegions[pos]->mnId; -} - -sal_uInt16 TemplateLocalView::getRegionId(OUString const & sRegion) const -{ - for (auto const & pRegion : maRegions) - { - if (pRegion->maTitle == sRegion) - return pRegion->mnId; - } - - return 0; -} - OUString TemplateLocalView::getRegionName(const sal_uInt16 nRegionId) const { return mpDocTemplates->GetRegionName(nRegionId); } -OUString TemplateLocalView::getRegionItemName(const sal_uInt16 nItemId) const -{ - for (auto const & pRegion : maRegions) - { - if (pRegion->mnId == nItemId) - return pRegion->maTitle; - } - - return OUString(); -} - -std::vector<OUString> TemplateLocalView::getFolderNames() -{ - size_t n = maRegions.size(); - std::vector<OUString> ret(n); - - for (size_t i = 0; i < n; ++i) - ret[i] = maRegions[i]->maTitle; - - return ret; -} - -std::vector<TemplateItemProperties> -TemplateLocalView::getFilteredItems(const std::function<bool (const TemplateItemProperties&)> &rFunc) const -{ - std::vector<TemplateItemProperties> aItems; - - if (mnCurRegionId) - { - TemplateContainerItem *pFolderItem = maRegions[mnCurRegionId-1].get(); - - for (TemplateItemProperties & rItemProps : pFolderItem->maTemplates) - { - if (rFunc(rItemProps)) - aItems.push_back(rItemProps); - } - } - else - { - for (auto const & pFolderItem : maRegions) - { - for (const TemplateItemProperties & rItemProps : pFolderItem->maTemplates) - { - if (rFunc(rItemProps)) - aItems.push_back(rItemProps); - } - } - } - - return aItems; -} - -sal_uInt16 TemplateLocalView::createRegion(const OUString &rName) -{ - sal_uInt16 nRegionId = mpDocTemplates->GetRegionCount(); // Next regionId - sal_uInt16 nItemId = getNextItemId(); - - if (!mpDocTemplates->InsertDir(rName,nRegionId)) - return 0; - - // Insert to the region cache list and to the thumbnail item list - std::unique_ptr<TemplateContainerItem> pItem(new TemplateContainerItem( nItemId )); - pItem->mnRegionId = nRegionId; - pItem->maTitle = rName; - - maRegions.push_back(std::move(pItem)); - - return nItemId; -} - -bool TemplateLocalView::renameRegion(const OUString &rTitle, const OUString &rNewTitle) -{ - TemplateContainerItem *pRegion = getRegion(rTitle); - - if(pRegion) - { - sal_uInt16 nRegionId = pRegion->mnRegionId; - return mpDocTemplates->SetName( rNewTitle, nRegionId, USHRT_MAX/*nDocId*/ ); - } - return false; -} - -bool TemplateLocalView::removeRegion(const sal_uInt16 nItemId) -{ - sal_uInt16 nRegionId = USHRT_MAX; - - // Remove from the region cache list - for (auto pRegionIt = maRegions.begin(); pRegionIt != maRegions.end();) - { - if ( (*pRegionIt)->mnId == nItemId ) - { - if (!mpDocTemplates->Delete((*pRegionIt)->mnRegionId,USHRT_MAX)) - return false; - - nRegionId = (*pRegionIt)->mnRegionId; - - pRegionIt = maRegions.erase(pRegionIt); - } - else - { - // Synchronize regions cache ids with SfxDocumentTemplates - if (nRegionId != USHRT_MAX && (*pRegionIt)->mnRegionId > nRegionId) - --(*pRegionIt)->mnRegionId; - - ++pRegionIt; - } - } - - if (nRegionId == USHRT_MAX) - return false; - - // Synchronize view regions ids with SfxDocumentTemplates - for (auto const& region : maRegions) - { - if (region->mnRegionId > nRegionId) - --region->mnRegionId; - } - - return true; -} - -bool TemplateLocalView::removeTemplate (const sal_uInt16 nItemId, const sal_uInt16 nSrcItemId) -{ - for (auto const & pRegion : maRegions) - { - if (pRegion->mnId == nSrcItemId) - { - TemplateContainerItem *pItem = pRegion.get(); - auto pIter = std::find_if(pItem->maTemplates.begin(), pItem->maTemplates.end(), - [nItemId](const TemplateItemProperties& rTemplate) { return rTemplate.nId == nItemId; }); - if (pIter != pItem->maTemplates.end()) - { - if (!mpDocTemplates->Delete(pItem->mnRegionId,pIter->nDocId)) - return false; - - pIter = pItem->maTemplates.erase(pIter); - - if (pRegion->mnRegionId == mnCurRegionId-1) - { - RemoveItem(nItemId); - Invalidate(); - } - - // Update Doc Idx for all templates that follow - for (; pIter != pItem->maTemplates.end(); ++pIter) - pIter->nDocId = pIter->nDocId - 1; - } - - CalculateItemPositions(); - break; - } - } - - return true; -} - -bool TemplateLocalView::moveTemplate (const ThumbnailViewItem *pItem, const sal_uInt16 nSrcItem, - const sal_uInt16 nTargetItem) -{ - TemplateContainerItem *pTarget = nullptr; - TemplateContainerItem *pSrc = nullptr; - - for (auto const & pRegion : maRegions) - { - if (pRegion->mnId == nTargetItem) - pTarget = pRegion.get(); - else if (pRegion->mnId == nSrcItem) - pSrc = pRegion.get(); - } - - if (pTarget && pSrc) - { - sal_uInt16 nSrcRegionId = pSrc->mnRegionId; - sal_uInt16 nTargetRegion = pTarget->mnRegionId; - sal_uInt16 nTargetIdx = mpDocTemplates->GetCount(nTargetRegion); // Next Idx - - const TemplateViewItem *pViewItem = static_cast<const TemplateViewItem*>(pItem); - - bool bCopy = !mpDocTemplates->Move(nTargetRegion,nTargetIdx,nSrcRegionId,pViewItem->mnDocId); - - if (bCopy) - { - OUString sQuery = SfxResId(STR_MSG_QUERY_COPY).replaceFirst("$1", pViewItem->maTitle).replaceFirst("$2", - getRegionName(nTargetRegion)); - - std::unique_ptr<weld::MessageDialog> xQueryDlg(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Question, VclButtonsType::YesNo, sQuery)); - if (xQueryDlg->run() != RET_YES) - return false; - - if (!mpDocTemplates->Copy(nTargetRegion,nTargetIdx,nSrcRegionId,pViewItem->mnDocId)) - return false; - } - // move template to destination - - TemplateItemProperties aTemplateItem; - aTemplateItem.nId = nTargetIdx + 1; - aTemplateItem.nDocId = nTargetIdx; - aTemplateItem.nRegionId = nTargetRegion; - aTemplateItem.aName = pViewItem->maTitle; - aTemplateItem.aPath = mpDocTemplates->GetPath(nTargetRegion,nTargetIdx); - aTemplateItem.aRegionName = pViewItem->maHelpText; - aTemplateItem.aThumbnail = pViewItem->maPreview1; - - pTarget->maTemplates.push_back(aTemplateItem); - - if (!bCopy) - { - // remove template from region cached data - - std::vector<TemplateItemProperties>::iterator aIter; - for (aIter = pSrc->maTemplates.begin(); aIter != pSrc->maTemplates.end();) - { - if (aIter->nDocId == pViewItem->mnDocId) - { - aIter = pSrc->maTemplates.erase(aIter); - } - else - { - // Keep region document id synchronized with SfxDocumentTemplates - if (aIter->nDocId > pViewItem->mnDocId) - --aIter->nDocId; - - ++aIter; - } - } - - // Keep view document id synchronized with SfxDocumentTemplates - for (auto const& item : mItemList) - { - auto pTemplateViewItem = static_cast<TemplateViewItem*>(item.get()); - if (pTemplateViewItem->mnDocId > pViewItem->mnDocId) - --pTemplateViewItem->mnDocId; - } - } - - CalculateItemPositions(); - Invalidate(); - - return true; - } - - return false; -} - -void TemplateLocalView::moveTemplates(const std::set<const ThumbnailViewItem*, selection_cmp_fn> &rItems, - const sal_uInt16 nTargetItem) -{ - TemplateContainerItem *pTarget = nullptr; - TemplateContainerItem *pSrc = nullptr; - - for (auto const & pRegion : maRegions) - { - if (pRegion->mnId == nTargetItem) - pTarget = pRegion.get(); - } - - if (!pTarget) - return; - - bool refresh = false; - - sal_uInt16 nTargetRegion = pTarget->mnRegionId; - sal_uInt16 nTargetIdx = mpDocTemplates->GetCount(nTargetRegion); // Next Idx - std::vector<sal_uInt16> aItemIds; // List of moved items ids (also prevents the invalidation of rItems iterators when we remove them as we go) - - std::set<const ThumbnailViewItem*,selection_cmp_fn>::const_iterator aSelIter; - for ( aSelIter = rItems.begin(); aSelIter != rItems.end(); ++aSelIter, ++nTargetIdx ) - { - const TemplateViewItem *pViewItem = static_cast<const TemplateViewItem*>(*aSelIter); - sal_uInt16 nSrcRegionId = pViewItem->mnRegionId; - - for (auto const & pRegion : maRegions) - { - if (pRegion->mnRegionId == nSrcRegionId) - pSrc = pRegion.get(); - } - - if(pSrc) - { - bool bCopy = !mpDocTemplates->Move(nTargetRegion,nTargetIdx,nSrcRegionId,pViewItem->mnDocId); - - if (bCopy) - { - OUString sQuery = SfxResId(STR_MSG_QUERY_COPY).replaceFirst("$1", pViewItem->maTitle).replaceFirst("$2", - getRegionName(nTargetRegion)); - std::unique_ptr<weld::MessageDialog> xQueryDlg(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Question, VclButtonsType::YesNo, sQuery)); - if (xQueryDlg->run() != RET_YES) - { - OUString sMsg(SfxResId(STR_MSG_ERROR_LOCAL_MOVE)); - sMsg = sMsg.replaceFirst("$1",getRegionName(nTargetRegion)); - std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(), - VclMessageType::Warning, VclButtonsType::Ok, sMsg.replaceFirst( "$2",pViewItem->maTitle))); - xBox->run(); - - return; //return if any single move operation fails - } - - if (!mpDocTemplates->Copy(nTargetRegion,nTargetIdx,nSrcRegionId,pViewItem->mnDocId)) - { - continue; - } - } - - // move template to destination - - TemplateItemProperties aTemplateItem; - aTemplateItem.nId = nTargetIdx + 1; - aTemplateItem.nDocId = nTargetIdx; - aTemplateItem.nRegionId = nTargetRegion; - aTemplateItem.aName = pViewItem->maTitle; - aTemplateItem.aPath = mpDocTemplates->GetPath(nTargetRegion,nTargetIdx); - aTemplateItem.aRegionName = pViewItem->maHelpText; - aTemplateItem.aThumbnail = pViewItem->maPreview1; - - pTarget->maTemplates.push_back(aTemplateItem); - - if (!bCopy) - { - // remove template from region cached data - - std::vector<TemplateItemProperties>::iterator pPropIter; - for (pPropIter = pSrc->maTemplates.begin(); pPropIter != pSrc->maTemplates.end();) - { - if (pPropIter->nDocId == pViewItem->mnDocId) - { - pPropIter = pSrc->maTemplates.erase(pPropIter); - aItemIds.push_back(pViewItem->mnDocId + 1);//mnid - } - else - { - // Keep region document id synchronized with SfxDocumentTemplates - if (pPropIter->nDocId > pViewItem->mnDocId) - --pPropIter->nDocId; - - ++pPropIter; - } - } - - // Keep view document id synchronized with SfxDocumentTemplates - for (auto const& item : mItemList) - { - auto pTemplateViewItem = static_cast<TemplateViewItem*>(item.get()); - if (pTemplateViewItem->mnDocId > pViewItem->mnDocId) - --pTemplateViewItem->mnDocId; - } - } - } - - refresh = true; - } - - // Remove items from the current view - for (auto const& itemId : aItemIds) - RemoveItem(itemId); - - if (refresh) - { - CalculateItemPositions(); - Invalidate(); - } -} - -bool TemplateLocalView::copyFrom (TemplateContainerItem *pItem, const OUString &rPath) -{ - sal_uInt16 nId = 1; - sal_uInt16 nDocId = 0; - sal_uInt16 nRegionId = pItem->mnRegionId; - OUString aPath(rPath); - - if (!pItem->maTemplates.empty()) - { - nId = pItem->maTemplates.back().nId+1; - nDocId = pItem->maTemplates.back().nDocId+1; - } - - if (mpDocTemplates->CopyFrom(nRegionId,nDocId,aPath)) - { - TemplateItemProperties aTemplate; - aTemplate.nId = nId; - aTemplate.nDocId = nDocId; - aTemplate.nRegionId = nRegionId; - aTemplate.aName = aPath; - aTemplate.aThumbnail = TemplateLocalView::fetchThumbnail(rPath, - TEMPLATE_THUMBNAIL_MAX_WIDTH, - TEMPLATE_THUMBNAIL_MAX_HEIGHT); - aTemplate.aPath = rPath; - aTemplate.aRegionName = getRegionName(nRegionId); - - pItem->maTemplates.push_back(aTemplate); - - CalculateItemPositions(); - - return true; - } - - return false; -} - -bool TemplateLocalView::exportTo(const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, const OUString &rName) -{ - for (auto const & pRegItem : maRegions) - { - if (pRegItem->mnId == nRegionItemId) - { - for (auto const& elem : pRegItem->maTemplates) - { - if (elem.nId == nItemId) - { - return mpDocTemplates->CopyTo(pRegItem->mnRegionId,elem.nDocId,rName); - } - } - - break; - } - } - - return false; -} - bool TemplateLocalView::renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle) { sal_uInt16 nRegionId = 0; @@ -901,11 +429,6 @@ void TemplateLocalView::KeyInput( const KeyEvent& rKEvt ) } -void TemplateLocalView::setOpenRegionHdl(const Link<void*,void> &rLink) -{ - maOpenRegionHdl = rLink; -} - void TemplateLocalView::setCreateContextMenuHdl(const Link<ThumbnailViewItem*,void> &rLink) { maCreateContextMenuHdl = rLink; @@ -921,16 +444,6 @@ void TemplateLocalView::setEditTemplateHdl(const Link<ThumbnailViewItem*,void> & maEditTemplateHdl = rLink; } -void TemplateLocalView::setDeleteTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink) -{ - maDeleteTemplateHdl = rLink; -} - -void TemplateLocalView::setDefaultTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink) -{ - maDefaultTemplateHdl = rLink; -} - BitmapEx TemplateLocalView::scaleImg (const BitmapEx &rImg, long width, long height) { BitmapEx aImg = rImg; @@ -969,20 +482,6 @@ bool TemplateLocalView::IsDefaultTemplate(const OUString& rPath) return false; } -void TemplateLocalView::RemoveDefaultTemplateIcon(const OUString& rPath) -{ - for (std::unique_ptr<ThumbnailViewItem>& pItem : mItemList) - { - TemplateViewItem* pViewItem = dynamic_cast<TemplateViewItem*>(pItem.get()); - if (pViewItem && pViewItem->getPath().match(rPath)) - { - pViewItem->showDefaultIcon(false); - Invalidate(); - return; - } - } -} - BitmapEx TemplateLocalView::getDefaultThumbnail( const OUString& rPath ) { BitmapEx aImg; @@ -1694,12 +1193,6 @@ void SfxTemplateLocalView::insertItems(const std::vector<TemplateItemProperties> updateItems(std::move(aItems)); } -void SfxTemplateLocalView::updateThumbnailDimensions(long itemMaxSize) -{ - mnThumbnailWidth = itemMaxSize; - mnThumbnailHeight = itemMaxSize; -} - bool SfxTemplateLocalView::MouseButtonDown( const MouseEvent& rMEvt ) { GrabFocus(); diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index b3a2d9f141b9..2343aeee11f7 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -1159,11 +1159,6 @@ void ThumbnailView::ShowTooltips( bool bShowTooltips ) mbShowTooltips = bShowTooltips; } -void ThumbnailView::SetMultiSelectionEnabled( bool bIsMultiSelectionEnabled ) -{ - mbIsMultiSelectionEnabled = bIsMultiSelectionEnabled; -} - void ThumbnailView::filterItems(const std::function<bool (const ThumbnailViewItem*)> &func) { mnFirstLine = 0; // start at the top of the list instead of the current position @@ -2390,98 +2385,4 @@ void SfxThumbnailView::filterItems(const std::function<bool (const ThumbnailView Invalidate(); } -BitmapEx SfxThumbnailView::readThumbnail(const OUString &msURL) -{ - using namespace ::com::sun::star; - using namespace ::com::sun::star::uno; - - // Load the thumbnail from a template document. - uno::Reference<io::XInputStream> xIStream; - - uno::Reference< uno::XComponentContext > xContext(::comphelper::getProcessComponentContext()); - try - { - uno::Reference<lang::XSingleServiceFactory> xStorageFactory = embed::StorageFactory::create(xContext); - - uno::Sequence<uno::Any> aArgs (2); - aArgs[0] <<= msURL; - aArgs[1] <<= embed::ElementModes::READ; - uno::Reference<embed::XStorage> xDocStorage ( - xStorageFactory->createInstanceWithArguments(aArgs), - uno::UNO_QUERY); - - try - { - if (xDocStorage.is()) - { - uno::Reference<embed::XStorage> xStorage ( - xDocStorage->openStorageElement( - "Thumbnails", - embed::ElementModes::READ)); - if (xStorage.is()) - { - uno::Reference<io::XStream> xThumbnailCopy ( - xStorage->cloneStreamElement("thumbnail.png")); - if (xThumbnailCopy.is()) - xIStream = xThumbnailCopy->getInputStream(); - } - } - } - catch (const uno::Exception& rException) - { - SAL_WARN("sfx", - "caught exception while trying to access Thumbnail/thumbnail.png of " - << msURL << ": " << rException); - } - - try - { - // An (older) implementation had a bug - The storage - // name was "Thumbnail" instead of "Thumbnails". The - // old name is still used as fallback but this code can - // be removed soon. - if ( ! xIStream.is()) - { - uno::Reference<embed::XStorage> xStorage ( - xDocStorage->openStorageElement( "Thumbnail", - embed::ElementModes::READ)); - if (xStorage.is()) - { - uno::Reference<io::XStream> xThumbnailCopy ( - xStorage->cloneStreamElement("thumbnail.png")); - if (xThumbnailCopy.is()) - xIStream = xThumbnailCopy->getInputStream(); - } - } - } - catch (const uno::Exception& rException) - { - SAL_WARN("sfx", - "caught exception while trying to access Thumbnails/thumbnail.png of " - << msURL << ": " << rException); - } - } - catch (const uno::Exception& rException) - { - SAL_WARN("sfx", - "caught exception while trying to access thumbnail of " - << msURL << ": " << rException); - } - - // Extract the image from the stream. - BitmapEx aThumbnail; - if (xIStream.is()) - { - std::unique_ptr<SvStream> pStream ( - ::utl::UcbStreamHelper::CreateStream (xIStream)); - vcl::PNGReader aReader (*pStream); - aThumbnail = aReader.Read (); - } - - // Note that the preview is returned without scaling it to the desired - // width. This gives the caller the chance to take advantage of a - // possibly larger resolution then was asked for. - return aThumbnail; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index 8a802525c75d..a659920c4ef3 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -560,31 +560,6 @@ SfxThumbnailViewAcc::~SfxThumbnailViewAcc() { } -void SfxThumbnailViewAcc::FireAccessibleEvent( short nEventId, const uno::Any& rOldValue, const uno::Any& rNewValue ) -{ - if( !nEventId ) - return; - - ::std::vector< uno::Reference< accessibility::XAccessibleEventListener > > aTmpListeners( mxEventListeners ); - accessibility::AccessibleEventObject aEvtObject; - - aEvtObject.EventId = nEventId; - aEvtObject.Source = static_cast<uno::XWeak*>(this); - aEvtObject.NewValue = rNewValue; - aEvtObject.OldValue = rOldValue; - - for (auto const& tmpListener : aTmpListeners) - { - try - { - tmpListener->notifyEvent( aEvtObject ); - } - catch(const uno::Exception&) - { - } - } -} - namespace { class theSfxValueSetAccUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theSfxValueSetAccUnoTunnelId > {}; diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx index 577c11941a47..5eab7ffd9255 100644 --- a/sfx2/source/control/thumbnailviewacc.hxx +++ b/sfx2/source/control/thumbnailviewacc.hxx @@ -168,10 +168,6 @@ public: SfxThumbnailViewAcc( SfxThumbnailView* pParent ); virtual ~SfxThumbnailViewAcc() override; - void FireAccessibleEvent( short nEventId, - const css::uno::Any& rOldValue, - const css::uno::Any& rNewValue ); - public: // XAccessible diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx index 3889d72a924c..6646647d763e 100644 --- a/svl/source/items/cenumitm.cxx +++ b/svl/source/items/cenumitm.cxx @@ -89,14 +89,6 @@ SfxPoolItem* SfxBoolItem::CreateDefault() return new SfxBoolItem(); } -SfxBoolItem::SfxBoolItem(sal_uInt16 const nWhich, SvStream & rStream) - : SfxPoolItem(nWhich) -{ - bool tmp = false; - rStream.ReadCharAsBool( tmp ); - m_bValue = tmp; -} - // virtual bool SfxBoolItem::operator ==(const SfxPoolItem & rItem) const { diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx index 3c7fac91143a..4eeaa823e2a3 100644 --- a/svl/source/items/macitem.cxx +++ b/svl/source/items/macitem.cxx @@ -138,7 +138,7 @@ SvStream& SvxMacroTableDtor::Write( SvStream& rStream ) const { sal_uInt16 nVersion = SOFFICE_FILEFORMAT_31 == rStream.GetVersion() ? SVX_MACROTBL_VERSION31 - : SVX_MACROTBL_AKTVERSION; + : SVX_MACROTBL_VERSION40; if( SVX_MACROTBL_VERSION40 <= nVersion ) rStream.WriteUInt16( nVersion ); diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index 48436fd617a7..bbc1a1e347c7 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -242,16 +242,6 @@ void SvSimpleTable::InsertHeaderEntry(const OUString& rText, SetTabs(); } -void SvSimpleTable::ClearHeader() -{ - aHeaderBar->Clear(); -} - -void SvSimpleTable::ShowTable() -{ - m_rParentTableContainer.Show(); -} - void SvSimpleTable::EnableTable() { m_rParentTableContainer.Enable(); diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index b003402a020b..495bce023485 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -48,24 +48,6 @@ RedlinData::~RedlinData() { } -SvxRedlinEntry::SvxRedlinEntry() - : SvTreeListEntry() -{ -} - -SvxRedlinEntry::~SvxRedlinEntry() -{ - RedlinData* pRedDat=static_cast<RedlinData*>(GetUserData()); - delete pRedDat; -} - -SvLBoxColorString::SvLBoxColorString(const OUString& rStr, const Color& rCol) - : SvLBoxString(rStr) -{ - aPrivColor=rCol; - SetText( rStr ); -} - SvLBoxColorString::SvLBoxColorString() : SvLBoxString() { @@ -947,11 +929,6 @@ void SvxTPFilter::Enable(bool bEnable) } } -void SvxTPFilter::Disable() -{ - Enable( false ); -} - IMPL_LINK(SvxTPFilter, ModifyDate, SvtCalendarBox&, rTF, void) { Date aDate( Date::SYSTEM ); diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx index 33bbb790fdd3..0fbfcb62bcc1 100644 --- a/vcl/inc/printdlg.hxx +++ b/vcl/inc/printdlg.hxx @@ -269,7 +269,6 @@ namespace vcl bool isCanceled() const { return mbCanceled; } void setProgress( int i_nCurrent ); void tick(); - void reset(); }; } diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 0b5ad0ad624a..ddb644658a12 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -516,11 +516,6 @@ void ComboBox::EnableSelectAll() { m_pImpl->m_pSubEdit->SetSelectAllSingleClick(true); } -void ComboBox::EnableDDAutoWidth( bool b ) -{ - if (m_pImpl->m_pFloatWin) - m_pImpl->m_pFloatWin->SetAutoWidth( b ); -} void ComboBox::SetDropDownLineCount( sal_uInt16 nLines ) { diff --git a/vcl/source/treelist/viewdataentry.cxx b/vcl/source/treelist/viewdataentry.cxx index 855108d3e5e9..76a3fc7e3c7e 100644 --- a/vcl/source/treelist/viewdataentry.cxx +++ b/vcl/source/treelist/viewdataentry.cxx @@ -61,11 +61,6 @@ void SvViewDataEntry::SetSelected( bool bSelected ) mbHighlighted = bSelected; } -void SvViewDataEntry::SetHighlighted( bool bHighlighted ) -{ - mbHighlighted = bHighlighted; -} - void SvViewDataEntry::SetExpanded( bool bExpanded ) { mbExpanded = bExpanded; diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 9ece9c929ffd..c1365e887526 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -2184,9 +2184,3 @@ void PrintProgressDialog::tick() if( mnCur < mnMax ) setProgress( ++mnCur ); } - -void PrintProgressDialog::reset() -{ - mbCanceled = false; - setProgress( 0 ); -} |