diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 09:13:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 12:56:26 +0000 |
commit | 0d051730156f633150fa9e3107fe97cf7be6d8f9 (patch) | |
tree | 73a29cd8f7f6c3630088c74f52cb53c948eb4ba5 /include | |
parent | d2e9d3d0ed42f0fc24255c64546d8d256ca33aae (diff) |
loplugin:constantparam
Change-Id: Iced8ff99d52d55e6b6c3126affafbea6786e94f0
Reviewed-on: https://gerrit.libreoffice.org/30858
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/sqliterator.hxx | 4 | ||||
-rw-r--r-- | include/connectivity/sqlnode.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/dispatch.hxx | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx index 1d72ee553302..442d69d8b536 100644 --- a/include/connectivity/sqliterator.hxx +++ b/include/connectivity/sqliterator.hxx @@ -158,8 +158,7 @@ namespace connectivity OSQLParseTreeIterator( const css::uno::Reference< css::sdbc::XConnection >& _rxConnection, const css::uno::Reference< css::container::XNameAccess >& _rxTables, - const OSQLParser& _rParser, - const OSQLParseNode* pRoot = nullptr ); + const OSQLParser& _rParser ); ~OSQLParseTreeIterator(); inline static void * SAL_CALL operator new( size_t nSize ) @@ -176,7 +175,6 @@ namespace connectivity // The parse tree to be analysed/traversed: // If NULL is passed, the current parse tree will be deleted and the error status cleared. void setParseTree(const OSQLParseNode * pNewParseTree); -// void setParser(const OSQLParser* _pParser) { m_pParser = _pParser; } const OSQLParseNode * getParseTree() const { return m_pParseTree; }; // subtrees in case of a select statement diff --git a/include/connectivity/sqlnode.hxx b/include/connectivity/sqlnode.hxx index cb750e53d2a3..2622faa857c4 100644 --- a/include/connectivity/sqlnode.hxx +++ b/include/connectivity/sqlnode.hxx @@ -417,8 +417,7 @@ namespace connectivity bool _bIntl, bool _bQuote, sal_Char _cDecSep, - bool _bPredicate, - bool _bSubstitute) const; + bool _bPredicate) const; private: void impl_parseNodeToString_throw( OUStringBuffer& rString, const SQLParseNodeParameter& rParam, bool bSimple=true ) const; diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index 51e05b8a0d2c..1b79d9049997 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -113,7 +113,7 @@ public: SfxDispatcher(); SfxDispatcher( SfxViewFrame *pFrame ); - SAL_DLLPRIVATE void Construct_Impl( SfxDispatcher* pParent ); + SAL_DLLPRIVATE void Construct_Impl(); ~SfxDispatcher(); |