summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
index 89a5b682c410..f2e78005de0a 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
@@ -779,27 +779,6 @@ struct ParserContext
typedef ::boost::shared_ptr< ParserContext > ParserContextSharedPtr;
-/** Generate apriori constant value
- */
-
-class ConstantFunctor
-{
- const double mnValue;
- ParserContextSharedPtr mpContext;
-
-public:
-
- ConstantFunctor( double rValue, const ParserContextSharedPtr& rContext ) :
- mnValue( rValue ),
- mpContext( rContext )
- {
- }
- void operator()( StringIteratorT /*rFirst*/, StringIteratorT /*rSecond*/ ) const
- {
- mpContext->maOperandStack.push( ExpressionNodeSharedPtr( new ConstantValueExpression( mnValue ) ) );
- }
-};
-
/** Generate parse-dependent-but-then-constant value
*/
class DoubleConstantFunctor