summaryrefslogtreecommitdiff
path: root/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-12 18:18:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 10:15:01 +0100
commitb22733a3e9f18dd17c4a02347a3c1c503c46fbf6 (patch)
tree36243b32b8812283bb3b720bf294adc575b76c58 /svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
parent00be11749456ff0ae80891d7eaea85ea7bec9857 (diff)
-Werror,-Wunused-member-function
Change-Id: I6dc5e1b5e4be546a837b959ab03f248140aeafbf
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx')
-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