summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 09:31:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:11:33 +0000
commit0f96b3f33f98ecd56f0fe55a65315d6762ff978a (patch)
treefa4f2b9dd0b7e8e9f30d6fe18c86a3e89a66352f /ucb
parent41ea741cd843776cd600d33b28a7f0e35345e0d0 (diff)
loplugin:unnecessaryvirtual in test..vbahelper
Change-Id: I0e110af6eab798e11f96d0f7d282d59440d91965 Reviewed-on: https://gerrit.libreoffice.org/30649 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/DAVTypes.hxx4
-rw-r--r--ucb/source/ucp/webdav-neon/PropfindCache.hxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.hxx b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
index 68ac37e41038..1ce2d2a7a2f2 100644
--- a/ucb/source/ucp/webdav-neon/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
@@ -74,7 +74,7 @@ namespace webdav_ucp
*/
- class DAVOptions
+ class DAVOptions final
{
private:
bool m_isClass1;
@@ -103,7 +103,7 @@ namespace webdav_ucp
DAVOptions( const DAVOptions & rOther );
- virtual ~DAVOptions();
+ ~DAVOptions();
bool isClass1() const { return m_isClass1; };
void setClass1( bool Class1 = true ) { m_isClass1 = Class1; };
diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.hxx b/ucb/source/ucp/webdav-neon/PropfindCache.hxx
index 99ca5c65a7d3..76a951afbdcd 100644
--- a/ucb/source/ucp/webdav-neon/PropfindCache.hxx
+++ b/ucb/source/ucp/webdav-neon/PropfindCache.hxx
@@ -31,7 +31,7 @@ namespace webdav_ucp
// net link is slow.
// Define the properties cache element
- class PropertyNames
+ class PropertyNames final
{
/// target time when this element becomes stale
sal_uInt32 m_nStaleTime;
@@ -43,7 +43,7 @@ namespace webdav_ucp
PropertyNames();
explicit PropertyNames( const OUString& rURL );
PropertyNames( const PropertyNames& theOther );
- virtual ~PropertyNames();
+ ~PropertyNames();
sal_uInt32 getStaleTime() const { return m_nStaleTime; };
void setStaleTime( const sal_uInt32 nStaleTime ) { m_nStaleTime = nStaleTime; };
@@ -62,14 +62,14 @@ namespace webdav_ucp
typedef std::map< OUString, PropertyNames,
std::less< OUString > >PropNameCache;
- class PropertyNamesCache
+ class PropertyNamesCache final
{
PropNameCache m_aTheCache;
osl::Mutex m_aMutex;
public:
PropertyNamesCache();
- virtual ~PropertyNamesCache();
+ ~PropertyNamesCache();
bool getCachedPropertyNames( const OUString& URL, PropertyNames& rCacheElement );
void removeCachedPropertyNames( const OUString& URL );