diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-24 17:28:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 09:58:02 -0400 |
commit | 6705f284f41ed7ca2d10d9f6d2ab67005ec045d4 (patch) | |
tree | b00c5977bff795e7f847db8cb9186c6562ea15fd /sc/inc/editsrc.hxx | |
parent | 58cb46341c8037c0fc2adeac69f72f09d0ffa952 (diff) |
Now I can store a reference in the edit source.
Diffstat (limited to 'sc/inc/editsrc.hxx')
-rw-r--r-- | sc/inc/editsrc.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/editsrc.hxx b/sc/inc/editsrc.hxx index 1628d1039b81..64c5871b32fb 100644 --- a/sc/inc/editsrc.hxx +++ b/sc/inc/editsrc.hxx @@ -51,15 +51,14 @@ class SdrObject; class ScHeaderFooterEditSource : public SvxEditSource { private: - ScHeaderFooterTextData* mpTextData; + ScHeaderFooterTextData& mrTextData; public: - ScHeaderFooterEditSource(ScHeaderFooterTextData* pData); + ScHeaderFooterEditSource(ScHeaderFooterTextData& rData); virtual ~ScHeaderFooterEditSource(); // GetEditEngine is needed because the forwarder doesn't have field functions ScEditEngineDefaulter* GetEditEngine(); - void SetTextData(ScHeaderFooterTextData* pData); virtual SvxEditSource* Clone() const; virtual SvxTextForwarder* GetTextForwarder(); |