summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:05:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-18 09:17:43 +0200
commit4c05834a363535804d2cf5892704e19a5bb4f966 (patch)
tree43226f521a491e833bdd3f18b1655e945018ba64
parent60861faa8653afebb504cfbcaeed633d2373a27d (diff)
loplugin:unusedmethods
Change-Id: I1c50d176e793397a1f9625f797a3750cf191a61c Reviewed-on: https://gerrit.libreoffice.org/37679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--compilerplugins/clang/unusedmethods.results100
-rw-r--r--compilerplugins/clang/unusedmethods.unused-returns.results32
-rw-r--r--editeng/source/outliner/outlvw.cxx6
-rw-r--r--filter/source/graphicfilter/idxf/dxfvec.cxx12
-rw-r--r--filter/source/graphicfilter/idxf/dxfvec.hxx3
-rw-r--r--include/editeng/outliner.hxx2
-rw-r--r--include/svtools/inettbc.hxx4
-rw-r--r--include/tools/resmgr.hxx2
-rw-r--r--include/unotools/pathoptions.hxx1
-rw-r--r--include/unotools/ucbhelper.hxx5
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/inc/rsctools.hxx4
-rw-r--r--rsc/source/parser/rscdb.cxx32
-rw-r--r--sc/source/ui/inc/viewdata.hxx1
-rw-r--r--scaddins/source/datefunc/datefunc.hxx2
-rw-r--r--starmath/inc/cursor.hxx11
-rw-r--r--starmath/source/cursor.cxx65
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx24
-rw-r--r--sw/source/ui/fldui/fldfunc.hxx1
-rw-r--r--tools/source/rc/resmgr.cxx12
-rw-r--r--unotools/source/config/pathoptions.cxx14
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx25
22 files changed, 76 insertions, 283 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results
index e25f1c810268..03176a9681fd 100644
--- a/compilerplugins/clang/unusedmethods.results
+++ b/compilerplugins/clang/unusedmethods.results
@@ -64,30 +64,40 @@ 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/hash.hxx:40
- class std::__debug::vector<unsigned char, class std::allocator<unsigned char> > comphelper::Hash::calculateHash(const unsigned char *,unsigned long,enum comphelper::HashType)
include/comphelper/logging.hxx:57
class rtl::OUString convertLogArgToString(char16_t)
-include/comphelper/logging.hxx:129
- _Bool comphelper::EventLogger::log(const int,const class rtl::OUString &,type-parameter-?-?) const
-include/comphelper/logging.hxx:139
- _Bool comphelper::EventLogger::log(const int,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:150
- _Bool comphelper::EventLogger::log(const int,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:162
- _Bool comphelper::EventLogger::log(const int,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:175
- _Bool comphelper::EventLogger::log(const int,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:189
- _Bool comphelper::EventLogger::log(const int,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:224
+include/comphelper/logging.hxx:232
_Bool comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:247
+include/comphelper/logging.hxx:255
_Bool comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:260
+include/comphelper/logging.hxx:268
_Bool comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
-include/comphelper/logging.hxx:274
+include/comphelper/logging.hxx:282
_Bool comphelper::EventLogger::log(const int,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
+include/comphelper/logging.hxx:307
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?) const
+include/comphelper/logging.hxx:317
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?) const
+include/comphelper/logging.hxx:328
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const class rtl::OUString &,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
+include/comphelper/logging.hxx:340
+ _Bool 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:353
+ _Bool 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:367
+ _Bool 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:392
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?) const
+include/comphelper/logging.hxx:402
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?) const
+include/comphelper/logging.hxx:413
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
+include/comphelper/logging.hxx:425
+ _Bool comphelper::EventLogger::logp(const int,const char *,const char *,const char *,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?,type-parameter-?-?) const
+include/comphelper/logging.hxx:438
+ _Bool 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:452
+ _Bool 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:44
_Bool isLocalRendering()
include/comphelper/proparrhlp.hxx:87
@@ -190,7 +200,7 @@ include/oox/helper/propertymap.hxx:114
void oox::PropertyMap::dumpData(const class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertySet> &)
include/opencl/OpenCLZone.hxx:42
_Bool OpenCLZone::isInInitialTest()
-include/sfx2/msg.hxx:119
+include/sfx2/msg.hxx:120
const class std::type_info * SfxType0::Type() const
include/svl/itempool.hxx:209
void SfxItemPool::dumpAsXml(struct _xmlTextWriter *) const
@@ -212,6 +222,8 @@ include/tools/bigint.hxx:143
_Bool operator!=(const class BigInt &,const class BigInt &)
include/tools/bigint.hxx:146
_Bool operator<=(const class BigInt &,const class BigInt &)
+include/tools/date.hxx:83
+ _Bool Date::IsEmpty() const
include/tools/datetime.hxx:47
DateTime::DateTime(const class tools::Time &)
include/tools/datetime.hxx:93
@@ -230,9 +242,9 @@ include/unotest/assertion_traits.hxx:25
_Bool CppUnit::assertion_traits::equal(signed char,signed char)
include/unotest/assertion_traits.hxx:27
class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > CppUnit::assertion_traits::toString(signed char)
-include/vcl/commandevent.hxx:249
+include/vcl/commandevent.hxx:251
CommandMediaData::CommandMediaData(enum MediaCommand)
-include/vcl/menu.hxx:472
+include/vcl/menu.hxx:476
class tools::Rectangle MenuBar::GetMenuBarButtonRectPixel(unsigned short)
include/vcl/opengl/OpenGLContext.hxx:99
void OpenGLContext::UseNoProgram()
@@ -252,47 +264,45 @@ include/vcl/uitest/uiobject.hxx:312
SpinUIObject::SpinUIObject(class VclPtr<class SpinButton>)
include/vcl/uitest/uiobject.hxx:320
class std::unique_ptr<class UIObject, struct std::default_delete<class UIObject> > SpinUIObject::create(class vcl::Window *)
-include/vcl/window.hxx:427
+include/vcl/window.hxx:428
const char * ImplDbgCheckWindow(const void *)
oox/inc/drawingml/textliststyle.hxx:49
void oox::drawingml::TextListStyle::dump() const
sc/inc/compressedarray.hxx:158
ScBitMaskCompressedArray::ScBitMaskCompressedArray<A, D>(type-parameter-?-?,const type-parameter-?-? *,unsigned long)
-sc/inc/dpfilteredcache.hxx:145
+sc/inc/dpfilteredcache.hxx:144
void ScDPFilteredCache::dump() const
sc/inc/formulacell.hxx:433
void ScFormulaCell::Dump() const
sc/inc/formulagroup.hxx:140
void sc::FormulaGroupInterpreter::enableOpenCL_UnitTestsOnly()
-sc/inc/PivotTableDataProvider.hxx:150
- void sc::PivotTableDataProvider::setLabeledDataSequence(class com::sun::star::uno::Reference<class com::sun::star::chart2::data::XLabeledDataSequence> &,const class rtl::OUString &,const class rtl::OUString &,const class std::__debug::vector<struct sc::ValueAndFormat, class std::allocator<struct sc::ValueAndFormat> > &,const class rtl::OUString &,const class rtl::OUString &,const class std::__debug::vector<struct sc::ValueAndFormat, class std::allocator<struct sc::ValueAndFormat> > &)
sc/inc/postit.hxx:47
ScCaptionPtr::ScCaptionPtr(class SdrCaptionObj *)
sc/inc/scdll.hxx:42
ScDLL::ScDLL()
-sc/inc/table.hxx:291
+sc/inc/table.hxx:292
_Bool ScTable::IsColRowTabValid(short,int,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:199
+sc/qa/unit/helper/qahelper.hxx:201
class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char> > print(const class ScAddress &)
sc/qa/unit/ucalc.hxx:141
void Test::testFormulaHashAndTag()
sc/qa/unit/ucalc.hxx:170
void Test::testSingleCellCopyColumnLabel()
-sc/qa/unit/ucalc.hxx:221
+sc/qa/unit/ucalc.hxx:222
void Test::testExternalRefUnresolved()
-sc/qa/unit/ucalc.hxx:360
+sc/qa/unit/ucalc.hxx:361
void Test::testCopyPasteSkipEmptyConditionalFormatting()
-sc/qa/unit/ucalc.hxx:387
+sc/qa/unit/ucalc.hxx:388
void Test::testSharedFormulaMoveBlock()
-sc/qa/unit/ucalc.hxx:494
- void Test::testCondFormatUpdateMoveTab()
sc/qa/unit/ucalc.hxx:495
- void Test::testCondFormatUpdateDeleteTab()
+ void Test::testCondFormatUpdateMoveTab()
sc/qa/unit/ucalc.hxx:496
- void Test::testCondFormatUpdateInsertTab()
+ void Test::testCondFormatUpdateDeleteTab()
sc/qa/unit/ucalc.hxx:497
+ void Test::testCondFormatUpdateInsertTab()
+sc/qa/unit/ucalc.hxx:498
void Test::testCondFormatUpdateReference()
sc/source/core/opencl/formulagroupcl.cxx:936
_Bool sc::opencl::DynamicKernelSlidingArgument::NeedParallelReduction() const
@@ -434,19 +444,19 @@ sw/inc/dbgoutsw.hxx:109
const char * dbg_out(const struct SwFormToken &)
sw/inc/dbgoutsw.hxx:110
const char * dbg_out(const class std::__debug::vector<struct SwFormToken, class std::allocator<struct SwFormToken> > &)
-sw/inc/docary.hxx:141
+sw/inc/docary.hxx:143
void SwVectorModifyBase::dumpAsXml(struct _xmlTextWriter *)
-sw/inc/docary.hxx:223
+sw/inc/docary.hxx:228
void SwFrameFormats::erase(unsigned long)
-sw/inc/docary.hxx:238
+sw/inc/docary.hxx:243
struct std::pair<class boost::multi_index::detail::bidir_node_iterator<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > >, class boost::multi_index::detail::bidir_node_iterator<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > > > SwFrameFormats::rangeFind(class SwFrameFormat *const &) const
-sw/inc/docary.hxx:240
+sw/inc/docary.hxx:245
class boost::multi_index::detail::bidir_node_iterator<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > > SwFrameFormats::rangeEnd() const
-sw/inc/docary.hxx:241
- class boost::multi_index::detail::rnd_node_iterator<struct boost::multi_index::detail::random_access_index_node<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > > > SwFrameFormats::rangeProject(const class boost::multi_index::detail::bidir_node_iterator<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > > &)
sw/inc/docary.hxx:246
+ class boost::multi_index::detail::rnd_node_iterator<struct boost::multi_index::detail::random_access_index_node<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > > > SwFrameFormats::rangeProject(const class boost::multi_index::detail::bidir_node_iterator<struct boost::multi_index::detail::ordered_index_node<struct boost::multi_index::detail::null_augment_policy, struct boost::multi_index::detail::index_node_base<class SwFrameFormat *, class std::allocator<class SwFrameFormat *> > > > &)
+sw/inc/docary.hxx:251
class SwFrameFormat *const & SwFrameFormats::front() const
-sw/inc/docary.hxx:247
+sw/inc/docary.hxx:252
class SwFrameFormat *const & SwFrameFormats::back() const
sw/inc/pagedesc.hxx:418
void SwPageDescs::erase(class SwPageDesc *const &)
@@ -460,7 +470,7 @@ sw/inc/swrect.hxx:105
class SvStream & WriteSwRect(class SvStream &,const class SwRect &)
sw/qa/extras/inc/swmodeltestbase.hxx:523
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:4621
+sw/qa/extras/uiwriter/uiwriter.cxx:4894
int main()
sw/source/core/inc/flowfrm.hxx:171
class SwFlowFrame * SwFlowFrame::GetPrecede()
@@ -514,7 +524,7 @@ vcl/inc/salwtype.hxx:117
SalMenuEvent::SalMenuEvent()
vcl/inc/unx/glyphcache.hxx:71
void GlyphCache::ClearFontOptions()
-vcl/inc/unx/gtk/gtkdata.hxx:182
+vcl/inc/unx/gtk/gtkdata.hxx:181
void GtkSalDisplay::RefreshMenusUnity()
vcl/inc/unx/gtk/gtkinst.hxx:120
void GtkDropTarget::fire_dragExit(const struct com::sun::star::datatransfer::dnd::DropTargetEvent &)
@@ -540,7 +550,7 @@ vcl/source/fontsubset/xlat.hxx:35
unsigned short TranslateChar16(unsigned short)
vcl/source/gdi/pdfwriter_impl.hxx:1282
void vcl::PDFWriterImpl::setAutoAdvanceTime(unsigned int,int)
-workdir/LexTarget/l10ntools/source/xrmlex.cxx:730
+workdir/LexTarget/l10ntools/source/srclex.cxx:1380
void YYWarning()
writerfilter/source/ooxml/OOXMLPropertySet.hxx:160
class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> *, class std::__cxx1998::vector<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> > > >, class std::__debug::vector<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty>, class std::allocator<class std::shared_ptr<class writerfilter::ooxml::OOXMLProperty> > > > writerfilter::ooxml::OOXMLPropertySet::begin() const
@@ -554,6 +564,8 @@ xmlsecurity/inc/xmlsignaturehelper.hxx:112
void XMLSignatureHelper::SignatureCreationResultListener(struct XMLSignatureCreationResult &)
xmlsecurity/inc/xmlsignaturehelper.hxx:113
void XMLSignatureHelper::SignatureVerifyResultListener(struct XMLSignatureVerifyResult &)
+xmlsecurity/source/gpg/CertificateImpl.hxx:83
+ const class GpgME::Key * CertificateImpl::getCertificate() const
xmlsecurity/source/gpg/XMLEncryption.hxx:27
XMLEncryptionGpg::XMLEncryptionGpg()
xmlsecurity/source/gpg/XMLSignature.hxx:27
diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results
index 39144956f645..021e57ebeae4 100644
--- a/compilerplugins/clang/unusedmethods.unused-returns.results
+++ b/compilerplugins/clang/unusedmethods.unused-returns.results
@@ -3,30 +3,30 @@ chart2/source/view/main/OpenGLRender.hxx:69
chart2/source/view/main/OpenGLRender.hxx:70
int OpenGLRender::MoveModelf(const struct PosVecf3 &,const struct PosVecf3 &,const struct PosVecf3 &)
chart2/source/view/main/OpenGLRender.hxx:74
- int OpenGLRender::RenderLine2FBO(int)
+ int OpenGLRender::RenderLine2FBO()
chart2/source/view/main/OpenGLRender.hxx:75
int OpenGLRender::SetLine2DShapePoint(float,float,int)
chart2/source/view/main/OpenGLRender.hxx:79
int OpenGLRender::Bubble2DShapePoint(float,float,float,float)
chart2/source/view/main/OpenGLRender.hxx:80
- int OpenGLRender::RenderBubble2FBO(int)
+ int OpenGLRender::RenderBubble2FBO()
chart2/source/view/main/OpenGLRender.hxx:84
int OpenGLRender::RenderRectangleShape(_Bool,_Bool)
chart2/source/view/main/OpenGLRender.hxx:85
int OpenGLRender::RectangleShapePoint(float,float,float,float)
-chart2/source/view/main/OpenGLRender.hxx:93
- int OpenGLRender::CreateTextTexture(const class BitmapEx &,const struct com::sun::star::awt::Point &,const struct com::sun::star::awt::Size &,long,const struct com::sun::star::drawing::HomogenMatrix3 &)
-chart2/source/view/main/OpenGLRender.hxx:96
+chart2/source/view/main/OpenGLRender.hxx:92
+ int OpenGLRender::CreateTextTexture(const class BitmapEx &,const struct com::sun::star::awt::Size &,long,const struct com::sun::star::drawing::HomogenMatrix3 &)
+chart2/source/view/main/OpenGLRender.hxx:95
int OpenGLRender::RenderTextShape()
-chart2/source/view/main/OpenGLRender.hxx:98
+chart2/source/view/main/OpenGLRender.hxx:97
int OpenGLRender::SetArea2DShapePoint(float,float,int)
-chart2/source/view/main/OpenGLRender.hxx:99
+chart2/source/view/main/OpenGLRender.hxx:98
int OpenGLRender::RenderArea2DShape()
-chart2/source/view/main/OpenGLRender.hxx:103
+chart2/source/view/main/OpenGLRender.hxx:102
int OpenGLRender::RenderPieSegment2DShape(float,float,float)
-chart2/source/view/main/OpenGLRender.hxx:105
- int OpenGLRender::RenderSymbol2DShape(float,float,float,float,int)
-chart2/source/view/main/OpenGLRender.hxx:122
+chart2/source/view/main/OpenGLRender.hxx:104
+ int OpenGLRender::RenderSymbol2DShape(float,float,int)
+chart2/source/view/main/OpenGLRender.hxx:121
int OpenGLRender::Create2DCircle(int)
compilerplugins/clang/test/externvar.hxx:23
int f(int)
@@ -52,13 +52,11 @@ connectivity/source/inc/odbc/OConnection.hxx:82
short connectivity::odbc::OConnection::Construct(const class rtl::OUString &,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> &)
dbaccess/source/ui/browser/genericcontroller.cxx:1267
const type-parameter-?-? & dbaui::(anonymous namespace)::SGI_identity::operator()(const type-parameter-?-? &) const
-hwpfilter/source/hwpfile.h:141
- int HWPFile::Read1b(void *,unsigned long)
i18nlangtag/source/languagetag/languagetag.cxx:275
const class rtl::OUString & LanguageTagImpl::getBcp47() const
-include/basegfx/matrix/b2dhommatrix.hxx:86
+include/basegfx/matrix/b2dhommatrix.hxx:90
class basegfx::B2DHomMatrix & basegfx::B2DHomMatrix::operator*=(double)
-include/basegfx/matrix/b2dhommatrix.hxx:87
+include/basegfx/matrix/b2dhommatrix.hxx:91
class basegfx::B2DHomMatrix & basegfx::B2DHomMatrix::operator/=(double)
include/basegfx/matrix/b3dhommatrix.hxx:103
class basegfx::B3DHomMatrix & basegfx::B3DHomMatrix::operator*=(double)
@@ -272,9 +270,9 @@ include/vcl/fontcharmap.hxx:48
class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool)
include/vcl/gdimtf.hxx:185
class SvStream & GDIMetaFile::Read(class SvStream &)
-include/vcl/graphicfilter.hxx:257
+include/vcl/graphicfilter.hxx:261
unsigned short 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/menu.hxx:464
+include/vcl/menu.hxx:468
unsigned short MenuBar::AddMenuBarButton(const class Image &,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &,const class rtl::OUString &)
lotuswordpro/source/filter/lwpsvstream.hxx:76
class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &)
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 8f77e901b0cc..6296b54b5d3b 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -1378,13 +1378,13 @@ void OutlinerView::ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallback
pEditView->ExecuteSpellPopup( rPosPixel, pStartDlg );
}
-sal_uLong OutlinerView::Read( SvStream& rInput, EETextFormat eFormat, SvKeyValueIterator* pHTTPHeaderAttrs )
+void OutlinerView::Read( SvStream& rInput, EETextFormat eFormat, SvKeyValueIterator* pHTTPHeaderAttrs )
{
sal_Int32 nOldParaCount = pEditView->GetEditEngine()->GetParagraphCount();
ESelection aOldSel = pEditView->GetSelection();
aOldSel.Adjust();
- sal_uLong nRet = pEditView->Read( rInput, eFormat, pHTTPHeaderAttrs );
+ pEditView->Read( rInput, eFormat, pHTTPHeaderAttrs );
long nParaDiff = pEditView->GetEditEngine()->GetParagraphCount() - nOldParaCount;
sal_Int32 nChangesStart = aOldSel.nStartPara;
@@ -1408,8 +1408,6 @@ sal_uLong OutlinerView::Read( SvStream& rInput, EETextFormat eFormat, SvKeyValue
{
pOwner->ImpFilterIndents( nChangesStart, nChangesEnd );
}
-
- return nRet;
}
void OutlinerView::SetBackgroundColor( const Color& rColor )
diff --git a/filter/source/graphicfilter/idxf/dxfvec.cxx b/filter/source/graphicfilter/idxf/dxfvec.cxx
index bda80dfe30e8..5f1457c2232f 100644
--- a/filter/source/graphicfilter/idxf/dxfvec.cxx
+++ b/filter/source/graphicfilter/idxf/dxfvec.cxx
@@ -221,18 +221,6 @@ LineInfo DXFTransform::Transform(const DXFLineInfo& aDXFLineInfo) const
return aLineInfo;
}
-sal_uInt32 DXFTransform::TransLineWidth(double fW) const
-{
- double fex,fey;
-
- fex=sqrt(aMX.fx*aMX.fx + aMX.fy*aMX.fy);
- fey=sqrt(aMY.fx*aMY.fx + aMY.fy*aMY.fy);
- // ###
- // printf("fex=%f fey=%f\n", fex, fey);
- return (sal_uInt32)(fabs(fW)*(fex+fey)/2.0+0.5);
-}
-
-
double DXFTransform::CalcRotAngle() const
{
return atan2(aMX.fy,aMX.fx)/3.14159265359*180.0;
diff --git a/filter/source/graphicfilter/idxf/dxfvec.hxx b/filter/source/graphicfilter/idxf/dxfvec.hxx
index 4f22e6ef97fe..03e88e166e6d 100644
--- a/filter/source/graphicfilter/idxf/dxfvec.hxx
+++ b/filter/source/graphicfilter/idxf/dxfvec.hxx
@@ -145,9 +145,6 @@ public:
// arbitrary position would be created, sal_False is returned.
// (The center point will not be transformed, use Transform(..))
- sal_uInt32 TransLineWidth(double fW) const;
- // Transforms the thickness of a line (as good as possible)
-
double CalcRotAngle() const;
// Calculates the rotation angle around z-axis (in degrees)
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 8d570919fcc7..dd83ed03c9cd 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -259,7 +259,7 @@ public:
void AdjustHeight( long nDY );
- sal_uLong Read( SvStream& rInput, EETextFormat eFormat, SvKeyValueIterator* pHTTPHeaderAttrs );
+ void Read( SvStream& rInput, EETextFormat eFormat, SvKeyValueIterator* pHTTPHeaderAttrs );
void InsertText( const OUString& rNew, bool bSelect = false );
void InsertText( const OutlinerParaObject& rParaObj );
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index 5501d77b4d2c..26a3d8aeda31 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -71,8 +71,6 @@ public:
void SetNoURLSelection( bool bSet );
INetProtocol GetSmartProtocol() const { return eSmartProtocol; }
void SetSmartProtocol( INetProtocol eProt );
- bool IsCtrlOpen()
- { return bCtrlClick; }
OUString GetURL();
void DisableHistory();
@@ -82,7 +80,7 @@ public:
void SetFilter(const OUString& _sFilter);
- void EnableAutocompletion( bool _bEnable )
+ void EnableAutocompletion( bool _bEnable )
{ bIsAutoCompleteEnabled = _bEnable; }
void SetPlaceHolder( const OUString& sPlaceHolder )
{ aPlaceHolder = sPlaceHolder; }
diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx
index 68a6a66a911d..6d98f4997e3a 100644
--- a/include/tools/resmgr.hxx
+++ b/include/tools/resmgr.hxx
@@ -157,8 +157,6 @@ public:
{ nLen++; return (nLen + nLen%2); }
static sal_uInt32 GetStringSize( const sal_uInt8* pStr, sal_uInt32& nLen );
- /// Return a int64
- static sal_uInt64 GetUInt64( void const * pDatum );
/// Return a long
static sal_Int32 GetLong( void const * pLong );
diff --git a/include/unotools/pathoptions.hxx b/include/unotools/pathoptions.hxx
index 3f559b4dd93e..cc86e04e5926 100644
--- a/include/unotools/pathoptions.hxx
+++ b/include/unotools/pathoptions.hxx
@@ -124,7 +124,6 @@ public:
OUString ExpandMacros( const OUString& rPath ) const;
OUString UseVariable( const OUString& rVar ) const;
bool SearchFile( OUString& rIniFile, Paths ePath = PATH_USERCONFIG );
- const LanguageTag& GetLanguageTag() const;
};
#endif // INCLUDED_UNOTOOLS_PATHOPTIONS_HXX
diff --git a/include/unotools/ucbhelper.hxx b/include/unotools/ucbhelper.hxx
index 653d82805d6b..201f1b15722e 100644
--- a/include/unotools/ucbhelper.hxx
+++ b/include/unotools/ucbhelper.hxx
@@ -64,11 +64,6 @@ UNOTOOLS_DLLPUBLIC bool ensureFolder(
const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv,
const OUString& rFolder, ucbhelper::Content & result) throw();
-/// @return the value of the "Size" property of the given content, or zero if
-/// obtaining the property yields a void value or raises a
-/// non-RuntimeException (RuntimeExceptions are passed through)
-UNOTOOLS_DLLPUBLIC sal_Int64 GetSize(OUString const & url);
-
UNOTOOLS_DLLPUBLIC bool IsYounger(
OUString const & younger, OUString const & older);
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 40147318a0df..a33d9eca7a33 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -114,7 +114,6 @@ public:
}
// deletes all resource objects of this file
void Delete( RscFileTab::Index lFileKey );
- sal_uInt32 PutSysName( RESOURCE_TYPE nRscTyp, char * pName );
void ClearSysNames();
ERRTYPE WriteRc( WriteRcContext& rContext );
void WriteSrc( FILE * fOutput, RscFileTab::Index nFileIndex );
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx
index ccfe95471dd9..2af05864b401 100644
--- a/rsc/inc/rsctools.hxx
+++ b/rsc/inc/rsctools.hxx
@@ -101,10 +101,6 @@ public:
*pTo++ = *pFrom++;
return bSwap ? OSL_SWAPDWORD( nVal ) : nVal;
}
- char * GetUTF8( sal_uInt32 nPos )
- {
- return GetPointer( nPos );
- }
sal_uInt32 Size(){ return nLen; }
void Put( sal_uInt64 lVal )
{
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index 8ff1da5acf1e..7eafff1f4398 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -188,38 +188,6 @@ void RscTypCont::ClearSysNames()
aSysLst.clear();
}
-sal_uInt32 RscTypCont::PutSysName( RESOURCE_TYPE nRscTyp, char * pFileName )
-{
- RscSysEntry *pFoundEntry = nullptr;
-
- for (RscSysEntry* pItem: aSysLst)
- {
- if( !strcmp( pItem->aFileName.getStr(), pFileName ) &&
- pItem->nRscTyp == nRscTyp &&
- pItem->nTyp == 0 &&
- pItem->nRefId == 0)
- {
- pFoundEntry = pItem;
- break;
- }
- }
- RscSysEntry *pSysEntry = pFoundEntry;
-
- if ( !pSysEntry )
- {
- pSysEntry = new RscSysEntry;
- pSysEntry->nKey = nUniqueId++;
- pSysEntry->nRscTyp = nRscTyp;
- pSysEntry->nTyp = 0;
- pSysEntry->nRefId = 0;
- pSysEntry->aFileName = pFileName;
- aSysLst.push_back( pSysEntry );
- }
-
- return pSysEntry->nKey;
-}
-
-
class RscEnumerateObj
{
friend class RscEnumerateRef;
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 9c54b3d2a02f..21cae7f0e66a 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -434,7 +434,6 @@ public:
void SetHScrollMode ( bool bNewMode ) { pOptions->SetOption( VOPT_HSCROLL, bNewMode ); }
bool IsOutlineMode () const { return pOptions->GetOption( VOPT_OUTLINER ); }
void SetOutlineMode ( bool bNewMode ) { pOptions->SetOption( VOPT_OUTLINER, bNewMode ); }
- void SetNotesMode ( bool bNewMode ) { pOptions->SetOption( VOPT_NOTES, bNewMode ); }
/// Force page size for PgUp/PgDown to overwrite the computation based on m_aVisArea.
void ForcePageUpDownOffset(long nTwips) { m_nLOKPageUpDownOffset = nTwips; }
diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx
index 9204709bca1f..8299a3635418 100644
--- a/scaddins/source/datefunc/datefunc.hxx
+++ b/scaddins/source/datefunc/datefunc.hxx
@@ -94,8 +94,6 @@ public:
typedef std::vector<ScaFuncData> ScaFuncDataList;
-void InitScaFuncDataList ( ScaFuncDataList& rList, ResMgr& rResMgr );
-
// Predicate for use with std::find_if
struct FindScaFuncData
{
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx
index f35011a31c42..72de1a1cbadb 100644
--- a/starmath/inc/cursor.hxx
+++ b/starmath/inc/cursor.hxx
@@ -138,17 +138,6 @@ public:
*/
void InsertSubSup(SmSubSup eSubSup);
- /** Create a limit on an SmOperNode
- *
- * This method only work if the caret is inside an SmOperNode, or to the right of one.
- * Notice also that this method ignores any selection made.
- *
- * The caret will be moved into the limit.
- *
- * @returns True, if the caret was in a context where this operation was possible.
- */
- bool InsertLimit(SmSubSup eSubSup);
-
/** Insert a new row or newline
*
* Inserts a new row if position is in an matrix or stack command.
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 78bfb040e39d..564df363a72d 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -586,71 +586,6 @@ void SmCursor::InsertSubSup(SmSubSup eSubSup) {
FinishEdit(pLineList, pLineParent, nParentIndex, PosAfterScript, pScriptLine);
}
-bool SmCursor::InsertLimit(SmSubSup eSubSup) {
- //Find a subject to set limits on
- SmOperNode *pSubject = nullptr;
- //Check if pSelectedNode might be a subject
- if(mpPosition->CaretPos.pSelectedNode->GetType() == SmNodeType::Oper)
- pSubject = static_cast<SmOperNode*>(mpPosition->CaretPos.pSelectedNode);
- else {
- //If not, check if parent of the current line is a SmOperNode
- SmNode *pLineNode = FindTopMostNodeInLine(mpPosition->CaretPos.pSelectedNode);
- if(pLineNode->GetParent() && pLineNode->GetParent()->GetType() == SmNodeType::Oper)
- pSubject = static_cast<SmOperNode*>(pLineNode->GetParent());
- }
-
- //Abort operation if we're not in the appropriate context
- if(!pSubject)
- return false;
-
- BeginEdit();
-
- //Find the sub sup node
- SmSubSupNode *pSubSup = nullptr;
- //Check if there's already one there...
- if(pSubject->GetSubNode(0)->GetType() == SmNodeType::SubSup)
- pSubSup = static_cast<SmSubSupNode*>(pSubject->GetSubNode(0));
- else { //if not create a new SmSubSupNode
- SmToken token;
- token.nGroup = TG::Limit;
- pSubSup = new SmSubSupNode(token);
- //Set it's body
- pSubSup->SetBody(pSubject->GetSubNode(0));
- //Replace the operation of the SmOperNode
- pSubject->SetSubNode(0, pSubSup);
- }
-
- //Create the limit, if needed
- SmCaretPos PosAfterLimit;
- SmNode *pLine = nullptr;
- if(!pSubSup->GetSubSup(eSubSup)){
- pLine = new SmPlaceNode();
- pSubSup->SetSubSup(eSubSup, pLine);
- PosAfterLimit = SmCaretPos(pLine, 1);
- //If it's already there... let's move the caret
- } else {
- pLine = pSubSup->GetSubSup(eSubSup);
- SmNodeList* pLineList = NodeToList(pLine);
- if (!pLineList->empty())
- PosAfterLimit = SmCaretPos::GetPosAfter(pLineList->back());
- pLine = SmNodeListParser().Parse(pLineList);
- delete pLineList;
- pSubSup->SetSubSup(eSubSup, pLine);
- }
-
- //Rebuild graph of caret positions
- BuildGraph();
- AnnotateSelection();
-
- //Set caret position
- if(!SetCaretPosition(PosAfterLimit))
- SetCaretPosition(SmCaretPos(pLine, 0));
-
- EndEdit();
-
- return true;
-}
-
void SmCursor::InsertBrackets(SmBracketType eBracketType) {
BeginEdit();
diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx
index 0c9587bb0013..b06f044c4cd9 100644
--- a/sw/source/ui/fldui/fldfunc.cxx
+++ b/sw/source/ui/fldui/fldfunc.cxx
@@ -600,30 +600,6 @@ bool SwFieldFuncPage::FillItemSet(SfxItemSet* )
return false;
}
-OUString SwFieldFuncPage::TurnMacroString(const OUString &rMacro)
-{
- if (!rMacro.isEmpty())
- {
- // reverse content of aName
- OUString sMacro;
- sal_Int32 nPos = 0;
-
- for (int i = 0; i < 4 && nPos != -1; i++)
- {
- OUString sTmp = (i == 3)
- ? rMacro.copy(nPos)
- : rMacro.getToken(0, '.', nPos);
-
- sMacro = !sMacro.isEmpty()
- ? sTmp + "." + sMacro
- : sTmp;
- }
- return sMacro;
- }
-
- return rMacro;
-}
-
VclPtr<SfxTabPage> SwFieldFuncPage::Create( vcl::Window* pParent,
const SfxItemSet *const pAttrSet)
{
diff --git a/sw/source/ui/fldui/fldfunc.hxx b/sw/source/ui/fldui/fldfunc.hxx
index 2f969b2af15d..3789057d6ac1 100644
--- a/sw/source/ui/fldui/fldfunc.hxx
+++ b/sw/source/ui/fldui/fldfunc.hxx
@@ -80,7 +80,6 @@ class SwFieldFuncPage : public SwFieldPage
DECL_LINK( MacroHdl, Button *, void );
void UpdateSubType();
- static OUString TurnMacroString(const OUString &rMacro);
protected:
virtual sal_uInt16 GetGroup() override;
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 422c7882d9a1..09c1fbe2a954 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -1067,18 +1067,6 @@ sal_Int32 ResMgr::GetLong( void const * pLong )
(*(static_cast<const sal_uInt8*>(pLong) + 3) << 0) );
}
-sal_uInt64 ResMgr::GetUInt64( void const * pDatum )
-{
- return ((sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 0)) << 56) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 1)) << 48) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 2)) << 40) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 3)) << 32) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 4)) << 24) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 5)) << 16) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 6)) << 8) |
- (sal_uInt64(*(static_cast<const sal_uInt8*>(pDatum) + 7)) << 0) );
-}
-
sal_uInt32 ResMgr::GetStringWithoutHook( OUString& rStr, const sal_uInt8* pStr )
{
sal_uInt32 nLen=0;
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index 6bdf6e0606d5..7b42f63b98fe 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -88,7 +88,6 @@ class SvtPathOptions_Impl
mutable EnumToHandleMap m_aMapEnumToPropHandle;
VarNameSet m_aSystemPathVarNames;
- LanguageTag m_aLanguageTag;
OUString m_aEmptyString;
mutable ::osl::Mutex m_aMutex;
@@ -151,8 +150,6 @@ class SvtPathOptions_Impl
OUString SubstVar( const OUString& rVar ) const;
OUString ExpandMacros( const OUString& rPath ) const;
OUString UsePathVariables( const OUString& rPath ) const;
-
- const LanguageTag& GetLanguageTag() const { return m_aLanguageTag; }
};
// global ----------------------------------------------------------------
@@ -397,8 +394,7 @@ OUString SvtPathOptions_Impl::SubstVar( const OUString& rVar ) const
}
SvtPathOptions_Impl::SvtPathOptions_Impl() :
- m_aPathArray( (sal_Int32)SvtPathOptions::PATH_COUNT ),
- m_aLanguageTag( LANGUAGE_DONTKNOW )
+ m_aPathArray( (sal_Int32)SvtPathOptions::PATH_COUNT )
{
Reference< XComponentContext > xContext = comphelper::getProcessComponentContext();
@@ -441,9 +437,6 @@ SvtPathOptions_Impl::SvtPathOptions_Impl() :
{
m_aSystemPathVarNames.insert( OUString::createFromAscii( aVarNameAttribute[i].pVarName ) );
}
-
- // Set language type!
- m_aLanguageTag.reset( ConfigManager::getLocale() );
}
// class SvtPathOptions --------------------------------------------------
@@ -844,9 +837,4 @@ bool SvtPathOptions::SearchFile( OUString& rIniFile, Paths ePath )
return bRet;
}
-const LanguageTag& SvtPathOptions::GetLanguageTag() const
-{
- return pImpl->GetLanguageTag();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index f9eabf948e29..417a70bba7d6 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -304,31 +304,6 @@ bool utl::UCBContentHelper::MakeFolder(
}
}
-sal_Int64 utl::UCBContentHelper::GetSize(OUString const & url) {
- try {
- sal_Int64 n = 0;
- bool ok = (content(url).getPropertyValue("Size") >>= n);
- SAL_INFO_IF(
- !ok, "unotools.ucbhelper",
- "UCBContentHelper::GetSize(" << url
- << "): Size cannot be determined");
- return n;
- } catch (css::uno::RuntimeException const &) {
- throw;
- } catch (css::ucb::CommandAbortedException const &) {
- assert(false && "this cannot happen");
- throw;
- } catch (css::uno::Exception const &) {
- css::uno::Any e(cppu::getCaughtException());
- SAL_INFO(
- "unotools.ucbhelper",
- "UCBContentHelper::GetSize(" << url << ") "
- << e.getValueType().getTypeName() << " \""
- << e.get<css::uno::Exception>().Message << '"');
- return 0;
- }
-}
-
bool utl::UCBContentHelper::IsYounger(
OUString const & younger, OUString const & older)
{