summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-04 16:28:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-05 09:39:22 +0000
commit403c13487c36f4200adf0986c5d11398f719cd7a (patch)
tree21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /include/connectivity
parent10560949f90e08fe4a04dd91c7d388c4998100e8 (diff)
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/PColumn.hxx7
-rw-r--r--include/connectivity/formattedcolumnvalue.hxx4
-rw-r--r--include/connectivity/sdbcx/VCollection.hxx1
-rw-r--r--include/connectivity/sqliterator.hxx1
-rw-r--r--include/connectivity/sqlnode.hxx2
-rw-r--r--include/connectivity/sqlscan.hxx2
6 files changed, 0 insertions, 17 deletions
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<OSQLColumns> getGroupColumns() const { return m_aGroupColumns;}
::rtl::Reference<OSQLColumns> getOrderColumns() const { return m_aOrderColumns;}
::rtl::Reference<OSQLColumns> getParameters() const { return m_aParameters; }
- ::rtl::Reference<OSQLColumns> 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