summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/eventqueue.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-04-14 17:21:13 +0200
committersb <sb@openoffice.org>2010-04-14 17:21:13 +0200
commit10b1f939953d971de57c5bb20f901631ef5bfeea (patch)
treec93247da79c85bee1f96f0b655a27f463ec640d8 /slideshow/source/engine/eventqueue.cxx
parent6fc142c2e5993e1763a897186eef76a984105f5c (diff)
parent17d0f112effa923bc6bfeb799a775b9050941573 (diff)
sb118: merged in backout
Diffstat (limited to 'slideshow/source/engine/eventqueue.cxx')
-rw-r--r--slideshow/source/engine/eventqueue.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/slideshow/source/engine/eventqueue.cxx b/slideshow/source/engine/eventqueue.cxx
index 44e1cad2f45e..f7af3156ff0b 100644
--- a/slideshow/source/engine/eventqueue.cxx
+++ b/slideshow/source/engine/eventqueue.cxx
@@ -2,13 +2,10 @@
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright 2008 by Sun Microsystems, Inc.
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: eventqueue.cxx,v $
- * $Revision: 1.15 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -112,7 +109,7 @@ namespace slideshow
rEvent.get(),
rEvent->getActivationTime(0.0));
#endif
- ENSURE_OR_RETURN( rEvent,
+ ENSURE_OR_RETURN_FALSE( rEvent,
"EventQueue::addEvent: event ptr NULL" );
// prepare entry
@@ -141,7 +138,7 @@ namespace slideshow
rEvent->getActivationTime(0.0));
#endif
- ENSURE_OR_RETURN( rEvent.get() != NULL,
+ ENSURE_OR_RETURN_FALSE( rEvent.get() != NULL,
"EventQueue::addEvent: event ptr NULL" );
maNextEvents.push_back(
EventEntry( rEvent, rEvent->getActivationTime(
@@ -161,7 +158,7 @@ namespace slideshow
rpEvent->getActivationTime(0.0));
#endif
- ENSURE_OR_RETURN(
+ ENSURE_OR_RETURN_FALSE(
rpEvent.get() != NULL,
"EventQueue::addEvent: event ptr NULL");