From bf1f0183d5c6b4c94acdbee27276d5a386a657f4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 18 Oct 2011 23:05:58 +0200 Subject: Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). --- sdext/source/presenter/PresenterProtocolHandler.cxx | 1 + sdext/source/presenter/PresenterTimer.cxx | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'sdext') 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 -- cgit