summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-24 12:27:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-24 12:56:22 +0200
commitc31d7b012f953f4a677fd5a576c0aa8379897879 (patch)
tree770bd3fb4a63005c03fcb95178abc316d52eeac3 /unotools
parent084d665b61ac79ed4b81fffd05acce28b020d8b3 (diff)
Some warning cleanup (found with trunk Clang).
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/options.hxx2
-rw-r--r--unotools/source/config/options.cxx2
2 files changed, 4 insertions, 0 deletions
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 )