diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-10-18 23:05:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-18 23:10:56 +0200 |
commit | bf1f0183d5c6b4c94acdbee27276d5a386a657f4 (patch) | |
tree | 3d4d60a59f935ee11011ebea33ccb6d9fab5063c /sdext | |
parent | 0eee1cf957d122ac0d805a9589a5db075a94e4a1 (diff) |
Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64).
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterProtocolHandler.cxx | 1 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterTimer.cxx | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 7c4829ac81fd..a7d5081a2c35 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -66,6 +66,7 @@ namespace { class Command { public: + virtual ~Command() {} virtual void Execute (void) = 0; virtual bool IsEnabled (void) const = 0; virtual Any GetState (void) const = 0; diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx index 74517944f5e8..4668cddf570a 100644 --- a/sdext/source/presenter/PresenterTimer.cxx +++ b/sdext/source/presenter/PresenterTimer.cxx @@ -128,10 +128,6 @@ private: virtual void SAL_CALL onTerminated (void); }; - - - -bool GetDateTime (oslDateTime& rDateTime); } // end of anonymous namespace |