summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes/externalshapebase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/shapes/externalshapebase.cxx')
-rw-r--r--slideshow/source/engine/shapes/externalshapebase.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/slideshow/source/engine/shapes/externalshapebase.cxx b/slideshow/source/engine/shapes/externalshapebase.cxx
index 7874143ca916..2d70a5bbad8d 100644
--- a/slideshow/source/engine/shapes/externalshapebase.cxx
+++ b/slideshow/source/engine/shapes/externalshapebase.cxx
@@ -2,7 +2,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
@@ -69,13 +69,13 @@ namespace slideshow
virtual void viewAdded( const UnoViewSharedPtr& ) {}
virtual void viewRemoved( const UnoViewSharedPtr& ) {}
- virtual void viewChanged( const UnoViewSharedPtr& rView )
- {
- mrBase.implViewChanged(rView);
+ virtual void viewChanged( const UnoViewSharedPtr& rView )
+ {
+ mrBase.implViewChanged(rView);
}
virtual void viewsChanged()
- {
- mrBase.implViewsChanged();
+ {
+ mrBase.implViewsChanged();
}
@@ -83,20 +83,20 @@ namespace slideshow
// -------------------------------------------------
virtual bool enableAnimations()
- {
- return mrBase.implStartIntrinsicAnimation();
+ {
+ return mrBase.implStartIntrinsicAnimation();
}
virtual bool disableAnimations()
- {
- return mrBase.implEndIntrinsicAnimation();
+ {
+ return mrBase.implEndIntrinsicAnimation();
}
ExternalShapeBase& mrBase;
};
- ExternalShapeBase::ExternalShapeBase( const uno::Reference< drawing::XShape >& xShape,
- double nPrio,
+ ExternalShapeBase::ExternalShapeBase( const uno::Reference< drawing::XShape >& xShape,
+ double nPrio,
const SlideShowContext& rContext ) :
mxComponentContext( rContext.mxComponentContext ),
mxShape( xShape ),
@@ -121,7 +121,7 @@ namespace slideshow
mrEventMultiplexer.removeViewHandler( mpListener );
mpShapeManager->removeIntrinsicAnimationHandler( mpListener );
}
- catch (uno::Exception &)
+ catch (uno::Exception &)
{
OSL_ENSURE( false, rtl::OUStringToOString(
comphelper::anyToString(
@@ -138,7 +138,7 @@ namespace slideshow
}
// ---------------------------------------------------------------------
-
+
void ExternalShapeBase::play()
{
implStartIntrinsicAnimation();
@@ -159,7 +159,7 @@ namespace slideshow
}
// ---------------------------------------------------------------------
-
+
bool ExternalShapeBase::isPlaying() const
{
return implIsIntrinsicAnimationPlaying();
@@ -180,7 +180,7 @@ namespace slideshow
}
// ---------------------------------------------------------------------
-
+
bool ExternalShapeBase::render() const
{
if( maBounds.getRange().equalZero() )
@@ -194,14 +194,14 @@ namespace slideshow
}
// ---------------------------------------------------------------------
-
+
bool ExternalShapeBase::isContentChanged() const
{
return true;
}
// ---------------------------------------------------------------------
-
+
::basegfx::B2DRectangle ExternalShapeBase::getBounds() const
{
return maBounds;
@@ -215,28 +215,28 @@ namespace slideshow
}
// ---------------------------------------------------------------------
-
+
::basegfx::B2DRectangle ExternalShapeBase::getUpdateArea() const
{
return maBounds;
}
// ---------------------------------------------------------------------
-
+
bool ExternalShapeBase::isVisible() const
{
return true;
}
// ---------------------------------------------------------------------
-
+
double ExternalShapeBase::getPriority() const
{
return mnPriority;
}
// ---------------------------------------------------------------------
-
+
bool ExternalShapeBase::isBackgroundDetached() const
{
// external shapes always have their own window/surface