summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/animations/animationnodehelper.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/animations/animationnodehelper.hxx b/include/animations/animationnodehelper.hxx
index 9d978b76b552..5c03e2341294 100644
--- a/include/animations/animationnodehelper.hxx
+++ b/include/animations/animationnodehelper.hxx
@@ -75,12 +75,11 @@ namespace anim
}
inline bool getVisibilityProperty(
- const css::uno::Reference< css::animations::XAnimate >& xAnimateNode)
+ const css::uno::Reference< css::animations::XAnimate >& xAnimateNode, bool& bReturn)
{
- bool bVisible( false );
if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCase("visibility") )
{
-
+ bool bVisible( false );
css::uno::Any aAny( xAnimateNode->getTo() );
// try to extract bool value
@@ -104,9 +103,11 @@ namespace anim
}
}
}
+ bReturn = bVisible;
+ return true;
}
- return bVisible;
+ return false;
}
}