summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 09:32:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-28 08:27:56 +0100
commit3abf4b91dad8fa549457e74185c000e06ba5f019 (patch)
tree55a8c9e0f2f4e2143c431154f789e418003e4c13
parentb15b1a2a90fa4c239ff8a6a33e73ff50ea422abf (diff)
loplugin:unusedmethods
Change-Id: Idbdf2d5d12fad894a3dfc3a86cae839502f42cf6 Reviewed-on: https://gerrit.libreoffice.org/64114 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--basctl/source/basicide/bastype2.cxx25
-rw-r--r--basctl/source/basicide/bastype3.cxx5
-rw-r--r--basctl/source/inc/bastype2.hxx4
-rw-r--r--compilerplugins/clang/unusedmethods.results204
-rw-r--r--compilerplugins/clang/unusedmethods.unused-returns.results34
-rw-r--r--cui/source/customize/cfgutil.cxx71
-rw-r--r--cui/source/inc/cfgutil.hxx8
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx59
-rw-r--r--include/sfx2/tabdlg.hxx10
-rw-r--r--include/svtools/ivctrl.hxx1
-rw-r--r--include/vcl/vclmedit.hxx1
-rw-r--r--sfx2/source/dialog/tabdlg.cxx53
-rw-r--r--svtools/source/contnr/contentenumeration.cxx34
-rw-r--r--svtools/source/contnr/contentenumeration.hxx20
-rw-r--r--svtools/source/contnr/ivctrl.cxx7
-rw-r--r--sw/source/core/inc/UndoTable.hxx4
-rw-r--r--sw/source/core/inc/doctxm.hxx2
-rw-r--r--sw/source/core/undo/untbl.cxx18
-rw-r--r--sw/source/ui/dialog/swdlgfact.cxx28
-rw-r--r--sw/source/ui/dialog/swdlgfact.hxx11
-rw-r--r--sw/source/uibase/inc/prcntfld.hxx2
22 files changed, 142 insertions, 461 deletions
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx
index ee2caf7ad48a..e75d8674a748 100644
--- a/basctl/source/basicide/bastype2.cxx
+++ b/basctl/source/basicide/bastype2.cxx
@@ -620,31 +620,6 @@ bool TreeListBox::ExpandingHdl()
return bOK;
}
-bool TreeListBox::IsEntryProtected( SvTreeListEntry* pEntry )
-{
- bool bProtected = false;
- if ( pEntry && ( GetModel()->GetDepth( pEntry ) == 1 ) )
- {
- EntryDescriptor aDesc( GetEntryDescriptor( pEntry ) );
- const ScriptDocument& aDocument( aDesc.GetDocument() );
- OSL_ENSURE( aDocument.isAlive(), "TreeListBox::IsEntryProtected: no document, or document is dead!" );
- if ( aDocument.isAlive() )
- {
- const OUString& aOULibName( aDesc.GetLibName() );
- Reference< script::XLibraryContainer > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS ) );
- if ( xModLibContainer.is() && xModLibContainer->hasByName( aOULibName ) )
- {
- Reference< script::XLibraryContainerPassword > xPasswd( xModLibContainer, UNO_QUERY );
- if ( xPasswd.is() && xPasswd->isLibraryPasswordProtected( aOULibName ) && !xPasswd->isLibraryPasswordVerified( aOULibName ) )
- {
- bProtected = true;
- }
- }
- }
- }
- return bProtected;
-}
-
//Fills up treelist for macros and dialogs
void TreeListBox::FillTreeListBox( SvTreeListEntry* pRootEntry, const Sequence< OUString >& rNames,
const EntryType& eType, const OUString& aBmpMacro )
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index eeaf863d05cc..90bbcbe44e83 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -787,11 +787,6 @@ bool SbTreeListBox::IsValidEntry(weld::TreeIter& rEntry)
return bIsValid;
}
-SbModule* TreeListBox::FindModule( SvTreeListEntry* pEntry )
-{
- return dynamic_cast<SbModule*>(FindVariable(pEntry));
-}
-
SbModule* SbTreeListBox::FindModule(weld::TreeIter* pEntry)
{
return dynamic_cast<SbModule*>(FindVariable(pEntry));
diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx
index 7115e6f2f589..9f6e1c4753c4 100644
--- a/basctl/source/inc/bastype2.hxx
+++ b/basctl/source/inc/bastype2.hxx
@@ -218,12 +218,9 @@ public:
void ScanAllEntries();
void UpdateEntries();
- bool IsEntryProtected( SvTreeListEntry* pEntry );
-
void SetMode( BrowseMode nM ) { nMode = nM; }
BrowseMode GetMode() const { return nMode; }
- SbModule* FindModule( SvTreeListEntry* pEntry );
SbxVariable* FindVariable( SvTreeListEntry* pEntry );
SvTreeListEntry* FindRootEntry( const ScriptDocument& rDocument, LibraryLocation eLocation );
SvTreeListEntry* FindEntry( SvTreeListEntry* pParent, const OUString& rText, EntryType eType );
@@ -318,7 +315,6 @@ public:
bool iter_children(weld::TreeIter& rIter) const { return m_xControl->iter_children(rIter); }
bool iter_parent(weld::TreeIter& rIter) const { return m_xControl->iter_parent(rIter); }
int get_iter_depth(const weld::TreeIter& rIter) const { return m_xControl->get_iter_depth(rIter); }
- OUString get_text(const weld::TreeIter& rIter) const { return m_xControl->get_text(rIter); }
bool get_row_expanded(const weld::TreeIter& rIter) const { return m_xControl->get_row_expanded(rIter); }
void expand_row(weld::TreeIter& rIter) { m_xControl->expand_row(rIter); }
void set_size_request(int nWidth, int nHeight) { m_xControl->set_size_request(nWidth, nHeight); }
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results
index 8615e583236e..a540c181742d 100644
--- a/compilerplugins/clang/unusedmethods.results
+++ b/compilerplugins/clang/unusedmethods.results
@@ -1,3 +1,11 @@
+basctl/source/basicide/moduldlg.hxx:256
+ void basctl::createLibImpl(class weld::Window *,const class basctl::ScriptDocument &,class basctl::CheckBox *,class basctl::TreeListBox *)
+basctl/source/inc/bastype2.hxx:221
+ _Bool basctl::TreeListBox::IsEntryProtected(class SvTreeListEntry *)
+basctl/source/inc/bastype2.hxx:226
+ class SbModule * basctl::TreeListBox::FindModule(class SvTreeListEntry *)
+basctl/source/inc/bastype2.hxx:321
+ class rtl::OUString basctl::SbTreeListBox::get_text(const class weld::TreeIter &) const
basegfx/source/range/b2drangeclipper.cxx:691
type-parameter-?-? basegfx::(anonymous namespace)::eraseFromList(type-parameter-?-? &,const type-parameter-?-? &)
basic/source/inc/buffer.hxx:41
@@ -46,6 +54,20 @@ 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/cfgutil.hxx:123
+ class rtl::OUString SfxConfigFunctionListBox::GetSelectedScriptURI()
+cui/source/inc/cfgutil.hxx:151
+ _Bool CuiConfigFunctionListBox::iter_next_sibling(class weld::TreeIter &) const
+cui/source/inc/cfgutil.hxx:161
+ class rtl::OUString CuiConfigFunctionListBox::GetCurCommand()
+cui/source/inc/cfgutil.hxx:162
+ class rtl::OUString CuiConfigFunctionListBox::GetCurLabel()
+cui/source/inc/cfgutil.hxx:164
+ class rtl::OUString CuiConfigFunctionListBox::GetHelpText(_Bool)
+cui/source/inc/cfgutil.hxx:269
+ void CuiConfigGroupListBox::SelectMacro(const class SfxMacroInfoItem *)
+cui/source/inc/cfgutil.hxx:271
+ void CuiConfigGroupListBox::SetStylesInfo(struct SfxStylesInfo_Impl *)
dbaccess/source/filter/hsqldb/fbalterparser.hxx:20
void dbahsql::FbAlterStmtParser::ensureProperTableLengths() const
dbaccess/source/filter/hsqldb/parseschema.hxx:82
@@ -96,6 +118,8 @@ editeng/inc/edtspell.hxx:112
class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > > 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/impedit.hxx:865
+ void ImpEditEngine::IndentBlock(class EditView *,_Bool)
extensions/source/scanner/scanner.hxx:81
void ScannerManager::SetData(void *)
framework/source/uiconfiguration/ImageList.hxx:51
@@ -544,7 +568,7 @@ include/opencl/OpenCLZone.hxx:42
_Bool OpenCLZone::isInInitialTest()
include/sfx2/basedlgs.hxx:137
void SfxModelessDialogController::FillInfo(struct SfxChildWinInfo &) const
-include/sfx2/basedlgs.hxx:244
+include/sfx2/basedlgs.hxx:243
class weld::Button & SfxSingleTabDialogController::GetOKButton() const
include/sfx2/charwin.hxx:63
void SvxCharView::connect_focus_in(const class Link<class weld::Widget &, void> &)
@@ -560,14 +584,22 @@ 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:136
+ unsigned short SfxTabDialog::AddTabPage(const class rtl::OString &,unsigned short)
+include/sfx2/tabdlg.hxx:184
+ void SfxTabDialog::RemoveStandardButton()
+include/sfx2/tabdlg.hxx:192
+ void SfxTabDialog::SetApplyHandler(const class Link<class Button *, void> &)
+include/sfx2/tabdlg.hxx:197
+ _Bool SfxTabDialog::Apply()
include/svl/itempool.hxx:162
const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const
include/svl/itempool.hxx:191
void SfxItemPool::dumpAsXml(struct _xmlTextWriter *) const
-include/svtools/calendar.hxx:195
- void Calendar::ImplInvertDropPos()
-include/svtools/ctrlbox.hxx:208
+include/svtools/ctrlbox.hxx:156
long LineListBox::GetWidth() const
+include/svtools/ivctrl.hxx:277
+ class Point SvtIconChoiceCtrl::GetPixelPos(const class Point &) const
include/svx/ClassificationEditView.hxx:41
void svx::ClassificationEditView::SetCharAttributes()
include/svx/ClassificationEditView.hxx:47
@@ -654,7 +686,7 @@ 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:95
+include/vcl/animate.hxx:94
_Bool Animation::operator!=(const class Animation &) const
include/vcl/commandevent.hxx:245
CommandMediaData::CommandMediaData(enum MediaCommand)
@@ -670,18 +702,20 @@ include/vcl/customweld.hxx:71
void weld::CustomWidgetController::SetAccessibleName(const class rtl::OUString &)
include/vcl/customweld.hxx:112
void weld::CustomWeld::queue_draw_area(int,int,int,int)
-include/vcl/edit.hxx:206
+include/vcl/edit.hxx:205
_Bool Edit::IsSelectAllSingleClick() const
-include/vcl/edit.hxx:238
+include/vcl/edit.hxx:237
class rtl::OUString Edit::GetPlaceholderText() const
-include/vcl/errcode.hxx:87
+include/vcl/errcode.hxx:86
_Bool ErrCode::operator<(const class ErrCode &) const
-include/vcl/errcode.hxx:88
+include/vcl/errcode.hxx:87
_Bool ErrCode::operator<=(const class ErrCode &) const
-include/vcl/errcode.hxx:89
+include/vcl/errcode.hxx:88
_Bool ErrCode::operator>(const class ErrCode &) const
-include/vcl/errcode.hxx:90
+include/vcl/errcode.hxx:89
_Bool ErrCode::operator>=(const class ErrCode &) const
+include/vcl/field.hxx:218
+ void MetricFormatter::SetBaseValue(long,enum FieldUnit)
include/vcl/gdimtf.hxx:111
_Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const
include/vcl/gradient.hxx:104
@@ -690,10 +724,8 @@ include/vcl/hatch.hxx:55
_Bool Hatch::operator!=(const class Hatch &) const
include/vcl/inputctx.hxx:63
_Bool InputContext::operator!=(const class InputContext &) const
-include/vcl/ITiledRenderable.hxx:288
+include/vcl/ITiledRenderable.hxx:289
class Pointer vcl::ITiledRenderable::getPointer()
-include/vcl/lstbox.hxx:140
- long ListBox::CalcWindowSizePixel(unsigned short) const
include/vcl/opengl/OpenGLHelper.hxx:61
void OpenGLHelper::renderToFile(long,long,const class rtl::OUString &)
include/vcl/opengl/OpenGLHelper.hxx:91
@@ -718,13 +750,13 @@ include/vcl/settings.hxx:486
void StyleSettings::SetFloatTitleHeight(long)
include/vcl/settings.hxx:495
void StyleSettings::SetSpinSize(long)
-include/vcl/settings.hxx:654
+include/vcl/settings.hxx:653
_Bool HelpSettings::operator!=(const class HelpSettings &) const
-include/vcl/settings.hxx:709
+include/vcl/settings.hxx:708
_Bool AllSettings::operator!=(const class AllSettings &) const
-include/vcl/svapp.hxx:178
+include/vcl/svapp.hxx:174
ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &)
-include/vcl/svapp.hxx:807
+include/vcl/svapp.hxx:803
void Application::AppEvent(const class ApplicationEvent &)
include/vcl/svmain.hxx:27
_Bool ImplSVMainHook(int *)
@@ -746,6 +778,8 @@ include/vcl/uitest/uiobject.hxx:344
SpinUIObject::SpinUIObject(const class VclPtr<class SpinButton> &)
include/vcl/uitest/uiobject.hxx:352
class std::unique_ptr<class UIObject, struct std::default_delete<class UIObject> > SpinUIObject::create(class vcl::Window *)
+include/vcl/vclmedit.hxx:155
+ const class rtl::OUString & VclMultiLineEdit::GetSavedValue() const
include/vcl/wall.hxx:98
_Bool Wallpaper::operator!=(const class Wallpaper &) const
include/vcl/weld.hxx:74
@@ -768,63 +802,65 @@ include/vcl/weld.hxx:181
class rtl::OUString weld::Notebook::get_tab_label_text(const class rtl::OString &) const
include/vcl/weld.hxx:215
struct SystemEnvData weld::Window::get_system_data() const
-include/vcl/weld.hxx:395
+include/vcl/weld.hxx:421
+ void weld::TreeView::append(class weld::TreeIter *,const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
+include/vcl/weld.hxx:426
void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &)
-include/vcl/weld.hxx:408
- void weld::TreeView::set_top_entry(int)
include/vcl/weld.hxx:439
+ void weld::TreeView::set_top_entry(int)
+include/vcl/weld.hxx:499
void weld::TreeView::select_all()
-include/vcl/weld.hxx:531
+include/vcl/weld.hxx:594
void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:539
+include/vcl/weld.hxx:602
void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:543
+include/vcl/weld.hxx:606
void weld::MenuButton::append_item(const class rtl::OUString &,const class rtl::OUString &,class VirtualDevice &)
-include/vcl/weld.hxx:596
+include/vcl/weld.hxx:659
void weld::Entry::signal_insert_text(class rtl::OUString &)
-include/vcl/weld.hxx:608
+include/vcl/weld.hxx:671
int weld::Entry::get_position() const
-include/vcl/weld.hxx:668
+include/vcl/weld.hxx:731
int weld::SpinButton::get_min() const
-include/vcl/weld.hxx:710
+include/vcl/weld.hxx:773
void weld::FormattedSpinButton::set_max(double)
-include/vcl/weld.hxx:969
+include/vcl/weld.hxx:1034
class Size weld::MetricSpinButton::get_size_request() const
-include/vcl/weld.hxx:980
+include/vcl/weld.hxx:1045
void weld::MetricSpinButton::set_position(int)
-include/vcl/weld.hxx:1027
+include/vcl/weld.hxx:1092
_Bool weld::TimeSpinButton::get_sensitive() const
-include/vcl/weld.hxx:1028
+include/vcl/weld.hxx:1093
_Bool weld::TimeSpinButton::get_visible() const
-include/vcl/weld.hxx:1029
+include/vcl/weld.hxx:1094
void weld::TimeSpinButton::grab_focus()
-include/vcl/weld.hxx:1030
+include/vcl/weld.hxx:1095
_Bool weld::TimeSpinButton::has_focus() const
-include/vcl/weld.hxx:1031
+include/vcl/weld.hxx:1096
void weld::TimeSpinButton::show(_Bool)
-include/vcl/weld.hxx:1032
+include/vcl/weld.hxx:1097
void weld::TimeSpinButton::hide()
-include/vcl/weld.hxx:1033
+include/vcl/weld.hxx:1098
void weld::TimeSpinButton::save_value()
-include/vcl/weld.hxx:1034
+include/vcl/weld.hxx:1099
_Bool weld::TimeSpinButton::get_value_changed_from_saved() const
-include/vcl/weld.hxx:1125
+include/vcl/weld.hxx:1190
void weld::DrawingArea::connect_key_release(const class Link<const class KeyEvent &, _Bool> &)
-include/vcl/weld.hxx:1152
+include/vcl/weld.hxx:1217
void weld::Menu::set_active(const class rtl::OString &,_Bool)
-include/vcl/weld.hxx:1162
+include/vcl/weld.hxx:1227
void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:1166
+include/vcl/weld.hxx:1231
void weld::Menu::append(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &)
-include/vcl/weld.hxx:1182
+include/vcl/weld.hxx:1247
void weld::SizeGroup::set_mode(enum VclSizeGroupMode)
-include/vcl/weld.hxx:1204
+include/vcl/weld.hxx:1269
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:1314
+include/vcl/weld.hxx:1379
class rtl::OUString weld::MessageDialogController::get_primary_text() const
-include/vcl/window.hxx:430
+include/vcl/window.hxx:419
const char * ImplDbgCheckWindow(const void *)
-include/vcl/window.hxx:1241
+include/vcl/window.hxx:1230
class Size vcl::Window::PaintActiveFloatingWindow(class VirtualDevice &) const
libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.hxx:35
void openLokDialog(struct _GtkWidget *,void *)
@@ -870,27 +906,27 @@ 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
-sc/qa/unit/helper/qahelper.hxx:164
+sc/qa/unit/helper/qahelper.hxx:158
class std::__cxx11::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > print(const class ScAddress &)
-sc/qa/unit/ucalc.hxx:142
+sc/qa/unit/ucalc.hxx:143
void Test::testFormulaHashAndTag()
-sc/qa/unit/ucalc.hxx:178
+sc/qa/unit/ucalc.hxx:179
void Test::testSingleCellCopyColumnLabel()
-sc/qa/unit/ucalc.hxx:236
+sc/qa/unit/ucalc.hxx:237
void Test::testExternalRefUnresolved()
-sc/qa/unit/ucalc.hxx:375
+sc/qa/unit/ucalc.hxx:376
void Test::testCopyPasteSkipEmptyConditionalFormatting()
-sc/qa/unit/ucalc.hxx:402
+sc/qa/unit/ucalc.hxx:403
void Test::testSharedFormulaMoveBlock()
-sc/qa/unit/ucalc.hxx:515
- void Test::testCondFormatUpdateMoveTab()
sc/qa/unit/ucalc.hxx:516
- void Test::testCondFormatUpdateDeleteTab()
+ void Test::testCondFormatUpdateMoveTab()
sc/qa/unit/ucalc.hxx:517
- void Test::testCondFormatUpdateInsertTab()
+ void Test::testCondFormatUpdateDeleteTab()
sc/qa/unit/ucalc.hxx:518
+ void Test::testCondFormatUpdateInsertTab()
+sc/qa/unit/ucalc.hxx:519
void Test::testCondFormatUpdateReference()
-sc/qa/unit/ucalc.hxx:528
+sc/qa/unit/ucalc.hxx:529
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 &)
@@ -906,9 +942,9 @@ sc/source/core/opencl/formulagroupcl.cxx:1267
_Bool sc::opencl::ParallelReductionVectorRef::GetEndFixed() const
sc/source/core/opencl/op_statistical.hxx:204
sc::opencl::OpGeoMean::OpGeoMean()
-sc/source/core/tool/scmatrix.cxx:2298
+sc/source/core/tool/scmatrix.cxx:2290
type-parameter-?-? * wrapped_iterator::operator->() const
-sc/source/core/tool/scmatrix.cxx:3308
+sc/source/core/tool/scmatrix.cxx:3300
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 &)
@@ -946,7 +982,7 @@ sc/source/ui/inc/viewdata.hxx:406
long ScViewData::GetLOKDocHeightPixel() const
sc/source/ui/inc/viewdata.hxx:539
_Bool ScViewData::IsGridMode() const
-scaddins/source/analysis/analysishelper.hxx:819
+scaddins/source/analysis/analysishelper.hxx:811
_Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const
sccomp/source/solver/DifferentialEvolution.hxx:67
int DifferentialEvolutionAlgorithm::getLastChange()
@@ -976,8 +1012,6 @@ sfx2/source/appl/shutdownicon.hxx:115
class rtl::OUString ShutdownIcon::GetUrlDescription(const class rtl::OUString &)
sfx2/source/appl/shutdownicon.hxx:117
void ShutdownIcon::SetVeto(_Bool)
-sfx2/source/control/thumbnailviewacc.hxx:183
- void ThumbnailViewItemAcc::FireAccessibleEvent(short,const class com::sun::star::uno::Any &,const class com::sun::star::uno::Any &)
slideshow/source/engine/activities/activitiesfactory.cxx:173
void slideshow::internal::(anonymous namespace)::FromToByActivity::startAnimation()
slideshow/source/engine/activities/activitiesfactory.cxx:242
@@ -1016,10 +1050,12 @@ svgio/inc/svgstyleattributes.hxx:346
class svgio::svgreader::SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeDashOffset() const
svgio/inc/svgstyleattributes.hxx:370
enum svgio::svgreader::FontStretch svgio::svgreader::SvgStyleAttributes::getFontStretch() const
-svtools/source/contnr/imivctl.hxx:416
- _Bool SvxIconChoiceCtrl_Impl::IsTextHit(class SvxIconChoiceCtrlEntry *,const class Point &)
-svtools/source/contnr/imivctl.hxx:429
- void SvxIconChoiceCtrl_Impl::EditEntry(class SvxIconChoiceCtrlEntry *)
+svtools/source/contnr/contentenumeration.hxx:65
+ void svt::SortingData_Impl::ChangeTitle(const class rtl::OUString &)
+svtools/source/contnr/contentenumeration.hxx:121
+ _Bool svt::IContentTitleTranslation::GetTranslation(const class rtl::OUString &,class rtl::OUString &) const
+svtools/source/contnr/contentenumeration.hxx:255
+ _Bool svt::FileViewContentEnumerator::implGetDocTitle(const class rtl::OUString &,class rtl::OUString &) const
svx/inc/sdr/contact/viewcontactofgraphic.hxx:56
class SdrGrafObj & sdr::contact::ViewContactOfGraphic::GetGrafObject()
svx/source/svdraw/svdpdf.hxx:92
@@ -1094,9 +1130,9 @@ sw/inc/docary.hxx:254
class SwFrameFormat *const & SwFrameFormats::front() const
sw/inc/docary.hxx:255
class SwFrameFormat *const & SwFrameFormats::back() const
-sw/inc/extinput.hxx:48
- class SwExtTextInput * SwExtTextInput::GetPrev()
sw/inc/extinput.hxx:49
+ class SwExtTextInput * SwExtTextInput::GetPrev()
+sw/inc/extinput.hxx:50
const class SwExtTextInput * SwExtTextInput::GetPrev() const
sw/inc/IDocumentLinksAdministration.hxx:53
_Bool IDocumentLinksAdministration::GetData(const class rtl::OUString &,const class rtl::OUString &,class com::sun::star::uno::Any &) const
@@ -1160,30 +1196,36 @@ 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:6529
int main()
-sw/source/core/access/accpara.hxx:162
- struct SwTOXSortTabBase * SwAccessibleParagraph::GetTOXSortTabBase()
sw/source/core/access/accportions.cxx:69
unsigned long FindBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?)
sw/source/core/access/accportions.cxx:73
unsigned long FindLastBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?)
-sw/source/core/inc/frame.hxx:907
+sw/source/core/inc/doctxm.hxx:79
+ const class std::__debug::vector<class std::unique_ptr<struct SwTOXSortTabBase, struct std::default_delete<struct SwTOXSortTabBase> >, class std::allocator<class std::unique_ptr<struct SwTOXSortTabBase, struct std::default_delete<struct SwTOXSortTabBase> > > > & SwTOXBaseSection::GetTOXSortTabBases() const
+sw/source/core/inc/frame.hxx:908
void SwFrame::dumpTopMostAsXml(struct _xmlTextWriter *) const
-sw/source/core/inc/frame.hxx:1340
+sw/source/core/inc/frame.hxx:1341
class Size SwRectFnSet::GetSize(const class SwRect &) const
-sw/source/core/inc/frame.hxx:1371
- long SwRectFnSet::LeftDist(const class SwRect &,long) const
sw/source/core/inc/frame.hxx:1372
+ long SwRectFnSet::LeftDist(const class SwRect &,long) const
+sw/source/core/inc/frame.hxx:1373
long SwRectFnSet::RightDist(const class SwRect &,long) const
-sw/source/core/inc/frame.hxx:1380
+sw/source/core/inc/frame.hxx:1381
long SwRectFnSet::XInc(long,long) const
sw/source/core/inc/mvsave.hxx:170
_Bool ZSortFly::operator==(const class ZSortFly &) const
+sw/source/core/inc/UndoTable.hxx:198
+ SwUndoTableNdsChg::SwUndoTableNdsChg(enum SwUndoId,const class SwSelBoxes &,const class SwTableNode &)
sw/source/core/text/porlin.hxx:120
_Bool SwLinePortion::IsTabRightPortion() const
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
+sw/source/filter/ww8/ww8struc.hxx:244
WW8_BRCVer6::WW8_BRCVer6()
+sw/source/ui/dialog/swdlgfact.hxx:239
+ AbstractTabDialog_Impl::AbstractTabDialog_Impl(class SfxTabDialog *)
+sw/source/uibase/inc/prcntfld.hxx:74
+ int SwPercentField::normalize(int) const
sw/source/uibase/inc/swcont.hxx:85
_Bool SwContent::operator==(const class SwContent &) const
test/source/sheet/xsubtotalfield.cxx:28
@@ -1222,7 +1264,7 @@ vcl/inc/opengl/PackedTextureAtlas.hxx:50
class OpenGLTexture PackedTextureAtlasManager::InsertBuffer(int,int,int,int,const unsigned char *)
vcl/inc/opengl/PackedTextureAtlas.hxx:52
class std::__debug::vector<unsigned int, class std::allocator<unsigned int> > PackedTextureAtlasManager::ReduceTextureNumber(int)
-vcl/inc/opengl/salbmp.hxx:86
+vcl/inc/opengl/salbmp.hxx:90
const class BitmapPalette & OpenGLSalBitmap::GetBitmapPalette() const
vcl/inc/opengl/texture.hxx:114
void OpenGLTexture::SaveToFile(const class rtl::OUString &)
@@ -1272,7 +1314,7 @@ vcl/inc/unx/gtk/gtkinst.hxx:122
void GtkDropTarget::fire_dragExit(const struct com::sun::star::datatransfer::dnd::DropTargetEvent &)
vcl/inc/unx/saldata.hxx:68
void X11SalData::initNWF()
-vcl/inc/unx/saldisp.hxx:386
+vcl/inc/unx/saldisp.hxx:383
class SalXLib * SalDisplay::GetXLib() const
vcl/inc/unx/salframe.h:187
enum SalFrameStyleFlags X11SalFrame::GetStyle() const
@@ -1296,10 +1338,10 @@ vcl/source/fontsubset/xlat.hxx:34
unsigned short vcl::TranslateChar15(unsigned short)
vcl/source/fontsubset/xlat.hxx:35
unsigned short vcl::TranslateChar16(unsigned short)
-workdir/LexTarget/l10ntools/source/cfglex.cxx:3721
- void YYWarning(const char *)
workdir/LexTarget/l10ntools/source/xrmlex.cxx:715
void YYWarning()
+workdir/LexTarget/l10ntools/source/xrmlex.cxx:2211
+ void YYWarning(const char *)
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
writerfilter/source/ooxml/OOXMLPropertySet.hxx:177
diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results
index 60f3f7f5c82f..23e996d6840e 100644
--- a/compilerplugins/clang/unusedmethods.unused-returns.results
+++ b/compilerplugins/clang/unusedmethods.unused-returns.results
@@ -1,16 +1,18 @@
+basctl/source/inc/bastype2.hxx:312
+ _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
connectivity/source/inc/odbc/OConnection.hxx:78
short connectivity::odbc::OConnection::Construct(const class rtl::OUString &,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> &)
connectivity/source/inc/odbc/OStatement.hxx:115
_Bool connectivity::odbc::OStatement_Base::lockIfNecessary(const class rtl::OUString &)
-extensions/source/scanner/sane.hxx:97
+extensions/source/scanner/sane.hxx:98
_Bool Sane::CheckConsistency(const char *,_Bool)
-extensions/source/scanner/sane.hxx:140
+extensions/source/scanner/sane.hxx:141
_Bool Sane::GetOptionValue(int,double *)
-extensions/source/scanner/sane.hxx:147
+extensions/source/scanner/sane.hxx:148
_Bool Sane::ActivateButtonOption(int)
-extensions/source/scanner/sane.hxx:153
+extensions/source/scanner/sane.hxx:154
_Bool Sane::Open(int)
extensions/source/scanner/sanedlg.hxx:89
_Bool SaneDlg::LoadState()
@@ -182,7 +184,7 @@ include/tools/config.hxx:38
_Bool Config::ImplUpdateConfig() const
include/tools/multisel.hxx:93
_Bool StringRangeEnumerator::insertRange(int,int,_Bool)
-include/vcl/bitmap.hxx:190
+include/vcl/bitmap.hxx:186
_Bool Bitmap::Dither(enum BmpDitherFlags)
include/vcl/bitmapex.hxx:241
_Bool BitmapEx::Rotate(long,const class Color &)
@@ -194,9 +196,9 @@ include/vcl/graphicfilter.hxx:260
class ErrCode GraphicFilter::ExportGraphic(const class Graphic &,const class INetURLObject &,unsigned short,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> *)
include/vcl/GraphicNativeTransform.hxx:29
_Bool GraphicNativeTransform::rotateBitmapOnly(unsigned short)
-include/vcl/menu.hxx:388
- _Bool Menu::HandleMenuActivateEvent(class Menu *) const
include/vcl/menu.hxx:389
+ _Bool Menu::HandleMenuActivateEvent(class Menu *) const
+include/vcl/menu.hxx:390
_Bool Menu::HandleMenuDeActivateEvent(class Menu *) const
include/vcl/texteng.hxx:279
_Bool TextEngine::Read(class SvStream &,const class TextSelection *)
@@ -204,7 +206,7 @@ include/vcl/toolbox.hxx:514
_Bool ToolBox::ChangeHighlightUpDn(_Bool)
include/vcl/weld.hxx:357
_Bool weld::ComboBox::get_entry_selection_bounds(int &,int &)
-include/vcl/weld.hxx:1059
+include/vcl/weld.hxx:1124
_Bool weld::TextView::get_selection_bounds(int &,int &)
lotuswordpro/inc/lwpsvstream.hxx:76
class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &)
@@ -212,7 +214,7 @@ lotuswordpro/inc/lwpsvstream.hxx:77
class LwpSvStream & LwpSvStream::ReadUInt16(unsigned short &)
lotuswordpro/inc/lwpsvstream.hxx:78
class LwpSvStream & LwpSvStream::ReadUInt32(unsigned int &)
-sc/inc/document.hxx:2107
+sc/inc/document.hxx:2108
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
@@ -264,10 +266,12 @@ sd/source/ui/inc/OutlineViewShell.hxx:115
class ErrCode sd::OutlineViewShell::ReadRtf(class SvStream &)
sd/source/ui/remotecontrol/IBluetoothSocket.hxx:37
int sd::IBluetoothSocket::write(const void *,unsigned int)
-sw/inc/calc.hxx:113
+sw/inc/calc.hxx:114
class SwSbxValue & SwSbxValue::MakeDouble()
sw/inc/doc.hxx:1066
_Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &)
+sw/inc/doc.hxx:1227
+ _Bool SwDoc::SetColRowWidthHeight(class SwTableBox &,enum TableChgWidthHeightType,long,long)
sw/inc/doc.hxx:1252
_Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool)
sw/inc/editsh.hxx:264
@@ -278,7 +282,7 @@ sw/inc/IDocumentUndoRedo.hxx:181
_Bool IDocumentUndoRedo::Repeat(class sw::RepeatContext &,const unsigned short)
sw/inc/swcrsr.hxx:156
_Bool SwCursor::ExpandToSentenceBorders(const class SwRootFrame *)
-sw/inc/tblafmt.hxx:349
+sw/inc/tblafmt.hxx:353
_Bool SwTableAutoFormatTable::Load(class SvStream &)
sw/source/core/inc/laycache.hxx:64
_Bool SwLayoutCache::CompareLayout(const class SwDoc &) const
@@ -296,11 +300,11 @@ ucb/source/ucp/webdav-neon/NeonSession.hxx:239
_Bool webdav_ucp::NeonSession::UNLOCK(struct ne_lock *)
vcl/inc/font/FeatureCollector.hxx:48
_Bool vcl::font::FeatureCollector::collect()
-vcl/inc/opengl/salbmp.hxx:96
+vcl/inc/opengl/salbmp.hxx:100
_Bool OpenGLSalBitmap::ImplScaleFilter(const class rtl::Reference<class OpenGLContext> &,const double &,const double &,unsigned int)
-vcl/inc/opengl/salbmp.hxx:98
+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:99
+vcl/inc/opengl/salbmp.hxx:103
_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 *)
@@ -312,7 +316,7 @@ vcl/inc/salgdi.hxx:395
_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
+vcl/inc/unx/saldisp.hxx:313
_Bool SalDisplay::Dispatch(union _XEvent *)
vcl/inc/WidgetDrawInterface.hxx:97
_Bool vcl::WidgetDrawInterface::updateSettings(class AllSettings &)
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 9505873dc68c..f0fa0ca6ab81 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -305,18 +305,6 @@ void SfxConfigFunctionListBox::ClearAll()
Clear();
}
-OUString SfxConfigFunctionListBox::GetSelectedScriptURI()
-{
- SvTreeListEntry *pEntry = FirstSelected();
- if ( pEntry )
- {
- SfxGroupInfo_Impl *pData = static_cast<SfxGroupInfo_Impl*>(pEntry->GetUserData());
- if ( pData && ( pData->nKind == SfxCfgKind::FUNCTION_SCRIPT ) )
- return *static_cast<OUString*>(pData->pObject);
- }
- return OUString();
-}
-
OUString SfxConfigFunctionListBox::GetHelpText( bool bConsiderParent )
{
SvTreeListEntry *pEntry = FirstSelected();
@@ -420,54 +408,6 @@ OUString CuiConfigFunctionListBox::GetSelectedScriptURI()
return OUString();
}
-OUString CuiConfigFunctionListBox::GetHelpText( bool bConsiderParent )
-{
- int nSelected = m_xTreeView->get_selected_index();
- if (nSelected != -1)
- {
- SfxGroupInfo_Impl *pData = reinterpret_cast<SfxGroupInfo_Impl*>(m_xTreeView->get_id(nSelected).toInt64());
- if ( pData )
- {
- if ( pData->nKind == SfxCfgKind::FUNCTION_SLOT )
- {
- if (bConsiderParent)
- return Application::GetHelp()->GetHelpText(pData->sCommand, m_xTreeView.get());
- else
- return Application::GetHelp()->GetHelpText(pData->sCommand, static_cast<weld::Widget*>(nullptr));
- }
- else if ( pData->nKind == SfxCfgKind::FUNCTION_SCRIPT )
- {
- return pData->sHelpText;
- }
- }
- }
- return OUString();
-}
-
-OUString CuiConfigFunctionListBox::GetCurCommand()
-{
- int nSelected = m_xTreeView->get_selected_index();
- if (nSelected == -1)
- return OUString();
- SfxGroupInfo_Impl *pData = reinterpret_cast<SfxGroupInfo_Impl*>(m_xTreeView->get_id(nSelected).toInt64());
- if (!pData)
- return OUString();
- return pData->sCommand;
-}
-
-OUString CuiConfigFunctionListBox::GetCurLabel()
-{
- int nSelected = m_xTreeView->get_selected_index();
- if (nSelected == -1)
- return OUString();
- SfxGroupInfo_Impl *pData = reinterpret_cast<SfxGroupInfo_Impl*>(m_xTreeView->get_id(nSelected).toInt64());
- if (!pData)
- return OUString();
- if (!pData->sLabel.isEmpty())
- return pData->sLabel;
- return pData->sCommand;
-}
-
struct SvxConfigGroupBoxResource_Impl
{
Image m_hdImage;
@@ -1312,11 +1252,6 @@ void CuiConfigGroupListBox::ClearAll()
m_xTreeView->clear();
}
-void CuiConfigGroupListBox::SetStylesInfo(SfxStylesInfo_Impl* pStyles)
-{
- m_pStylesInfo = pStyles;
-}
-
void CuiConfigGroupListBox::InitModule()
{
try
@@ -1845,12 +1780,6 @@ IMPL_LINK(CuiConfigGroupListBox, ExpandingHdl, weld::TreeIter&, rIter, bool)
return true;
}
-void CuiConfigGroupListBox::SelectMacro( const SfxMacroInfoItem *pItem )
-{
- SelectMacro( pItem->GetBasicManager()->GetName(),
- pItem->GetQualifiedName() );
-}
-
void CuiConfigGroupListBox::SelectMacro( const OUString& rBasic,
const OUString& rMacro )
{
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index 1fb47405fd8f..a0ed8437e750 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -120,7 +120,6 @@ public:
using Window::GetHelpText;
OUString GetCurCommand();
OUString GetCurLabel();
- OUString GetSelectedScriptURI();
OUString GetHelpText( bool bConsiderParent = true );
};
@@ -147,8 +146,6 @@ public:
void select(int pos) { m_xTreeView->select(pos); }
std::unique_ptr<weld::TreeIter> make_iterator(const weld::TreeIter* pOrig = nullptr) const { return m_xTreeView->make_iterator(pOrig); }
bool get_iter_first(weld::TreeIter& rIter) const { return m_xTreeView->get_iter_first(rIter); }
- // set iter to point to next node at the current level
- bool iter_next_sibling(weld::TreeIter& rIter) const { return m_xTreeView->iter_next_sibling(rIter); }
// set iter to point to next node, depth first, then sibling
bool iter_next(weld::TreeIter& rIter) const { return m_xTreeView->iter_next(rIter); }
OUString get_text(const weld::TreeIter& rIter) const { return m_xTreeView->get_text(rIter); }
@@ -158,10 +155,7 @@ public:
~CuiConfigFunctionListBox();
void ClearAll();
- OUString GetCurCommand();
- OUString GetCurLabel();
OUString GetSelectedScriptURI();
- OUString GetHelpText( bool bConsiderParent = true );
};
struct SvxConfigGroupBoxResource_Impl;
@@ -266,9 +260,7 @@ public:
void SetFunctionListBox( CuiConfigFunctionListBox *pBox )
{ m_pFunctionListBox = pBox; }
void GroupSelected();
- void SelectMacro( const SfxMacroInfoItem* );
void SelectMacro( const OUString&, const OUString& );
- void SetStylesInfo(SfxStylesInfo_Impl* pStyles);
};
class SvxScriptSelectorDialog : public ModalDialog
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 418ef91f6814..2ef1ea099c60 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -861,8 +861,6 @@ public:
bool IsInSelectionMode() { return bInSelection; }
- void IndentBlock( EditView* pView, bool bRight );
-
// For Undo/Redo
void Undo( EditView* pView );
void Redo( EditView* pView );
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 8dcf586d3a54..1c5fa806ef7d 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -4288,65 +4288,6 @@ void ImpEditEngine::SetValidPaperSize( const Size& rNewSz )
aPaperSize.setHeight( nMaxHeight );
}
-void ImpEditEngine::IndentBlock( EditView* pEditView, bool bRight )
-{
- ESelection aESel( CreateESel( pEditView->pImpEditView->GetEditSelection() ) );
- aESel.Adjust();
-
- // Only if more selected Paragraphs ...
- if ( aESel.nEndPara > aESel.nStartPara )
- {
- ESelection aNewSel = aESel;
- aNewSel.nStartPos = 0;
- aNewSel.nEndPos = EE_TEXTPOS_ALL;
-
- if ( aESel.nEndPos == 0 )
- {
- aESel.nEndPara--; // then not this paragraph ...
- aNewSel.nEndPos = 0;
- }
-
- pEditView->pImpEditView->DrawSelectionXOR();
- pEditView->pImpEditView->SetEditSelection(
- pEditView->pImpEditView->GetEditSelection().Max() );
- UndoActionStart( bRight ? EDITUNDO_INDENTBLOCK : EDITUNDO_UNINDENTBLOCK );
-
- for ( sal_Int32 nPara = aESel.nStartPara; nPara <= aESel.nEndPara; nPara++ )
- {
- ContentNode* pNode = GetEditDoc().GetObject( nPara );
- if ( bRight )
- {
- // Insert Tabs
- EditPaM aPaM( pNode, 0 );
- InsertTab( aPaM );
- }
- else
- {
- // Remove Tabs
- const EditCharAttrib* pFeature = pNode->GetCharAttribs().FindFeature( 0 );
- if ( pFeature && ( pFeature->GetStart() == 0 ) &&
- ( pFeature->GetItem()->Which() == EE_FEATURE_TAB ) )
- {
- EditPaM aStartPaM( pNode, 0 );
- EditPaM aEndPaM( pNode, 1 );
- ImpDeleteSelection( EditSelection( aStartPaM, aEndPaM ) );
- }
- }
- }
-
- UndoActionEnd();
- UpdateSelections();
- FormatAndUpdate( pEditView );
-
- ContentNode* pLastNode = GetEditDoc().GetObject( aNewSel.nEndPara );
- if ( pLastNode->Len() < aNewSel.nEndPos )
- aNewSel.nEndPos = pLastNode->Len();
- pEditView->pImpEditView->SetEditSelection( CreateSel( aNewSel ) );
- pEditView->pImpEditView->DrawSelectionXOR();
- pEditView->pImpEditView->ShowCursor( false, true );
- }
-}
-
std::shared_ptr<SvxForbiddenCharactersTable> const & ImpEditEngine::GetForbiddenCharsTable()
{
return EditDLL::Get().GetGlobalData()->GetForbiddenCharsTable();
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index 146a443e5153..0719e6cb61df 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -131,9 +131,6 @@ public:
CreateTabPage pCreateFunc, // != 0
GetTabPageRanges pRangesFunc); // can be 0
- sal_uInt16 AddTabPage ( const OString &rName, // Name of the label for the page in the notebook .ui
- sal_uInt16 nPageCreateId ); // Identifier of the Factory Method to create the page
-
void AddTabPage( sal_uInt16 nId,
const OUString &rRiderText,
CreateTabPage pCreateFunc, // != 0
@@ -179,21 +176,14 @@ public:
const CancelButton& GetCancelButton() const { return *m_pCancelBtn; }
CancelButton& GetCancelButton() { return *m_pCancelBtn; }
- void RemoveStandardButton();
-
short Execute() override;
bool StartExecuteAsync( VclAbstractDialog::AsyncContext &rCtx ) override;
void Start();
const SfxItemSet* GetExampleSet() const { return m_pExampleSet; }
- void SetApplyHandler(const Link<Button*,void>& _rHdl);
-
SAL_DLLPRIVATE void Start_Impl();
- //calls Ok without closing dialog
- bool Apply();
-
virtual FactoryFunction GetUITestFactory() const override;
// Screenshot interface
virtual std::vector<OString> getAllPageUIXMLDescriptions() const override;
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index ccdadaf7dee1..2f4f2f63ae29 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -268,7 +268,6 @@ public:
void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry );
#endif
- Point GetPixelPos( const Point& rPosLogic ) const;
void SetSelectionMode( SelectionMode eMode );
tools::Rectangle GetBoundingBox( SvxIconChoiceCtrlEntry* pEntry ) const;
diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx
index eaffca059a0d..df57a4767eda 100644
--- a/include/vcl/vclmedit.hxx
+++ b/include/vcl/vclmedit.hxx
@@ -152,7 +152,6 @@ public:
void SetRightToLeft( bool bRightToLeft );
void SaveValue() { aSaveValue = GetText(); }
- const OUString& GetSavedValue() const { return aSaveValue; }
void SetModifyHdl( const Link<Edit&,void>& rLink ) override { aModifyHdlLink = rLink; }
const Link<Edit&,void>& GetModifyHdl() const override { return aModifyHdlLink; }
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 99ce1066fab1..386a24d14d5a 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -555,11 +555,6 @@ void SfxTabDialog::Init_Impl(bool bFmtFlag)
}
}
-void SfxTabDialog::RemoveStandardButton()
-{
- m_pBaseFmtBtn->Hide();
-}
-
short SfxTabDialog::Execute()
{
if ( !m_pTabCtrl->GetPageCount() )
@@ -592,14 +587,6 @@ void SfxTabDialog::Start()
}
-void SfxTabDialog::SetApplyHandler(const Link<Button*, void>& _rHdl)
-{
- DBG_ASSERT( m_pApplyBtn, "SfxTabDialog::GetApplyHandler: no apply button enabled!" );
- if ( m_pApplyBtn )
- m_pApplyBtn->SetClickHdl( _rHdl );
-}
-
-
void SfxTabDialog::Start_Impl()
{
assert(m_pImpl->aData.size() == m_pTabCtrl->GetPageCount()
@@ -645,26 +632,6 @@ sal_uInt16 SfxTabDialog::AddTabPage
return nId;
}
-/*
- Adds a page to the dialog. The Name must correspond to a entry in the
- TabControl in the dialog .ui
- */
-sal_uInt16 SfxTabDialog::AddTabPage
-(
- const OString &rName, // Page ID
- sal_uInt16 nPageCreateId // Identifier of the Factory Method to create the page
-)
-{
- SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
- CreateTabPage pCreateFunc = pFact->GetTabPageCreatorFunc(nPageCreateId);
- assert(pCreateFunc);
- GetTabPageRanges pRangesFunc = pFact->GetTabPageRangesFunc(nPageCreateId);
- sal_uInt16 nPageId = m_pTabCtrl->GetPageId(rName);
- m_pImpl->aData.push_back(new Data_Impl(nPageId, rName, pCreateFunc, pRangesFunc));
- return nPageId;
-}
-
-
void SfxTabDialog::AddTabPage
/* [Description]
@@ -895,26 +862,6 @@ IMPL_LINK_NOARG(SfxTabDialog, OkHdl, Button*, void)
}
}
-bool SfxTabDialog::Apply()
-{
- bool bApplied = false;
- if (PrepareLeaveCurrentPage())
- {
- bApplied = (Ok() == RET_OK);
- //let the pages update their saved values
- GetInputSetImpl()->Put(*GetOutputItemSet());
- sal_uInt16 pageCount = m_pTabCtrl->GetPageCount();
- for (sal_uInt16 pageIdx = 0; pageIdx < pageCount; ++pageIdx)
- {
- SfxTabPage* pPage = dynamic_cast<SfxTabPage*> (m_pTabCtrl->GetTabPage(m_pTabCtrl->GetPageId(pageIdx)));
- if (pPage)
- pPage->ChangesApplied();
- }
- }
- return bApplied;
-}
-
-
bool SfxTabDialog::PrepareLeaveCurrentPage()
{
sal_uInt16 const nId = m_pTabCtrl->GetCurPageId();
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx
index 3d747fb48e48..15a558160015 100644
--- a/svtools/source/contnr/contentenumeration.cxx
+++ b/svtools/source/contnr/contentenumeration.cxx
@@ -332,40 +332,6 @@ namespace svt
}
- bool FileViewContentEnumerator::implGetDocTitle( const OUString& _rTargetURL, OUString& _rRet ) const
- {
- bool bRet = false;
-
- try
- {
- ::osl::MutexGuard aGuard( m_aMutex );
- if (!m_xDocProps.is())
- {
- m_xDocProps.set(DocumentProperties::create(
- ::comphelper::getProcessComponentContext()));
- }
-
- assert(m_xDocProps.is());
- if (!m_xDocProps.is())
- return false;
-
- m_xDocProps->loadFromMedium(_rTargetURL, Sequence<PropertyValue>());
-
- OUString const sTitle(m_xDocProps->getTitle());
- if (!sTitle.isEmpty())
- {
- _rRet = sTitle;
- bRet = true;
- }
- }
- catch ( const Exception& )
- {
- }
-
- return bRet;
- }
-
-
void FileViewContentEnumerator::execute()
{
enumerateFolderContent();
diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx
index 201f6012a2df..6de8e21370f7 100644
--- a/svtools/source/contnr/contentenumeration.hxx
+++ b/svtools/source/contnr/contentenumeration.hxx
@@ -62,7 +62,6 @@ namespace svt
inline const OUString& GetLowerTitle() const;
inline const OUString& GetFileName() const;
inline void SetNewTitle( const OUString& rNewTitle ); // new maTitle is set -> maFilename is set to same!
- inline void ChangeTitle( const OUString& rChangedTitle ); // maTitle is changed, maFilename is unchanged!
private:
inline void SetTitles( const OUString& rNewTitle );
@@ -101,11 +100,6 @@ namespace svt
maFilename = rNewTitle.toAsciiUpperCase();
}
- inline void SortingData_Impl::ChangeTitle( const OUString& rChangedTitle )
- {
- SetTitles( rChangedTitle );
- }
-
inline void SortingData_Impl::SetTitles( const OUString& rNewTitle )
{
maTitle = rNewTitle;
@@ -113,18 +107,6 @@ namespace svt
}
- //= IContentTitleTranslation
-
- class IContentTitleTranslation
- {
- public:
- virtual bool GetTranslation( const OUString& _rOriginalName, OUString& _rTranslatedName ) const = 0;
-
- protected:
- ~IContentTitleTranslation() {}
- };
-
-
//= EnumerationResult
enum class EnumerationResult
@@ -251,8 +233,6 @@ namespace svt
// Thread overridables
virtual void execute() override;
- private:
- bool implGetDocTitle( const OUString& _rTargetURL, OUString& _rRet ) const;
};
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx
index 846d451cf71c..df8645cb9c5c 100644
--- a/svtools/source/contnr/ivctrl.cxx
+++ b/svtools/source/contnr/ivctrl.cxx
@@ -178,13 +178,6 @@ void SvtIconChoiceCtrl::Resize()
Control::Resize();
}
-Point SvtIconChoiceCtrl::GetPixelPos( const Point& rPosLogic ) const
-{
- Point aPos( rPosLogic );
- aPos += GetMapMode().GetOrigin();
- return aPos;
-}
-
void SvtIconChoiceCtrl::GetFocus()
{
_pImpl->GetFocus();
diff --git a/sw/source/core/inc/UndoTable.hxx b/sw/source/core/inc/UndoTable.hxx
index 4eb0b8f1c60d..bc262a51f5f1 100644
--- a/sw/source/core/inc/UndoTable.hxx
+++ b/sw/source/core/inc/UndoTable.hxx
@@ -194,10 +194,6 @@ public:
long nMn, long nMx,
sal_uInt16 nCnt, bool bFlg, bool bSameHeight );
- // for SetColWidth
- SwUndoTableNdsChg( SwUndoId UndoId, const SwSelBoxes& rBoxes,
- const SwTableNode& rTableNd );
-
virtual ~SwUndoTableNdsChg() override;
virtual void UndoImpl( ::sw::UndoRedoContext & ) override;
diff --git a/sw/source/core/inc/doctxm.hxx b/sw/source/core/inc/doctxm.hxx
index 11ad51f4c398..a23771fd70f1 100644
--- a/sw/source/core/inc/doctxm.hxx
+++ b/sw/source/core/inc/doctxm.hxx
@@ -76,8 +76,6 @@ public:
const bool _bNewTOX = false );
void UpdatePageNum(); // insert page numbering
- const std::vector<std::unique_ptr<SwTOXSortTabBase>>& GetTOXSortTabBases() const { return m_aSortArr; }
-
bool SetPosAtStartEnd( SwPosition& rPos ) const;
};
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index 95ad7f2a6397..d7da17c38d1d 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -1483,24 +1483,6 @@ SwUndoTableNdsChg::SwUndoTableNdsChg( SwUndoId nAction,
ReNewBoxes( rBoxes );
}
-SwUndoTableNdsChg::SwUndoTableNdsChg( SwUndoId nAction,
- const SwSelBoxes& rBoxes,
- const SwTableNode& rTableNd )
- : SwUndo( nAction, rTableNd.GetDoc() ),
- m_nMin( 0 ), m_nMax( 0 ),
- m_nSttNode( rTableNd.GetIndex() ), m_nCurrBox( 0 ),
- m_nCount( 0 ), m_nRelDiff( 0 ), m_nAbsDiff( 0 ),
- m_nSetColType( TableChgWidthHeightType::InvalidPos ),
- m_bFlag( false ),
- m_bSameHeight( false )
-{
- const SwTable& rTable = rTableNd.GetTable();
- m_pSaveTable.reset( new SaveTable( rTable ) );
-
- // and remember selection
- ReNewBoxes( rBoxes );
-}
-
void SwUndoTableNdsChg::ReNewBoxes( const SwSelBoxes& rBoxes )
{
if (rBoxes.size() != m_Boxes.size())
diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx
index 6cba9c300ebd..c64a0d3deabf 100644
--- a/sw/source/ui/dialog/swdlgfact.cxx
+++ b/sw/source/ui/dialog/swdlgfact.cxx
@@ -159,8 +159,6 @@ short AbstractTabController_Impl::Execute()
return m_xDlg->run();
}
-IMPL_ABSTDLG_BASE(AbstractTabDialog_Impl);
-
short AbstractSwConvertTableDlg_Impl::Execute()
{
return m_xDlg->run();
@@ -244,32 +242,6 @@ short AbstractAuthMarkFloatDlg_Impl::Execute()
return m_xDlg->run();
}
-void AbstractTabDialog_Impl::SetCurPageId( const OString &rName )
-{
- pDlg->SetCurPageId( rName );
-}
-
-const SfxItemSet* AbstractTabDialog_Impl::GetOutputItemSet() const
-{
- return pDlg->GetOutputItemSet();
-}
-
-const sal_uInt16* AbstractTabDialog_Impl::GetInputRanges(const SfxItemPool& pItem )
-{
- return pDlg->GetInputRanges( pItem );
-}
-
-void AbstractTabDialog_Impl::SetInputSet( const SfxItemSet* pInSet )
-{
- pDlg->SetInputSet( pInSet );
-}
-
-//From class Window.
-void AbstractTabDialog_Impl::SetText( const OUString& rStr )
-{
- pDlg->SetText( rStr );
-}
-
void AbstractTabController_Impl::SetCurPageId( const OString &rName )
{
m_xDlg->SetCurPageId( rName );
diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx
index 20af94170204..b53b83ccb66e 100644
--- a/sw/source/ui/dialog/swdlgfact.hxx
+++ b/sw/source/ui/dialog/swdlgfact.hxx
@@ -234,17 +234,6 @@ public:
virtual SplitTable_HeadlineOption GetSplitMode() override;
};
-class AbstractTabDialog_Impl : virtual public SfxAbstractTabDialog
-{
- DECL_ABSTDLG_BASE( AbstractTabDialog_Impl,SfxTabDialog )
- virtual void SetCurPageId( const OString &rName ) override;
- virtual const SfxItemSet* GetOutputItemSet() const override;
- virtual const sal_uInt16* GetInputRanges( const SfxItemPool& pItem ) override;
- virtual void SetInputSet( const SfxItemSet* pInSet ) override;
- //From class Window.
- virtual void SetText( const OUString& rStr ) override;
-};
-
class AbstractTabController_Impl : virtual public SfxAbstractTabDialog
{
protected:
diff --git a/sw/source/uibase/inc/prcntfld.hxx b/sw/source/uibase/inc/prcntfld.hxx
index 717620013d03..4616a0cec216 100644
--- a/sw/source/uibase/inc/prcntfld.hxx
+++ b/sw/source/uibase/inc/prcntfld.hxx
@@ -71,8 +71,6 @@ public:
int NormalizePercent(int nValue);
int DenormalizePercent(int nValue);
- int normalize(int nValue) const { return m_pField->normalize(nValue); }
-
void SetRefValue(int nValue);
int GetRealValue(FieldUnit eOutUnit);