From 403c13487c36f4200adf0986c5d11398f719cd7a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Aug 2015 16:28:49 +0200 Subject: loplugin:unusedmethods Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/connectivity/PColumn.hxx | 7 ------- include/connectivity/formattedcolumnvalue.hxx | 4 ---- include/connectivity/sdbcx/VCollection.hxx | 1 - include/connectivity/sqliterator.hxx | 1 - include/connectivity/sqlnode.hxx | 2 -- include/connectivity/sqlscan.hxx | 2 -- 6 files changed, 17 deletions(-) (limited to 'include/connectivity') diff --git a/include/connectivity/PColumn.hxx b/include/connectivity/PColumn.hxx index e5b4c73db2d5..741fe412bf8a 100644 --- a/include/connectivity/PColumn.hxx +++ b/include/connectivity/PColumn.hxx @@ -81,15 +81,8 @@ namespace connectivity void setFunction(bool _bFunction) { m_bFunction = _bFunction; } void setAggregateFunction(bool _bFunction) { m_bAggregateFunction = _bFunction; } void setIsSearchable( bool _bIsSearchable ) { m_bIsSearchable = _bIsSearchable; } - void setDbasePrecisionChanged(bool _bDbasePrecisionChanged) { m_bDbasePrecisionChanged = _bDbasePrecisionChanged; } - const OUString& getRealName() const { return m_aRealName; } - const OUString& getLabel() const { return m_sLabel; } - const OUString& getTableName() const { return m_TableName; } - bool getFunction() const { return m_bFunction; } - bool getDbasePrecisionChanged() const { return m_bDbasePrecisionChanged; } - public: /** creates a collection of OParseColumn, as described by a result set meta data instance. */ static ::rtl::Reference< OSQLColumns > diff --git a/include/connectivity/formattedcolumnvalue.hxx b/include/connectivity/formattedcolumnvalue.hxx index 4ce1309a9fea..f946ce264305 100644 --- a/include/connectivity/formattedcolumnvalue.hxx +++ b/include/connectivity/formattedcolumnvalue.hxx @@ -79,13 +79,9 @@ namespace dbtools void clear(); // access to the details of the formatting we determined - sal_Int32 getFormatKey() const; - sal_Int32 getFieldType() const; sal_Int16 getKeyType() const; const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& getColumn() const; - const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumnUpdate >& - getColumnUpdate() const; bool setFormattedValue( const OUString& _rFormattedStringValue ) const; OUString getFormattedValue() const; diff --git a/include/connectivity/sdbcx/VCollection.hxx b/include/connectivity/sdbcx/VCollection.hxx index b056ddd92459..54e5a386b2d0 100644 --- a/include/connectivity/sdbcx/VCollection.hxx +++ b/include/connectivity/sdbcx/VCollection.hxx @@ -78,7 +78,6 @@ namespace connectivity virtual void disposeAndErase(sal_Int32 _nIndex) = 0; virtual void disposeElements() = 0; virtual sal_Int32 findColumn( const OUString& columnName ) = 0; - virtual OUString findColumnAtIndex( sal_Int32 _nIndex) = 0; virtual ObjectType getObject(sal_Int32 _nIndex) = 0; virtual ObjectType getObject(const OUString& columnName) = 0; virtual void setObject(sal_Int32 _nIndex,const ObjectType& _xObject) = 0; diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx index be8274a8e607..0a9fd32e0460 100644 --- a/include/connectivity/sqliterator.hxx +++ b/include/connectivity/sqliterator.hxx @@ -215,7 +215,6 @@ namespace connectivity ::rtl::Reference getGroupColumns() const { return m_aGroupColumns;} ::rtl::Reference getOrderColumns() const { return m_aOrderColumns;} ::rtl::Reference getParameters() const { return m_aParameters; } - ::rtl::Reference getCreateColumns() const { return m_aCreateColumns;} /** return the columname and the table range @param _pColumnRef diff --git a/include/connectivity/sqlnode.hxx b/include/connectivity/sqlnode.hxx index 691cedd0e563..61c6afa4bcc0 100644 --- a/include/connectivity/sqlnode.hxx +++ b/include/connectivity/sqlnode.hxx @@ -368,8 +368,6 @@ namespace connectivity const OUString& getTokenValue() const {return m_aNodeValue;} - void setTokenValue(const OUString& rString) { if (isToken()) m_aNodeValue = rString;} - bool isLeaf() const {return m_aChildren.empty();} // negate only a searchcondition, any other rule could cause a gpf diff --git a/include/connectivity/sqlscan.hxx b/include/connectivity/sqlscan.hxx index 1506c74dd842..ad17f7d28e0d 100644 --- a/include/connectivity/sqlscan.hxx +++ b/include/connectivity/sqlscan.hxx @@ -55,8 +55,6 @@ namespace connectivity sal_Int32 SQLyygetc(); void SQLyyerror(char const *fmt); - static void output(sal_Int32) { OSL_FAIL("Internal error in sdblex.l: output not possible"); } - static void ECHO() { OSL_FAIL("Internal error in sdblex.l: ECHO not possible"); } IParseContext::InternationalKeyCode getInternationalTokenID(const char* sToken) const; // setting the new information before scanning -- cgit