summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 19:18:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 19:22:54 +0200
commit362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch)
tree0b432c049d580dcac6130bca9fb028bab8af8fa8 /xmlhelp/source/cxxhelp/provider
parentb66d87086804460c1986df1b832fd6b2ea075a90 (diff)
Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider')
-rw-r--r--xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultset.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
index b55257bb1e77..b52d3592eb76 100644
--- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
+++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx
@@ -42,7 +42,7 @@ namespace chelp {
BufferedInputStream(
const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream);
- ~BufferedInputStream();
+ virtual ~BufferedInputStream();
virtual com::sun::star::uno::Any SAL_CALL
queryInterface( const com::sun::star::uno::Type& rType )
diff --git a/xmlhelp/source/cxxhelp/provider/resultset.hxx b/xmlhelp/source/cxxhelp/provider/resultset.hxx
index 7a9b6ff274e1..e7b9c99019f4 100644
--- a/xmlhelp/source/cxxhelp/provider/resultset.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultset.hxx
@@ -50,7 +50,7 @@ namespace chelp {
com::sun::star::ucb::XCommandEnvironment >& rxEnv,
ResultSetFactory* pFactory );
- ~DynamicResultSet();
+ virtual ~DynamicResultSet();
};
}
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 7ccdebdf4b57..c2b0163a0fdc 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -329,7 +329,7 @@ public:
Databases* pDatatabases,
bool isRoot = false );
- ~InputStreamTransformer();
+ virtual ~InputStreamTransformer();
virtual Any SAL_CALL queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL acquire( void ) throw() SAL_OVERRIDE;