summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 08:55:13 +0200
committerNoel Grandin <noel@peralex.com>2015-06-09 10:06:57 +0200
commit81b954718f0cdac6873927e869b3e41f863562e7 (patch)
tree3e12a2cb35b263ea4d4e49b61af2ca8b733c5c28 /dbaccess/source
parentaba3c3a35a0afde16e42a94ae8cb2b1f589135db (diff)
loplugin:unnecessaryvirtuals
Improve the plugin a little. Create a python script to process the output. Run it again. Change-Id: I05c21d8a21c8f4243af739c412fda0a521f9b5f0
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/api/querydescriptor.hxx2
-rw-r--r--dbaccess/source/core/dataaccess/commanddefinition.hxx22
-rw-r--r--dbaccess/source/core/inc/TableDeco.hxx2
-rw-r--r--dbaccess/source/core/inc/definitioncolumn.hxx2
-rw-r--r--dbaccess/source/ui/dlg/generalpage.hxx2
-rw-r--r--dbaccess/source/ui/dlg/tablespage.hxx2
6 files changed, 16 insertions, 16 deletions
diff --git a/dbaccess/source/core/api/querydescriptor.hxx b/dbaccess/source/core/api/querydescriptor.hxx
index a447818891ce..cbf12e5d981e 100644
--- a/dbaccess/source/core/api/querydescriptor.hxx
+++ b/dbaccess/source/core/api/querydescriptor.hxx
@@ -100,7 +100,7 @@ protected:
*/
virtual void rebuildColumns( );
- virtual void disposeColumns();
+ void disposeColumns();
// IRefreshableColumns overridables
virtual void refreshColumns() SAL_OVERRIDE;
diff --git a/dbaccess/source/core/dataaccess/commanddefinition.hxx b/dbaccess/source/core/dataaccess/commanddefinition.hxx
index 58640a08e3a0..18469f916267 100644
--- a/dbaccess/source/core/dataaccess/commanddefinition.hxx
+++ b/dbaccess/source/core/dataaccess/commanddefinition.hxx
@@ -125,17 +125,17 @@ public:
{ OComponentDefinition::removeEventListener(p1); }
// XQueryDefinition properties
- virtual OUString getName() throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString getCommand() throw( ::com::sun::star::uno::RuntimeException );
- virtual void setCommand(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
- virtual bool getEscapeProcessing() throw( ::com::sun::star::uno::RuntimeException );
- virtual void setEscapeProcessing(bool) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString getUpdateTableName() throw( ::com::sun::star::uno::RuntimeException );
- virtual void setUpdateTableName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString getUpdateCatalogName() throw( ::com::sun::star::uno::RuntimeException );
- virtual void setUpdateCatalogName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString getUpdateSchemaName() throw( ::com::sun::star::uno::RuntimeException );
- virtual void setUpdateSchemaName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
+ OUString getName() throw( ::com::sun::star::uno::RuntimeException );
+ OUString getCommand() throw( ::com::sun::star::uno::RuntimeException );
+ void setCommand(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
+ bool getEscapeProcessing() throw( ::com::sun::star::uno::RuntimeException );
+ void setEscapeProcessing(bool) throw( ::com::sun::star::uno::RuntimeException );
+ OUString getUpdateTableName() throw( ::com::sun::star::uno::RuntimeException );
+ void setUpdateTableName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
+ OUString getUpdateCatalogName() throw( ::com::sun::star::uno::RuntimeException );
+ void setUpdateCatalogName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
+ OUString getUpdateSchemaName() throw( ::com::sun::star::uno::RuntimeException );
+ void setUpdateSchemaName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
// OPropertySetHelper
DECLARE_PROPERTYCONTAINER_DEFAULTS( );
diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx
index 764610351ae0..73b8b2ab3763 100644
--- a/dbaccess/source/core/inc/TableDeco.hxx
+++ b/dbaccess/source/core/inc/TableDeco.hxx
@@ -119,7 +119,7 @@ namespace dbaccess
) throw(::com::sun::star::sdbc::SQLException);
// ODescriptor
- virtual void construct();
+ void construct();
//XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx
index 0fad23fb64fa..d615c55929f3 100644
--- a/dbaccess/source/core/inc/definitioncolumn.hxx
+++ b/dbaccess/source/core/inc/definitioncolumn.hxx
@@ -209,7 +209,7 @@ namespace dbaccess
)
throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
+ sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
protected:
OUString impl_getPropertyNameFromHandle( const sal_Int32 _nHandle ) const;
diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx
index b30c592abdc7..30b012cb7031 100644
--- a/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/dbaccess/source/ui/dlg/generalpage.hxx
@@ -181,7 +181,7 @@ namespace dbaui
::std::vector< OUString>
m_aEmbeddedURLPrefixes;
- virtual OUString getEmbeddedDBName( const SfxItemSet& _rSet );
+ OUString getEmbeddedDBName( const SfxItemSet& _rSet );
void initializeEmbeddedDBList();
protected:
diff --git a/dbaccess/source/ui/dlg/tablespage.hxx b/dbaccess/source/ui/dlg/tablespage.hxx
index a5dc8e8e9dbc..884ef4a499a9 100644
--- a/dbaccess/source/ui/dlg/tablespage.hxx
+++ b/dbaccess/source/ui/dlg/tablespage.hxx
@@ -58,7 +58,7 @@ namespace dbaui
/** will be called when the controls need to be resized.
*/
- virtual void resizeControls(const Size& _rDiff);
+ void resizeControls(const Size& _rDiff);
OTableSubscriptionPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ,OTableSubscriptionDialog* _pTablesDlg);
virtual ~OTableSubscriptionPage();