diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-01-21 19:57:19 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-01-21 19:58:46 +0100 |
commit | 22da27d9ddcdacaef21d667b0777052b7e817b9a (patch) | |
tree | e72e427eb7b6934b796179ed3e49ca4a8c8734a6 /animations | |
parent | cfc2f1919f8cf856c0c884dac7e4eb83bece4a7f (diff) |
Improve checking for emptiness
Diffstat (limited to 'animations')
-rw-r--r-- | animations/source/animcore/animcore.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 9a837f60bc70..e85b80642d7c 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -1178,7 +1178,7 @@ Reference< XCloneable > SAL_CALL AnimationNode::createClone() throw (RuntimeExce { xNewNode = new AnimationNode( *this ); - if( maChildren.size() ) + if( !maChildren.empty() ) { Reference< XTimeContainer > xContainer( xNewNode, UNO_QUERY ); if( xContainer.is() ) |