From f7b372814e49fc5dfa602ff5291d2a54e648a13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 23 Mar 2011 10:56:45 +0100 Subject: [PATCH] don't hide overloaded virtual methods --- starmath/inc/visitors.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index 8960a24fa90a..b137ef274527 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -155,6 +155,7 @@ public: /** Given position and device this constructor will draw the caret */ SmCaretDrawingVisitor( OutputDevice& rDevice, SmCaretPos position, Point offset, bool caretVisible ); void Visit( SmTextNode* pNode ); + using SmDefaultingVisitor::Visit; private: OutputDevice &rDev; SmCaretPos pos; @@ -181,6 +182,7 @@ public: pos.pSelectedNode->Accept( this ); } void Visit( SmTextNode* pNode ); + using SmDefaultingVisitor::Visit; SmCaretLine GetResult( ){ return line; } @@ -273,6 +275,7 @@ public: void Visit( SmExpressionNode* pNode ); void Visit( SmLineNode* pNode ); void Visit( SmAlignNode* pNode ); + using SmDefaultingVisitor::Visit; /** Set IsSelected on all pNodes of pSubTree */ static void SetSelectedOnAll( SmNode* pSubTree, bool IsSelected = true ); private: @@ -415,6 +418,7 @@ public: /** Draws a selection on rDevice for the selection on pTree */ SmSelectionDrawingVisitor( OutputDevice& rDevice, SmNode* pTree, Point Offset ); void Visit( SmTextNode* pNode ); + using SmDefaultingVisitor::Visit; private: /** Reference to drawing device */ OutputDevice& rDev;