From 86e0e147984f8ca48ab0a9c88c37e9e4c4274088 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 27 Feb 2019 13:16:34 +0100 Subject: Untabify .l files (to silence loplugin:indentation warnings) Change-Id: I8368c8a1d52f6c55a8cea952b2b02345e41c1e5c Reviewed-on: https://gerrit.libreoffice.org/68448 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- connectivity/source/parse/sqlflex.l | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 9dfcb98a265b..1002ecef7970 100644 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -778,7 +778,7 @@ void OSQLScanner::prepareScan(const OUString & rNewStatement, const IParseContex //------------------------------------------------------------------------------ sal_Int32 OSQLScanner::SQLyygetc(void) { - sal_Int32 nPos = (m_nCurrentPos >= m_sStatement.getLength()) ? EOF : m_sStatement.getStr()[m_nCurrentPos]; + sal_Int32 nPos = (m_nCurrentPos >= m_sStatement.getLength()) ? EOF : m_sStatement.getStr()[m_nCurrentPos]; m_nCurrentPos++; return nPos; } @@ -789,18 +789,18 @@ IParseContext::InternationalKeyCode OSQLScanner::getInternationalTokenID(const s OSL_ENSURE(m_pContext, "OSQLScanner::getInternationalTokenID: No Context set"); return (m_bInternational) ? m_pContext->getIntlKeyCode(OString(sToken) ) : IParseContext::InternationalKeyCode::None; } -sal_Int32 OSQLScanner::GetGERRule() { return PREDICATE_GER; } -sal_Int32 OSQLScanner::GetENGRule() { return PREDICATE_ENG; } -sal_Int32 OSQLScanner::GetSQLRule() { return SQL; } -sal_Int32 OSQLScanner::GetDATERule() { return DATE; } -sal_Int32 OSQLScanner::GetSTRINGRule() { return STRING; } +sal_Int32 OSQLScanner::GetGERRule() { return PREDICATE_GER; } +sal_Int32 OSQLScanner::GetENGRule() { return PREDICATE_ENG; } +sal_Int32 OSQLScanner::GetSQLRule() { return SQL; } +sal_Int32 OSQLScanner::GetDATERule() { return DATE; } +sal_Int32 OSQLScanner::GetSTRINGRule() { return STRING; } void OSQLScanner::setScanner(bool _bNull) { - xxx_pGLOBAL_SQLSCAN = _bNull ? nullptr : this; + xxx_pGLOBAL_SQLSCAN = _bNull ? nullptr : this; } sal_Int32 OSQLScanner::SQLlex() { - return SQLyylex(); + return SQLyylex(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit