summaryrefslogtreecommitdiff
path: root/ucb
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 /ucb
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 'ucb')
-rw-r--r--ucb/source/cacher/dynamicresultsetwrapper.hxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_content.hxx2
-rw-r--r--ucb/source/ucp/file/bc.hxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.hxx b/ucb/source/cacher/dynamicresultsetwrapper.hxx
index c12ca2b781d6..dfc2f4eec8e5 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.hxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.hxx
@@ -168,7 +168,7 @@ public:
impl_disposing( const com::sun::star::lang::EventObject& Source )
throw( com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL
+ void SAL_CALL
impl_notify( const ::com::sun::star::ucb::ListEvent& Changes )
throw( com::sun::star::uno::RuntimeException );
};
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index 37141dd94a31..58d818b3e6cc 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -147,7 +147,7 @@ public:
getProperties( const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment > & xEnv ) SAL_OVERRIDE;
- virtual libcmis::ObjectPtr updateProperties(
+ libcmis::ObjectPtr updateProperties(
const com::sun::star::uno::Any& iCmisProps,
const com::sun::star::uno::Reference<
com::sun::star::ucb::XCommandEnvironment > & xEnv);
diff --git a/ucb/source/ucp/file/bc.hxx b/ucb/source/ucp/file/bc.hxx
index 824827ce08ed..f1e698728527 100644
--- a/ucb/source/ucp/file/bc.hxx
+++ b/ucb/source/ucp/file/bc.hxx
@@ -294,12 +294,12 @@ namespace fileaccess {
getCommandInfo()
throw( com::sun::star::uno::RuntimeException );
- virtual com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL
+ com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo(
sal_Int32 nMyCommandIdentifier )
throw( com::sun::star::uno::RuntimeException );
- virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XRow > SAL_CALL
+ com::sun::star::uno::Reference< com::sun::star::sdbc::XRow > SAL_CALL
getPropertyValues(
sal_Int32 nMyCommandIdentifier,
const com::sun::star::uno::Sequence< com::sun::star::beans::Property >& PropertySet )