diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-24 16:19:38 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 09:58:00 -0400 |
commit | 399727e98353c24719408780ad9d7e7eee198176 (patch) | |
tree | e06c0619e2de06fce23be7ecb05894501cc5eda1 /sc/inc/editsrc.hxx | |
parent | 0809ccec5cee9f65461f7b551ffd686d2ff4281c (diff) |
Have ScHeaderFooterTextObj store authoritative EditTextObject instance.
This removes lots of needless broadcasting, and makes the code a lot
simpler. But it introduced a bug I need to look into...
Diffstat (limited to 'sc/inc/editsrc.hxx')
-rw-r--r-- | sc/inc/editsrc.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/editsrc.hxx b/sc/inc/editsrc.hxx index 20de06cb99af..435fb856bcd7 100644 --- a/sc/inc/editsrc.hxx +++ b/sc/inc/editsrc.hxx @@ -44,6 +44,7 @@ class ScCellTextData; class ScHeaderFooterTextData; class ScAccessibleTextData; class SdrObject; +class EditTextObject; class ScHeaderFooterChangedHint : public SfxHint @@ -69,7 +70,7 @@ private: public: ScHeaderFooterEditSource(const ScHeaderFooterTextData& rData); - ScHeaderFooterEditSource(ScHeaderFooterContentObj& rContent, sal_uInt16 nP); + ScHeaderFooterEditSource(ScHeaderFooterContentObj& rContent, sal_uInt16 nP, const EditTextObject* pTextObj); virtual ~ScHeaderFooterEditSource(); // GetEditEngine is needed because the forwarder doesn't have field functions |