diff options
Diffstat (limited to 'slideshow/source/engine/expressionnodefactory.cxx')
-rw-r--r-- | slideshow/source/engine/expressionnodefactory.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/slideshow/source/engine/expressionnodefactory.cxx b/slideshow/source/engine/expressionnodefactory.cxx index 536a7fa8d5e8..9b6bffe42e88 100644 --- a/slideshow/source/engine/expressionnodefactory.cxx +++ b/slideshow/source/engine/expressionnodefactory.cxx @@ -47,12 +47,12 @@ namespace slideshow { } - virtual double operator()( double /*t*/ ) const + virtual double operator()( double /*t*/ ) const SAL_OVERRIDE { return maValue; } - virtual bool isConstant() const + virtual bool isConstant() const SAL_OVERRIDE { return true; } @@ -68,12 +68,12 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return t; } - virtual bool isConstant() const + virtual bool isConstant() const SAL_OVERRIDE { return false; } @@ -95,7 +95,7 @@ namespace slideshow { } - virtual bool isConstant() const + virtual bool isConstant() const SAL_OVERRIDE { return mpFirstArg->isConstant() && @@ -116,7 +116,7 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return (*mpFirstArg)(t) + (*mpSecondArg)(t); } @@ -131,7 +131,7 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return (*mpFirstArg)(t) - (*mpSecondArg)(t); } @@ -146,7 +146,7 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return (*mpFirstArg)(t) * (*mpSecondArg)(t); } @@ -161,7 +161,7 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return (*mpFirstArg)(t) / (*mpSecondArg)(t); } @@ -176,7 +176,7 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return ::std::min( (*mpFirstArg)(t), (*mpSecondArg)(t) ); } @@ -191,7 +191,7 @@ namespace slideshow { } - virtual double operator()( double t ) const + virtual double operator()( double t ) const SAL_OVERRIDE { return ::std::max( (*mpFirstArg)(t), (*mpSecondArg)(t) ); } |