diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-03-23 10:56:45 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-03-24 18:19:53 +0100 |
commit | f7b372814e49fc5dfa602ff5291d2a54e648a13b (patch) | |
tree | 6d7873b5f0cffa87ea2284e0b6f11e5d35fc0557 /starmath/inc | |
parent | 8e2117d9fbc65904da2928b759cf5513aa68eeea (diff) |
don't hide overloaded virtual methods
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/visitors.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
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; |