From b22733a3e9f18dd17c4a02347a3c1c503c46fbf6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 12 Nov 2013 18:18:42 +0100 Subject: -Werror,-Wunused-member-function Change-Id: I6dc5e1b5e4be546a837b959ab03f248140aeafbf --- .../EnhancedCustomShapeFunctionParser.cxx | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'svx') 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 -- cgit v1.2.3