summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2013-10-08 12:23:59 +0200
committerThorsten Behrens <thb@documentfoundation.org>2013-10-08 12:34:04 +0200
commitd9b2328c5447a505f11fd0a47d375174abcbd2c1 (patch)
treee367393762a2ac9d0c5509cd7cd03ef2e02d587f /slideshow
parenteff346b78c3a0bd9855dfa9b4dc92cfbf7a9ee27 (diff)
slideshow: remove cruft, align formatting.
Change-Id: I119cf2461f4a77057cdbc19349561cd24991e2dd
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx17
1 files changed, 4 insertions, 13 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index 43c5aaa98a28..4c59b259f0eb 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1712,14 +1712,6 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
return false;
// TODO(F3): Forward to slides!
-// if( bOldValue != mbImageAnimationsAllowed )
-// {
-// if( mbImageAnimationsAllowed )
-// maEventMultiplexer.notifyIntrinsicAnimationsEnabled();
-// else
-// maEventMultiplexer.notifyIntrinsicAnimationsDisabled();
-// }
-
return true;
}
@@ -1800,10 +1792,10 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
{
bool visible;
if (!(rProperty.Value >>= visible))
- {
return false;
- }
+
mpPointerSymbol->setVisible(visible);
+ return true;
}
if ( rProperty.Name == "PointerPosition")
@@ -1812,12 +1804,11 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
if (! (rProperty.Value >>= pos))
return false;
- // std::cerr<<"Received pos at :(" << pos.X << ","<<pos.Y << ")" << std::endl;
mpPointerSymbol->viewsChanged(pos);
+ return true;
}
- if (rProperty.Name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("NoSlideTransitions") ))
+ if (rProperty.Name == "NoSlideTransitions" )
{
return (rProperty.Value >>= mbNoSlideTransitions);
}