Kaydet (Commit) d9b2328c authored tarafından Thorsten Behrens's avatar Thorsten Behrens Kaydeden (comit) Thorsten Behrens

slideshow: remove cruft, align formatting.

Change-Id: I119cf2461f4a77057cdbc19349561cd24991e2dd
üst eff346b7
...@@ -1712,14 +1712,6 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) ...@@ -1712,14 +1712,6 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
return false; return false;
// TODO(F3): Forward to slides! // TODO(F3): Forward to slides!
// if( bOldValue != mbImageAnimationsAllowed )
// {
// if( mbImageAnimationsAllowed )
// maEventMultiplexer.notifyIntrinsicAnimationsEnabled();
// else
// maEventMultiplexer.notifyIntrinsicAnimationsDisabled();
// }
return true; return true;
} }
...@@ -1800,10 +1792,10 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) ...@@ -1800,10 +1792,10 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
{ {
bool visible; bool visible;
if (!(rProperty.Value >>= visible)) if (!(rProperty.Value >>= visible))
{
return false; return false;
}
mpPointerSymbol->setVisible(visible); mpPointerSymbol->setVisible(visible);
return true;
} }
if ( rProperty.Name == "PointerPosition") if ( rProperty.Name == "PointerPosition")
...@@ -1812,12 +1804,11 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) ...@@ -1812,12 +1804,11 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
if (! (rProperty.Value >>= pos)) if (! (rProperty.Value >>= pos))
return false; return false;
// std::cerr<<"Received pos at :(" << pos.X << ","<<pos.Y << ")" << std::endl;
mpPointerSymbol->viewsChanged(pos); mpPointerSymbol->viewsChanged(pos);
return true;
} }
if (rProperty.Name.equalsAsciiL( if (rProperty.Name == "NoSlideTransitions" )
RTL_CONSTASCII_STRINGPARAM("NoSlideTransitions") ))
{ {
return (rProperty.Value >>= mbNoSlideTransitions); return (rProperty.Value >>= mbNoSlideTransitions);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment