summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/activitiesqueue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/activitiesqueue.cxx')
-rw-r--r--slideshow/source/engine/activitiesqueue.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/slideshow/source/engine/activitiesqueue.cxx b/slideshow/source/engine/activitiesqueue.cxx
index c408f592cf4e..253d71c0b251 100644
--- a/slideshow/source/engine/activitiesqueue.cxx
+++ b/slideshow/source/engine/activitiesqueue.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,7 +49,7 @@ namespace slideshow
{
namespace internal
{
- ActivitiesQueue::ActivitiesQueue(
+ ActivitiesQueue::ActivitiesQueue(
const ::boost::shared_ptr< ::canvas::tools::ElapsedTime >& pPresTimer ) :
mpTimer( pPresTimer ),
maCurrentActivitiesWaiting(),
@@ -61,7 +61,7 @@ namespace slideshow
ActivitiesQueue::~ActivitiesQueue()
{
// dispose all queue entries
- try
+ try
{
std::for_each( maCurrentActivitiesWaiting.begin(),
maCurrentActivitiesWaiting.end(),
@@ -70,7 +70,7 @@ namespace slideshow
maCurrentActivitiesReinsert.end(),
boost::mem_fn( &Disposable::dispose ) );
}
- catch (uno::Exception &)
+ catch (uno::Exception &)
{
OSL_ENSURE( false, rtl::OUStringToOString(
comphelper::anyToString(
@@ -105,18 +105,18 @@ namespace slideshow
double fLag = 0.0;
for ( ; iPos != iEnd; ++iPos )
fLag = std::max<double>( fLag, (*iPos)->calcTimeLag() );
- if (fLag > 0.0)
+ if (fLag > 0.0)
{
mpTimer->adjustTimer( -fLag );
}
-
+
// process list of activities
while( !maCurrentActivitiesWaiting.empty() )
{
// process topmost activity
ActivitySharedPtr pActivity( maCurrentActivitiesWaiting.front() );
maCurrentActivitiesWaiting.pop_front();
-
+
bool bReinsert( false );
try
@@ -135,7 +135,7 @@ namespace slideshow
// circumstance. Although, do _not_
// reinsert an activity that threw
// once.
-
+
// NOTE: we explicitely don't catch(...) here,
// since this will also capture segmentation
// violations and the like. In such a case, we
@@ -152,7 +152,7 @@ namespace slideshow
// circumstance. Although, do _not_
// reinsert an activity that threw
// once.
-
+
// NOTE: we explicitely don't catch(...) here,
// since this will also capture segmentation
// violations and the like. In such a case, we
@@ -200,7 +200,7 @@ namespace slideshow
maCurrentActivitiesWaiting.end(),
boost::mem_fn( &Activity::dequeued ) );
ActivityQueue().swap( maCurrentActivitiesWaiting );
-
+
std::for_each( maCurrentActivitiesReinsert.begin(),
maCurrentActivitiesReinsert.end(),
boost::mem_fn( &Activity::dequeued ) );