From c31d7b012f953f4a677fd5a576c0aa8379897879 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 24 Oct 2011 12:27:16 +0200 Subject: Some warning cleanup (found with trunk Clang). --- unotools/inc/unotools/options.hxx | 2 ++ unotools/source/config/options.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'unotools') diff --git a/unotools/inc/unotools/options.hxx b/unotools/inc/unotools/options.hxx index d743e9571524..3c032c255cb6 100644 --- a/unotools/inc/unotools/options.hxx +++ b/unotools/inc/unotools/options.hxx @@ -50,6 +50,8 @@ namespace utl { class UNOTOOLS_DLLPUBLIC ConfigurationListener { public: + virtual ~ConfigurationListener(); + virtual void ConfigurationChanged( ConfigurationBroadcaster* p, sal_uInt32 nHint=0 ) = 0; }; typedef ::std::vector< ConfigurationListener* > IMPL_ConfigurationListenerList; diff --git a/unotools/source/config/options.cxx b/unotools/source/config/options.cxx index 5eee90dd28d9..6fc5d98112df 100644 --- a/unotools/source/config/options.cxx +++ b/unotools/source/config/options.cxx @@ -35,6 +35,8 @@ using utl::detail::Options; using utl::ConfigurationBroadcaster; +utl::ConfigurationListener::~ConfigurationListener() {} + ConfigurationBroadcaster::ConfigurationBroadcaster() : mpList(0) , m_nBroadcastBlocked( 0 ) -- cgit v1.2.3