diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-15 12:12:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-15 13:30:58 +0200 |
commit | 43bdac0ebd65dfc32a0b8cf2c42fde88ad585e3f (patch) | |
tree | 06fad470647433ebabc49d30d1d16b236641d931 /starmath/source/wordexportbase.hxx | |
parent | a35c18aeff3b1d8f270db7e094850fb8ba1ab84a (diff) |
starmath: m_pTree can be private
Which shows that subclasses only read it, never write it.
Change-Id: I90ea4528d4362c068ba02113b1b038a811ea32b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96321
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'starmath/source/wordexportbase.hxx')
-rw-r--r-- | starmath/source/wordexportbase.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/starmath/source/wordexportbase.hxx b/starmath/source/wordexportbase.hxx index 4f191df2aa4e..af66167a17fb 100644 --- a/starmath/source/wordexportbase.hxx +++ b/starmath/source/wordexportbase.hxx @@ -49,6 +49,9 @@ protected: virtual void HandleBrace(const SmBraceNode* pNode, int nLevel) = 0; virtual void HandleVerticalBrace(const SmVerticalBraceNode* pNode, int nLevel) = 0; virtual void HandleBlank() = 0; + const SmNode* GetTree() const { return m_pTree; } + +private: const SmNode* const m_pTree; }; |