diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-07 16:10:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-08 07:38:13 +0100 |
commit | 8355de8778d67464fb654c37f9c120561da31a28 (patch) | |
tree | 62e4c935583cfe3a0ab600418d0aba6f0f591131 | |
parent | 906f8e89370cc71215ade869d7bfc2d489343f64 (diff) |
loplugin:unusedmethods
Change-Id: Id5cddc6d85e227f18d10d7af6a8d4b25c40ab9f3
Reviewed-on: https://gerrit.libreoffice.org/63026
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | compilerplugins/clang/unusedmethods.results | 134 | ||||
-rw-r--r-- | compilerplugins/clang/unusedmethods.unused-returns.results | 36 | ||||
-rw-r--r-- | editeng/inc/editdoc.hxx | 2 | ||||
-rw-r--r-- | include/oox/core/filterbase.hxx | 4 | ||||
-rw-r--r-- | include/oox/drawingml/shape.hxx | 8 | ||||
-rw-r--r-- | oox/inc/drawingml/diagram/diagram.hxx | 6 | ||||
-rw-r--r-- | oox/source/core/filterbase.cxx | 5 | ||||
-rw-r--r-- | oox/source/drawingml/diagram/diagram.cxx | 51 | ||||
-rw-r--r-- | oox/source/drawingml/shape.cxx | 8 | ||||
-rw-r--r-- | vcl/source/gdi/pdfbuildin_fonts.hxx | 1 |
10 files changed, 81 insertions, 174 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index bc822e40f642..33a9408b48b0 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -8,14 +8,6 @@ basic/source/inc/buffer.hxx:46 void SbiBuffer::operator+=(int) canvas/source/vcl/impltools.hxx:105 vclcanvas::tools::LocalGuard::LocalGuard() -chart2/source/controller/inc/res_LegendPosition.hxx:36 - chart::LegendPositionResources::LegendPositionResources(class weld::Builder &) -chart2/source/controller/inc/res_LegendPosition.hxx:45 - void chart::LegendPositionResources::initFromItemSet(const class SfxItemSet &) -chart2/source/controller/inc/res_LegendPosition.hxx:46 - void chart::LegendPositionResources::writeToItemSet(class SfxItemSet &) const -chart2/source/controller/inc/res_LegendPosition.hxx:85 - void chart::SchLegendPositionResources::SetChangeHdl(const class Link<class LinkParamNone *, void> &) connectivity/source/drivers/evoab2/NResultSetMetaData.hxx:51 class com::sun::star::uno::Reference<class com::sun::star::sdbc::XResultSetMetaData> connectivity::evoab::OEvoabResultSetMetaData::operator Reference() connectivity/source/drivers/firebird/Driver.hxx:65 @@ -60,8 +52,6 @@ dbaccess/source/filter/hsqldb/parseschema.hxx:82 const class std::__debug::map<class rtl::OUString, class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> >, struct std::less<class rtl::OUString>, class std::allocator<struct std::pair<const class rtl::OUString, class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > > > > & dbahsql::SchemaParser::getPrimaryKeys() const dbaccess/source/ui/browser/genericcontroller.cxx:1213 const type-parameter-?-? & dbaui::(anonymous namespace)::SGI_identity::operator()(const type-parameter-?-? &) const -dbaccess/source/ui/dlg/admincontrols.hxx:99 - _Bool dbaui::DBMySQLNativeSettings::canAdvance() const dbaccess/source/ui/inc/dsmeta.hxx:88 class __gnu_debug::_Safe_iterator<struct std::_Rb_tree_const_iterator<int>, class std::__debug::set<int, struct std::less<int>, class std::allocator<int> > > dbaui::FeatureSet::begin() const dbaccess/source/ui/inc/dsmeta.hxx:89 @@ -106,12 +96,12 @@ drawinglayer/source/tools/emfpstringformat.hxx:57 _Bool emfplushelper::EMFPStringFormat::NoClip() const drawinglayer/source/tools/emfpstringformat.hxx:58 _Bool emfplushelper::EMFPStringFormat::BypassGDI() const +editeng/inc/editdoc.hxx:432 + _Bool TextPortion::HasValidSize() const 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 -editeng/source/editeng/editobj2.hxx:114 - enum OutDevType XParaPortionList::GetRefDevType() const extensions/source/scanner/scanner.hxx:81 void ScannerManager::SetData(void *) framework/source/uiconfiguration/ImageList.hxx:51 @@ -532,6 +522,12 @@ include/o3tl/typed_flags_set.hxx:348 typename typed_flags<type-parameter-?-?>::Self operator^=(type-parameter-?-? &,typename typed_flags<type-parameter-?-?>::Wrap) include/o3tl/vector_pool.hxx:83 o3tl::detail::struct_from_value::type::type() +include/oox/core/filterbase.hxx:136 + const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> & oox::core::FilterBase::getParentShape() const +include/oox/drawingml/shape.hxx:184 + void oox::drawingml::Shape::addChildren(class oox::core::XmlFilterBase &,const class oox::drawingml::Theme *,const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShapes> &,const class basegfx::B2DHomMatrix &) +include/oox/drawingml/shape.hxx:190 + void oox::drawingml::Shape::setXShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &) include/oox/helper/containerhelper.hxx:51 _Bool oox::ValueRange::operator!=(const struct oox::ValueRange &) const include/oox/helper/containerhelper.hxx:99 @@ -558,12 +554,16 @@ 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:216 +include/sfx2/basedlgs.hxx:137 + void SfxModelessDialogController::FillInfo(struct SfxChildWinInfo &) const +include/sfx2/basedlgs.hxx:244 class weld::Button & SfxSingleTabDialogController::GetOKButton() const include/sfx2/charwin.hxx:63 void SvxCharView::connect_focus_in(const class Link<class weld::Widget &, void> &) include/sfx2/charwin.hxx:64 void SvxCharView::connect_focus_out(const class Link<class weld::Widget &, void> &) +include/sfx2/childwin.hxx:166 + void SfxChildWindow::ClearController() include/sfx2/docfilt.hxx:83 _Bool SfxFilter::GetGpgEncryption() const include/sfx2/lokcharthelper.hxx:41 @@ -572,8 +572,6 @@ include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const include/sfx2/sidebar/Context.hxx:55 _Bool sfx2::sidebar::Context::operator==(const class sfx2::sidebar::Context &) const -include/sfx2/tabdlg.hxx:183 - void SfxTabDialog::RemoveResetButton() include/svl/itempool.hxx:167 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const include/svl/itempool.hxx:196 @@ -596,7 +594,7 @@ include/svx/dlgctrl.hxx:295 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/svdlayer.hxx:76 +include/svx/svdlayer.hxx:75 _Bool SdrLayer::operator==(const class SdrLayer &) const include/svx/svdpntv.hxx:462 _Bool SdrPaintView::IsSwapAsynchron() const @@ -776,59 +774,59 @@ include/vcl/weld.hxx:149 enum VclPolicyType weld::ScrolledWindow::get_hpolicy() const include/vcl/weld.hxx:179 class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const -include/vcl/weld.hxx:206 +include/vcl/weld.hxx:213 struct SystemEnvData weld::Window::get_system_data() const -include/vcl/weld.hxx:384 +include/vcl/weld.hxx:393 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:397 +include/vcl/weld.hxx:406 void weld::TreeView::set_top_entry(int) -include/vcl/weld.hxx:428 +include/vcl/weld.hxx:437 void weld::TreeView::select_all() -include/vcl/weld.hxx:520 +include/vcl/weld.hxx:529 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:528 +include/vcl/weld.hxx:537 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:532 +include/vcl/weld.hxx:541 void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &) -include/vcl/weld.hxx:585 +include/vcl/weld.hxx:594 void weld::Entry::signal_insert_text(class rtl::OUString &) -include/vcl/weld.hxx:597 +include/vcl/weld.hxx:606 int weld::Entry::get_position() const -include/vcl/weld.hxx:657 +include/vcl/weld.hxx:666 int weld::SpinButton::get_min() const -include/vcl/weld.hxx:932 - class Size weld::MetricSpinButton::get_size_request() const include/vcl/weld.hxx:943 + class Size weld::MetricSpinButton::get_size_request() const +include/vcl/weld.hxx:954 void weld::MetricSpinButton::set_position(int) -include/vcl/weld.hxx:990 +include/vcl/weld.hxx:1001 _Bool weld::TimeSpinButton::get_sensitive() const -include/vcl/weld.hxx:991 +include/vcl/weld.hxx:1002 _Bool weld::TimeSpinButton::get_visible() const -include/vcl/weld.hxx:992 +include/vcl/weld.hxx:1003 void weld::TimeSpinButton::grab_focus() -include/vcl/weld.hxx:993 +include/vcl/weld.hxx:1004 _Bool weld::TimeSpinButton::has_focus() const -include/vcl/weld.hxx:994 +include/vcl/weld.hxx:1005 void weld::TimeSpinButton::show(_Bool) -include/vcl/weld.hxx:995 +include/vcl/weld.hxx:1006 void weld::TimeSpinButton::hide() -include/vcl/weld.hxx:996 +include/vcl/weld.hxx:1007 void weld::TimeSpinButton::save_value() -include/vcl/weld.hxx:997 +include/vcl/weld.hxx:1008 _Bool weld::TimeSpinButton::get_value_changed_from_saved() const -include/vcl/weld.hxx:1088 +include/vcl/weld.hxx:1099 void weld::DrawingArea::connect_key_release(const class Link<const class KeyEvent &, _Bool> &) -include/vcl/weld.hxx:1115 +include/vcl/weld.hxx:1126 void weld::Menu::set_active(const class rtl::OString &,_Bool) -include/vcl/weld.hxx:1125 +include/vcl/weld.hxx:1136 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1129 +include/vcl/weld.hxx:1140 void weld::Menu::append(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1145 +include/vcl/weld.hxx:1156 void weld::SizeGroup::set_mode(enum VclSizeGroupMode) -include/vcl/weld.hxx:1167 +include/vcl/weld.hxx:1178 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:1275 +include/vcl/weld.hxx:1286 class rtl::OUString weld::MessageDialogController::get_primary_text() const include/vcl/window.hxx:430 const char * ImplDbgCheckWindow(const void *) @@ -844,27 +842,27 @@ o3tl/qa/cow_wrapper_clients.hxx:142 _Bool o3tltests::cow_wrapper_client4::operator<(const class o3tltests::cow_wrapper_client4 &) const o3tl/qa/cow_wrapper_clients.hxx:193 _Bool o3tltests::cow_wrapper_client5::operator!=(const class o3tltests::cow_wrapper_client5 &) const +oox/inc/drawingml/diagram/diagram.hxx:45 + void oox::drawingml::loadDiagram(const class std::shared_ptr<class oox::drawingml::Shape> &,class oox::core::XmlFilterBase &,const class com::sun::star::uno::Reference<class com::sun::star::xml::dom::XDocument> &,const class com::sun::star::uno::Reference<class com::sun::star::xml::dom::XDocument> &,const class com::sun::star::uno::Reference<class com::sun::star::xml::dom::XDocument> &,const class com::sun::star::uno::Reference<class com::sun::star::xml::dom::XDocument> &) 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 &) -reportdesign/source/ui/inc/PageNumber.hxx:52 - void rptui::OPageNumberDialog::execute() sc/inc/address.hxx:651 _Bool ScRange::operator<=(const class ScRange &) const sc/inc/bigrange.hxx:73 _Bool ScBigAddress::operator!=(const class ScBigAddress &) const sc/inc/columniterator.hxx:82 int sc::ColumnIterator::getType() const -sc/inc/datamapper.hxx:80 +sc/inc/datamapper.hxx:79 void sc::ExternalDataSource::setUpdateFrequency(double) -sc/inc/datamapper.hxx:83 +sc/inc/datamapper.hxx:82 void sc::ExternalDataSource::setURL(const class rtl::OUString &) -sc/inc/datamapper.hxx:84 +sc/inc/datamapper.hxx:83 void sc::ExternalDataSource::setProvider(const class rtl::OUString &) sc/inc/dpfilteredcache.hxx:143 void ScDPFilteredCache::dump() const -sc/inc/formulacell.hxx:460 +sc/inc/formulacell.hxx:459 void ScFormulaCell::Dump() const sc/inc/formulagroup.hxx:141 void sc::FormulaGroupInterpreter::enableOpenCL_UnitTestsOnly() @@ -876,7 +874,7 @@ 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:323 +sc/inc/table.hxx:324 _Bool ScTable::IsColRowTabValid(const short,const int,const short) const 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 @@ -928,7 +926,7 @@ sc/source/filter/inc/tokstack.hxx:213 _Bool TokenPool::GrowTripel(unsigned short) sc/source/filter/inc/xestream.hxx:103 class XclExpStream & XclExpStream::operator<<(float) -sc/source/filter/inc/xiescher.hxx:156 +sc/source/filter/inc/xiescher.hxx:154 class Color XclImpDrawObjBase::GetSolidLineColor(const struct XclObjLineData &) const sc/source/filter/xml/xmltransformationi.hxx:160 ScXMLDateTimeContext::ScXMLDateTimeContext(class ScXMLImport &,const class rtl::Reference<class sax_fastparser::FastAttributeList> &) @@ -944,17 +942,17 @@ sc/source/ui/inc/dataprovider.hxx:85 class std::__debug::map<class rtl::OUString, class rtl::OUString, struct std::less<class rtl::OUString>, class std::allocator<struct std::pair<const class rtl::OUString, class rtl::OUString> > > sc::DataProvider::getDataSourcesForURL(const class rtl::OUString &) sc/source/ui/inc/datatableview.hxx:115 void ScDataTableView::getRowRange(int &,int &) const -sc/source/ui/inc/impex.hxx:95 +sc/source/ui/inc/impex.hxx:93 ScImportExport::ScImportExport(class ScDocument *,const class rtl::OUString &) sc/source/ui/inc/RandomNumberGeneratorDialog.hxx:68 void ScRandomNumberGeneratorDialog::GenerateNumbers(type-parameter-?-? &,const char *,const class boost::optional<signed char>) sc/source/ui/inc/TableFillingAndNavigationTools.hxx:120 unsigned long DataRangeIterator::size() -sc/source/ui/inc/viewdata.hxx:406 +sc/source/ui/inc/viewdata.hxx:405 long ScViewData::GetLOKDocWidthPixel() const -sc/source/ui/inc/viewdata.hxx:407 +sc/source/ui/inc/viewdata.hxx:406 long ScViewData::GetLOKDocHeightPixel() const -sc/source/ui/inc/viewdata.hxx:540 +sc/source/ui/inc/viewdata.hxx:539 _Bool ScViewData::IsGridMode() const scaddins/source/analysis/analysishelper.hxx:819 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const @@ -1162,7 +1160,7 @@ sw/inc/viscrs.hxx:204 const class SwShellTableCursor * SwShellTableCursor::GetPrev() const sw/qa/extras/inc/swmodeltestbase.hxx:621 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/uiwriter/uiwriter.cxx:6530 +sw/qa/extras/uiwriter/uiwriter.cxx:6529 int main() sw/source/core/inc/frame.hxx:907 void SwFrame::dumpTopMostAsXml(struct _xmlTextWriter *) const @@ -1182,22 +1180,8 @@ 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:243 WW8_BRCVer6::WW8_BRCVer6() -sw/source/uibase/inc/mailmergehelper.hxx:102 - void SwAddressPreview::ReplaceSelectedAddress(const class rtl::OUString &) -sw/source/uibase/inc/mailmergehelper.hxx:103 - void SwAddressPreview::RemoveSelectedAddress() -sw/source/uibase/inc/mailmergehelper.hxx:107 - void SwAddressPreview::EnableScrollBar() -sw/source/uibase/inc/mailmergehelper.hxx:147 - void AddressPreview::Clear() -sw/source/uibase/inc/mailmergehelper.hxx:160 - class rtl::OUString AddressPreview::FillData(const class rtl::OUString &,const class SwMailMergeConfigItem &,const class com::sun::star::uno::Sequence<class rtl::OUString> *) -sw/source/uibase/inc/mailmergehelper.hxx:163 - void AddressPreview::SetSelectHdl(const class Link<class LinkParamNone *, void> &) sw/source/uibase/inc/swcont.hxx:86 _Bool SwContent::operator==(const class SwContent &) const -sw/source/uibase/inc/swuiidxmrk.hxx:274 - void AuthorMarkPane::Activate() test/source/sheet/xsubtotalfield.cxx:28 _Bool CppUnit::assertion_traits::equal(const class com::sun::star::uno::Sequence<struct com::sun::star::sheet::SubTotalColumn> &,const class com::sun::star::uno::Sequence<struct com::sun::star::sheet::SubTotalColumn> &) test/source/sheet/xsubtotalfield.cxx:34 @@ -1218,11 +1202,11 @@ vcl/inc/fontinstance.hxx:66 void LogicalFontInstance::SetAverageWidthFactor(double) vcl/inc/fontinstance.hxx:67 double LogicalFontInstance::GetAverageWidthFactor() const -vcl/inc/fontinstance.hxx:87 +vcl/inc/fontinstance.hxx:89 void LogicalFontInstance::ReleaseHbFont() vcl/inc/fontselect.hxx:49 _Bool FontSelectPattern::operator!=(const class FontSelectPattern &) const -vcl/inc/headless/svpgdi.hxx:247 +vcl/inc/headless/svpgdi.hxx:246 void SvpSalGraphics::drawBitmap(const struct SalTwoRect &,struct BitmapBuffer *,enum _cairo_operator) vcl/inc/impgraph.hxx:57 _Bool GraphicID::operator==(const class GraphicID &) const @@ -1258,7 +1242,7 @@ vcl/inc/PhysicalFontFamily.hxx:58 const class rtl::OUString & PhysicalFontFamily::GetAliasNames() const vcl/inc/regionband.hxx:27 const char * ImplDbgTestRegionBand(const void *) -vcl/inc/salgdi.hxx:217 +vcl/inc/salgdi.hxx:214 class basegfx::B2DHomMatrix SalGraphics::mirror(const class basegfx::B2DHomMatrix &,const class OutputDevice *) const vcl/inc/salmenu.hxx:46 SalMenuButtonItem::SalMenuButtonItem() @@ -1288,7 +1272,7 @@ vcl/inc/unx/saldisp.hxx:386 class SalXLib * SalDisplay::GetXLib() const vcl/inc/unx/salframe.h:187 enum SalFrameStyleFlags X11SalFrame::GetStyle() const -vcl/inc/unx/salgdi.h:308 +vcl/inc/unx/salgdi.h:306 void X11SalGraphics::releaseGlyphPeer() vcl/source/app/scheduler.cxx:81 basic_ostream<type-parameter-?-?, type-parameter-?-?> & (anonymous namespace)::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const class Idle &) @@ -1308,6 +1292,8 @@ vcl/source/fontsubset/xlat.hxx:34 unsigned short vcl::TranslateChar15(unsigned short) vcl/source/fontsubset/xlat.hxx:35 unsigned short vcl::TranslateChar16(unsigned short) +vcl/source/gdi/pdfbuildin_fonts.hxx:56 + class rtl::OString vcl::pdf::BuildinFontInstance::getNameObject() const workdir/LexTarget/l10ntools/source/cfglex.cxx:3721 void YYWarning(const char *) workdir/LexTarget/l10ntools/source/xrmlex.cxx:715 diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index 31a8336dbc05..5c0195a00c5d 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -56,11 +56,17 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:484 unsigned char * lok::Document::renderFont(const char *,const char *,int *,int *) include/LibreOfficeKit/LibreOfficeKit.hxx:523 _Bool lok::Document::getViewIds(int *,unsigned long) -include/LibreOfficeKit/LibreOfficeKit.hxx:671 +include/LibreOfficeKit/LibreOfficeKit.hxx:584 + _Bool lok::Document::insertCertificate(const unsigned char *,const int,const unsigned char *,const int) +include/LibreOfficeKit/LibreOfficeKit.hxx:598 + _Bool lok::Document::addCertificate(const unsigned char *,const int) +include/LibreOfficeKit/LibreOfficeKit.hxx:610 + int lok::Document::getSignatureState() +include/LibreOfficeKit/LibreOfficeKit.hxx:705 char * lok::Office::getFilterTypes() -include/LibreOfficeKit/LibreOfficeKit.hxx:725 +include/LibreOfficeKit/LibreOfficeKit.hxx:759 char * lok::Office::getVersionInfo() -include/LibreOfficeKit/LibreOfficeKit.hxx:739 +include/LibreOfficeKit/LibreOfficeKit.hxx:773 _Bool lok::Office::runMacro(const char *) include/oox/crypto/AgileEngine.hxx:121 _Bool oox::core::AgileEngine::decryptHmacKey() @@ -134,11 +140,11 @@ 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:206 +include/sax/fshelper.hxx:210 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(int) -include/sax/fshelper.hxx:207 +include/sax/fshelper.hxx:211 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::write(long) -include/sax/fshelper.hxx:210 +include/sax/fshelper.hxx:214 class sax_fastparser::FastSerializerHelper * sax_fastparser::FastSerializerHelper::writeEscaped(const char *) include/sfx2/linkmgr.hxx:64 _Bool sfx2::LinkManager::InsertLink(class sfx2::SvBaseLink *,unsigned short,enum SfxLinkUpdateMode,const class rtl::OUString *) @@ -196,9 +202,9 @@ include/vcl/texteng.hxx:279 _Bool TextEngine::Read(class SvStream &,const class TextSelection *) include/vcl/toolbox.hxx:514 _Bool ToolBox::ChangeHighlightUpDn(_Bool) -include/vcl/weld.hxx:348 +include/vcl/weld.hxx:355 _Bool weld::ComboBox::get_entry_selection_bounds(int &,int &) -include/vcl/weld.hxx:1022 +include/vcl/weld.hxx:1033 _Bool weld::TextView::get_selection_bounds(int &,int &) lotuswordpro/inc/lwpsvstream.hxx:76 class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &) @@ -216,7 +222,7 @@ sc/source/filter/inc/workbookhelper.hxx:259 _Bool oox::xls::WorkbookHelper::importOoxFragment(const class rtl::Reference<class oox::core::FragmentHandler> &,class oox::core::FastParser &) sc/source/filter/xml/XMLStylesExportHelper.hxx:179 _Bool ScFormatRangeStyles::AddStyleName(const class rtl::OUString &,int &,const _Bool) -sc/source/ui/inc/select.hxx:73 +sc/source/ui/inc/select.hxx:72 _Bool ScViewFunctionSet::SetCursorAtCell(short,int,_Bool) sc/source/ui/vba/vbaformat.hxx:69 class com::sun::star::uno::Any ScVbaFormat::getAddIndent() @@ -264,7 +270,7 @@ sw/inc/doc.hxx:1245 _Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool) sw/inc/editsh.hxx:264 _Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const -sw/inc/editsh.hxx:635 +sw/inc/editsh.hxx:633 const class GraphicAttr * SwEditShell::GetGraphicAttr(class GraphicAttr &) const sw/inc/IDocumentUndoRedo.hxx:181 _Bool IDocumentUndoRedo::Repeat(class sw::RepeatContext &,const unsigned short) @@ -298,17 +304,17 @@ vcl/inc/opengl/texture.hxx:112 _Bool OpenGLTexture::CopyData(int,int,int,int,const unsigned char *) vcl/inc/salframe.hxx:222 _Bool SalFrame::SetPluginParent(struct SystemParentData *) -vcl/inc/salgdi.hxx:214 +vcl/inc/salgdi.hxx:211 class basegfx::B2DPoint SalGraphics::mirror(const class basegfx::B2DPoint &,const class OutputDevice *) const -vcl/inc/salgdi.hxx:397 +vcl/inc/salgdi.hxx:394 _Bool SalGraphics::BlendBitmap(const struct SalTwoRect &,const class SalBitmap &,const class OutputDevice *) vcl/inc/unx/gtk/gtkdata.hxx:164 int GtkSalDisplay::CaptureMouse(class SalFrame *) vcl/inc/unx/saldisp.hxx:316 _Bool SalDisplay::Dispatch(union _XEvent *) -vcl/source/gdi/pdfwriter_impl.hxx:1252 +vcl/source/gdi/pdfwriter_impl.hxx:1230 _Bool vcl::PDFWriterImpl::setCurrentStructureElement(int) -vcl/source/gdi/pdfwriter_impl.hxx:1253 +vcl/source/gdi/pdfwriter_impl.hxx:1231 _Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue) -vcl/source/gdi/pdfwriter_impl.hxx:1254 +vcl/source/gdi/pdfwriter_impl.hxx:1232 _Bool vcl::PDFWriterImpl::setStructureAttributeNumerical(enum vcl::PDFWriter::StructAttribute,int) diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx index aafeb0c81378..881fc474ae33 100644 --- a/editeng/inc/editdoc.hxx +++ b/editeng/inc/editdoc.hxx @@ -429,8 +429,6 @@ public: sal_Unicode GetExtraValue() const { return nExtraValue; } void SetExtraValue( sal_Unicode n ) { nExtraValue = n; } - bool HasValidSize() const { return aOutSz.Width() != -1; } - ExtraPortionInfo* GetExtraInfos() const { return xExtraInfos.get(); } void SetExtraInfos( ExtraPortionInfo* p ) { xExtraInfos.reset(p); } }; diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx index 790d8d94b436..8bb995b2f7f0 100644 --- a/include/oox/core/filterbase.hxx +++ b/include/oox/core/filterbase.hxx @@ -131,10 +131,6 @@ public: const css::uno::Reference< css::frame::XFrame >& getTargetFrame() const; - /// Returns the parent shape to load into (if any) - const css::uno::Reference< css::drawing::XShape >& - getParentShape() const; - /** Returns the status indicator (may be null). */ const css::uno::Reference< css::task::XStatusIndicator >& getStatusIndicator() const; diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index 0311b705fce6..4940a90c3977 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -181,14 +181,6 @@ public: FillProperties& rShapeOrParentShapeFillProps, ShapeIdMap* pShapeMap = nullptr ); - void addChildren( - ::oox::core::XmlFilterBase& rFilterBase, - const Theme* pTheme, - const css::uno::Reference< css::drawing::XShapes >& rxShapes, - basegfx::B2DHomMatrix const & aTransformation ); - - void setXShape( const css::uno::Reference< css::drawing::XShape >& rXShape ) - { mxShape = rXShape; }; const css::uno::Reference< css::drawing::XShape > & getXShape() const { return mxShape; } diff --git a/oox/inc/drawingml/diagram/diagram.hxx b/oox/inc/drawingml/diagram/diagram.hxx index a528668c08b4..73431815dadb 100644 --- a/oox/inc/drawingml/diagram/diagram.hxx +++ b/oox/inc/drawingml/diagram/diagram.hxx @@ -42,12 +42,6 @@ void loadDiagram( ShapePtr const & pShape, const OUString& rColorStylePath, const oox::core::Relations& rRelations ); -void loadDiagram( const ShapePtr& pShape, - core::XmlFilterBase& rFilter, - const css::uno::Reference< css::xml::dom::XDocument>& rXDataModelDom, - const css::uno::Reference< css::xml::dom::XDocument>& rXLayoutDom, - const css::uno::Reference< css::xml::dom::XDocument>& rXQStyleDom, - const css::uno::Reference< css::xml::dom::XDocument>& rXColorStyleDom ); } } #endif diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx index 57226a5a3e5b..c19905417114 100644 --- a/oox/source/core/filterbase.cxx +++ b/oox/source/core/filterbase.cxx @@ -236,11 +236,6 @@ const Reference< XFrame >& FilterBase::getTargetFrame() const return mxImpl->mxTargetFrame; } -const Reference< XShape >& FilterBase::getParentShape() const -{ - return mxImpl->mxParentShape; -} - const Reference< XStatusIndicator >& FilterBase::getStatusIndicator() const { return mxImpl->mxStatusIndicator; diff --git a/oox/source/drawingml/diagram/diagram.cxx b/oox/source/drawingml/diagram/diagram.cxx index edbb6b4ebf59..64dc5dde6d91 100644 --- a/oox/source/drawingml/diagram/diagram.cxx +++ b/oox/source/drawingml/diagram/diagram.cxx @@ -535,57 +535,6 @@ void loadDiagram( ShapePtr const & pShape, pDiagram->addTo(pShape); } -void loadDiagram( const ShapePtr& pShape, - core::XmlFilterBase& rFilter, - const uno::Reference<xml::dom::XDocument>& rXDataModelDom, - const uno::Reference<xml::dom::XDocument>& rXLayoutDom, - const uno::Reference<xml::dom::XDocument>& rXQStyleDom, - const uno::Reference<xml::dom::XDocument>& rXColorStyleDom ) -{ - DiagramPtr pDiagram( new Diagram ); - - DiagramDataPtr pData( new DiagramData() ); - pDiagram->setData( pData ); - - DiagramLayoutPtr pLayout( new DiagramLayout(*pDiagram) ); - pDiagram->setLayout( pLayout ); - - // data - if( rXDataModelDom.is() ) - importFragment(rFilter, - rXDataModelDom, - "OOXData", - pDiagram, - new DiagramDataFragmentHandler( rFilter, "", pData )); - - // layout - if( rXLayoutDom.is() ) - importFragment(rFilter, - rXLayoutDom, - "OOXLayout", - pDiagram, - new DiagramLayoutFragmentHandler( rFilter, "", pLayout )); - - // style - if( rXQStyleDom.is() ) - importFragment(rFilter, - rXQStyleDom, - "OOXStyle", - pDiagram, - new DiagramQStylesFragmentHandler( rFilter, "", pDiagram->getStyles() )); - - // colors - if( rXColorStyleDom.is() ) - importFragment(rFilter, - rXColorStyleDom, - "OOXColor", - pDiagram, - new ColorFragmentHandler( rFilter, "", pDiagram->getColors() )); - - // diagram loaded. now lump together & attach to shape - pDiagram->addTo(pShape); -} - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 0872a8b0cf56..1d1e4d8be5a1 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -326,14 +326,6 @@ void Shape::applyShapeReference( const Shape& rReferencedShape, bool bUseText ) mbHidden = rReferencedShape.mbHidden; } -void Shape::addChildren( ::oox::core::XmlFilterBase& rFilterBase, - const Theme* pTheme, - const Reference< XShapes >& rxShapes, - basegfx::B2DHomMatrix const & aTransformation ) -{ - addChildren(rFilterBase, *this, pTheme, rxShapes, nullptr, aTransformation); -} - struct ActionLockGuard { explicit ActionLockGuard(Reference<drawing::XShape> const& xShape) diff --git a/vcl/source/gdi/pdfbuildin_fonts.hxx b/vcl/source/gdi/pdfbuildin_fonts.hxx index 5dbbf92ce41d..69bdee5dcb9c 100644 --- a/vcl/source/gdi/pdfbuildin_fonts.hxx +++ b/vcl/source/gdi/pdfbuildin_fonts.hxx @@ -53,7 +53,6 @@ public: BuildinFontInstance(const PhysicalFontFace&, const FontSelectPattern&); bool GetGlyphOutline(sal_GlyphId nId, basegfx::B2DPolyPolygon& rPoly, bool) const override; - OString getNameObject() const; }; class BuildinFontFace final : public PhysicalFontFace |