summaryrefslogtreecommitdiff
path: root/include/connectivity/sqlscan.hxx
diff options
context:
space:
mode:
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