summaryrefslogtreecommitdiff
path: root/include/connectivity/sqlscan.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /include/connectivity/sqlscan.hxx
parent26ad60aec69310fecd918f1c2e09056aa4782320 (diff)
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'include/connectivity/sqlscan.hxx')
-rw-r--r--include/connectivity/sqlscan.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/connectivity/sqlscan.hxx b/include/connectivity/sqlscan.hxx
index 301efddc6dca..d89949acae17 100644
--- a/include/connectivity/sqlscan.hxx
+++ b/include/connectivity/sqlscan.hxx
@@ -53,11 +53,11 @@ namespace connectivity
inline static void SAL_CALL operator delete( void *,void* )
{ }
- virtual sal_Int32 SQLyygetc(void);
- virtual void SQLyyerror(char const *fmt);
- virtual void output(sal_Int32) { OSL_FAIL("Internal error in sdblex.l: output not possible"); }
- virtual void ECHO(void) { OSL_FAIL("Internal error in sdblex.l: ECHO not possible"); }
- virtual IParseContext::InternationalKeyCode getInternationalTokenID(const char* sToken) const;
+ sal_Int32 SQLyygetc(void);
+ void SQLyyerror(char const *fmt);
+ void output(sal_Int32) { OSL_FAIL("Internal error in sdblex.l: output not possible"); }
+ void ECHO(void) { OSL_FAIL("Internal error in sdblex.l: ECHO not possible"); }
+ IParseContext::InternationalKeyCode getInternationalTokenID(const char* sToken) const;
// setting the new information before scanning
void prepareScan(const OUString & rNewStatement, const IParseContext* pContext, bool bInternational);