summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/QueryTextView.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 /dbaccess/source/ui/inc/QueryTextView.hxx
parentconvert to use std random instead of boost (diff)
downloadcore-b44cbb26efe1d0b0950b1e1613e131b506dc3876.tar.gz
core-b44cbb26efe1d0b0950b1e1613e131b506dc3876.zip
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 'dbaccess/source/ui/inc/QueryTextView.hxx')
-rw-r--r--dbaccess/source/ui/inc/QueryTextView.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/dbaccess/source/ui/inc/QueryTextView.hxx b/dbaccess/source/ui/inc/QueryTextView.hxx
index 9e9cdc4c6392..8155cc188fa2 100644
--- a/dbaccess/source/ui/inc/QueryTextView.hxx
+++ b/dbaccess/source/ui/inc/QueryTextView.hxx
@@ -35,21 +35,21 @@ namespace dbaui
virtual void GetFocus() SAL_OVERRIDE;
- virtual bool isCutAllowed();
- virtual bool isPasteAllowed();
- virtual bool isCopyAllowed();
- virtual void copy();
- virtual void cut();
- virtual void paste();
+ bool isCutAllowed();
+ bool isPasteAllowed();
+ bool isCopyAllowed();
+ void copy();
+ void cut();
+ void paste();
// clears the whole query
- virtual void clear();
+ void clear();
// set the view readonly or not
- virtual void setReadOnly(bool _bReadOnly);
+ void setReadOnly(bool _bReadOnly);
// check if the statement is correct when not returning false
- virtual bool checkStatement();
+ bool checkStatement();
// set the statement for representation
- virtual void setStatement(const OUString& _rsStatement);
- virtual OUString getStatement();
+ void setStatement(const OUString& _rsStatement);
+ OUString getStatement();
// allow access to our edit
OSqlEdit* getSqlEdit() const { return m_pEdit; }