summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/event.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/event.hxx')
-rw-r--r--slideshow/source/inc/event.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/inc/event.hxx b/slideshow/source/inc/event.hxx
index c609c3e814a5..6e41e5c30123 100644
--- a/slideshow/source/inc/event.hxx
+++ b/slideshow/source/inc/event.hxx
@@ -44,7 +44,7 @@ namespace internal {
class Event : public Disposable
{
public:
-#if OSL_DEBUG_LEVEL > 1 && defined (SLIDESHOW_ADD_DESCRIPTIONS_TO_EVENTS)
+#if OSL_DEBUG_LEVEL > 1
Event (const ::rtl::OUString& rsDescription) : msDescription(rsDescription) {};
#endif
@@ -78,7 +78,7 @@ public:
*/
virtual double getActivationTime( double nCurrentTime ) const = 0;
-#if OSL_DEBUG_LEVEL > 1 && defined (SLIDESHOW_ADD_DESCRIPTIONS_TO_EVENTS)
+#if OSL_DEBUG_LEVEL > 1
::rtl::OUString GetDescription (void) const { return msDescription; }
private: