diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:18:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:22:54 +0200 |
commit | 362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch) | |
tree | 0b432c049d580dcac6130bca9fb028bab8af8fa8 /svx/inc/tbunosearchcontrollers.hxx | |
parent | b66d87086804460c1986df1b832fd6b2ea075a90 (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 'svx/inc/tbunosearchcontrollers.hxx')
-rw-r--r-- | svx/inc/tbunosearchcontrollers.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx index eee51e9ae76d..a418ff2935e8 100644 --- a/svx/inc/tbunosearchcontrollers.hxx +++ b/svx/inc/tbunosearchcontrollers.hxx @@ -92,7 +92,7 @@ class FindTextToolbarController : public svt::ToolboxController, public: FindTextToolbarController( const css::uno::Reference< css::uno::XComponentContext > & rxContext ); - ~FindTextToolbarController(); + virtual ~FindTextToolbarController(); // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -132,7 +132,7 @@ class ExitSearchToolboxController : public svt::ToolboxController, { public: ExitSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~ExitSearchToolboxController(); + virtual ~ExitSearchToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -164,7 +164,7 @@ public: enum Type { UP, DOWN }; UpDownSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, Type eType ); - ~UpDownSearchToolboxController(); + virtual ~UpDownSearchToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -197,7 +197,7 @@ class MatchCaseToolboxController : public svt::ToolboxController, { public: MatchCaseToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~MatchCaseToolboxController(); + virtual ~MatchCaseToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -230,7 +230,7 @@ class FindAllToolboxController : public svt::ToolboxController, { public: FindAllToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~FindAllToolboxController(); + virtual ~FindAllToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -260,7 +260,7 @@ class SearchLabelToolboxController : public svt::ToolboxController, { public: SearchLabelToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~SearchLabelToolboxController(); + virtual ~SearchLabelToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; |