summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/smilfunctionparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx
index e029b83d8a2f..ed397d0a7eca 100644
--- a/slideshow/source/engine/smilfunctionparser.cxx
+++ b/slideshow/source/engine/smilfunctionparser.cxx
@@ -234,7 +234,7 @@ namespace slideshow
{
ParserContext::OperandStack& rNodeStack( mpContext->maOperandStack );
- if( rNodeStack.size() < 1 )
+ if( rNodeStack.empty() )
throw ParseError( "Not enough arguments for unary operator" );
// retrieve arguments