diff options
Diffstat (limited to 'connectivity/source/commontools/RowFunctionParser.cxx')
-rw-r--r-- | connectivity/source/commontools/RowFunctionParser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/RowFunctionParser.cxx b/connectivity/source/commontools/RowFunctionParser.cxx index f5942c8f7b0f..0bf991deabd1 100644 --- a/connectivity/source/commontools/RowFunctionParser.cxx +++ b/connectivity/source/commontools/RowFunctionParser.cxx @@ -253,7 +253,7 @@ public: ParserContext::OperandStack& rNodeStack( mpContext->maOperandStack ); - if( rNodeStack.size() < 1 ) + if( rNodeStack.empty() ) throw ParseError( "Not enough arguments for unary operator" ); // retrieve arguments |