summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-21 14:26:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-21 18:44:29 +0200
commit4c945b22fc42eb7a52864018cbca88358e71fd4d (patch)
tree582dad7232dcd43e00029f5573f9896a93c71ca8 /include
parent893f2128ed451120e41dba1ee4c2f512ec6bb20e (diff)
new loplugin:methodcycles
look for closed cycles of methods i.e. unused code that would not otherwise be found by the unusedmethods loplugin Change-Id: I3fb052132d97aabca573bb8e9fc424201b1e2042 Reviewed-on: https://gerrit.libreoffice.org/60875 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbx.hxx2
-rw-r--r--include/basic/sbxobj.hxx1
-rw-r--r--include/connectivity/sqliterator.hxx5
-rw-r--r--include/vcl/outdev.hxx2
4 files changed, 0 insertions, 10 deletions
diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx
index 4a51b99fd457..26cfa3b4d05d 100644
--- a/include/basic/sbx.hxx
+++ b/include/basic/sbx.hxx
@@ -135,7 +135,6 @@ public:
void Merge( SbxArray* );
OUString GetAlias( sal_uInt16 );
void PutAlias( const OUString&, sal_uInt16 );
- SbxVariable* FindUserData( sal_uInt32 nUserData );
SbxVariable* Find( const OUString&, SbxClassType );
// Additional methods for 32-bit indices
@@ -212,7 +211,6 @@ public:
SbxCollection();
SbxCollection( const SbxCollection& );
SbxCollection& operator=( const SbxCollection& );
- virtual SbxVariable* FindUserData( sal_uInt32 nUserData ) override;
virtual SbxVariable* Find( const OUString&, SbxClassType ) override;
virtual void Clear() override;
};
diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx
index 86aacecff5c9..7ad0953ae500 100644
--- a/include/basic/sbxobj.hxx
+++ b/include/basic/sbxobj.hxx
@@ -57,7 +57,6 @@ public:
SbxProperty* GetDfltProperty();
void SetDfltProperty( const OUString& r );
// Search for an element
- virtual SbxVariable* FindUserData( sal_uInt32 nUserData );
virtual SbxVariable* Find( const OUString&, SbxClassType );
SbxVariable* FindQualified( const OUString&, SbxClassType );
// Quick-Call-Interface for Methods
diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx
index d10bc71ea81d..f62d6790a63f 100644
--- a/include/connectivity/sqliterator.hxx
+++ b/include/connectivity/sqliterator.hxx
@@ -255,9 +255,6 @@ namespace connectivity
OUString &_rColumnName,
OUString& _rTableRange);
- // empty if ambiguous
- bool getColumnTableRange(const OSQLParseNode* pNode, OUString &rTableRange) const;
-
// return true when the tableNode is a rule like catalog_name, schema_name or table_name
static bool isTableNode(const OSQLParseNode* _pTableNode);
@@ -268,8 +265,6 @@ namespace connectivity
::std::vector< TNodePair >& getJoinConditions() const;
private:
- // helper to implement getColumnTableRange
- bool impl_getColumnTableRange(const OSQLParseNode* pNode, OUString &rTableRange) const;
/** traverses the list of table names, and fills _rTables
*/
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 13ac5a5d05d4..f661bb377636 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -706,8 +706,6 @@ public:
void DrawPixel( const Point& rPt );
void DrawPixel( const Point& rPt, const Color& rColor );
- void DrawPixel( const tools::Polygon& rPts, const Color* pColors );
- void DrawPixel( const tools::Polygon& rPts, const Color& rColor );
Color GetPixel( const Point& rPt ) const;
///@}