diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-11-30 19:09:23 +0900 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-12-10 08:28:26 +0000 |
commit | be738d33d1b9574b4afdc438af2950cea0fb301b (patch) | |
tree | 98f4ec972f63e829e670af73be3f451c0a9b6521 /starmath/inc/visitors.hxx | |
parent | c67c7c2007b7c9194304d341c6abe22a0096790c (diff) |
starmath: Prefix members of SmDrawingVisitor
Change-Id: Ia7efb3db2d1e76aad8873cf5822107b4666249de
Reviewed-on: https://gerrit.libreoffice.org/20281
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'starmath/inc/visitors.hxx')
-rw-r--r-- | starmath/inc/visitors.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index 8ae394ee3faf..f51b961d3629 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -170,8 +170,9 @@ public: * @remarks This constructor will do the drawing, no need to anything more. */ SmDrawingVisitor( OutputDevice &rDevice, Point position, SmNode* pTree ) - : rDev( rDevice ) { - this->Position = position; + : mrDev( rDevice ) + , maPosition( position ) + { pTree->Accept( this ); } virtual ~SmDrawingVisitor() {} @@ -215,13 +216,13 @@ private: /** Draw an SmSpecialNode or a subclass of this */ void DrawSpecialNode( SmSpecialNode* pNode ); /** OutputDevice to draw on */ - OutputDevice& rDev; - /** Position to draw on the rDev + OutputDevice& mrDev; + /** Position to draw on the mrDev * @remarks This variable is used to pass parameters in DrawChildren( ), this means that after a call to DrawChildren( ) the contents of this method is undefined so if needed cache it locally on the stack. */ - Point Position; + Point maPosition; }; // SmSetSelectionVisitor |