diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-12 18:18:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:15:01 +0100 |
commit | b22733a3e9f18dd17c4a02347a3c1c503c46fbf6 (patch) | |
tree | 36243b32b8812283bb3b720bf294adc575b76c58 /svx | |
parent | 00be11749456ff0ae80891d7eaea85ea7bec9857 (diff) |
-Werror,-Wunused-member-function
Change-Id: I6dc5e1b5e4be546a837b959ab03f248140aeafbf
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx | 21 |
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 |