diff options
author | David Tardon <dtardon@redhat.com> | 2012-10-25 10:14:01 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-11-22 10:47:15 +0100 |
commit | db5d4214bc85836e390cca9b346307a8568d3b9e (patch) | |
tree | 348be22c6562f0b8ba98e99f8043e74de23ae5da /slideshow/source/inc/event.hxx | |
parent | 112b481a7f12ce89feeab58975a1a6ee0e614821 (diff) |
always set event description
Change-Id: I8d83c0d65fff0b0d3d08f32aa3d5c0bb5e7e9c8a
Diffstat (limited to 'slideshow/source/inc/event.hxx')
-rw-r--r-- | slideshow/source/inc/event.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/slideshow/source/inc/event.hxx b/slideshow/source/inc/event.hxx index cd9b91ddc637..44b5bd8d7507 100644 --- a/slideshow/source/inc/event.hxx +++ b/slideshow/source/inc/event.hxx @@ -32,9 +32,7 @@ namespace internal { class Event : public Disposable { public: -#if OSL_DEBUG_LEVEL > 1 - Event (const ::rtl::OUString& rsDescription) : msDescription(rsDescription) {}; -#endif + Event (const ::rtl::OUString& rsDescription) : msDescription(rsDescription) {} /** Execute the event. @@ -66,12 +64,10 @@ public: */ virtual double getActivationTime( double nCurrentTime ) const = 0; -#if OSL_DEBUG_LEVEL > 1 - ::rtl::OUString GetDescription (void) const { return msDescription; } + const ::rtl::OUString& GetDescription (void) const { return msDescription; } private: const ::rtl::OUString msDescription; -#endif }; typedef ::boost::shared_ptr< Event > EventSharedPtr; |