summaryrefslogtreecommitdiff
path: root/include/connectivity/sqlscan.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 10:42:52 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:51 +0200
commitef268562602a4bef0e128f95beaef9732ac00c7d (patch)
treeb36a4a773a86c84833a48f7eeec50dc3e76b0729 /include/connectivity/sqlscan.hxx
parent216ffb038f4a2f43286d96b83a64346a2351c8c1 (diff)
loplugin:passstuffbyref in connectivity
Change-Id: I751977ecc1b532f72dd5673767471cb0a2cdbd06
Diffstat (limited to 'include/connectivity/sqlscan.hxx')
-rw-r--r--include/connectivity/sqlscan.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connectivity/sqlscan.hxx b/include/connectivity/sqlscan.hxx
index ad17f7d28e0d..570a17ea7289 100644
--- a/include/connectivity/sqlscan.hxx
+++ b/include/connectivity/sqlscan.hxx
@@ -60,7 +60,7 @@ namespace connectivity
// setting the new information before scanning
void prepareScan(const OUString & rNewStatement, const IParseContext* pContext, bool bInternational);
const OUString& getErrorMessage() const {return m_sErrorMessage;}
- OString getStatement() const { return m_sStatement; }
+ const OString& getStatement() const { return m_sStatement; }
static sal_Int32 SQLlex();
// set this as scanner for flex