diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-25 00:02:21 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-25 10:00:14 -0500 |
commit | 0dae7466fff1e742543ef7512b7dd22472c75624 (patch) | |
tree | c9f146abd01a7cabd81944fd794c133cdecadca3 /sc/inc/formulacell.hxx | |
parent | 8c041824b67caa53d3f7f96803b7a69ced6614b5 (diff) |
Adjust ref undo to ensure group area listeners are used.
When undoing row deletion (and possibly other similar undo's). And
write test for it.
Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33
Diffstat (limited to 'sc/inc/formulacell.hxx')
-rw-r--r-- | sc/inc/formulacell.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 50a6f6cb3a64..86b8045ee1d6 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -23,7 +23,6 @@ #include <set> #include <boost/noncopyable.hpp> -#include <boost/ptr_container/ptr_vector.hpp> #include <formula/tokenarray.hxx> #include <osl/conditn.hxx> @@ -58,7 +57,11 @@ class ScTokenArray; struct SC_DLLPUBLIC ScFormulaCellGroup : boost::noncopyable { - typedef boost::ptr_vector<sc::FormulaGroupAreaListener> AreaListenersType; +private: + struct Impl; + Impl* mpImpl; + +public: mutable size_t mnRefCount; @@ -73,8 +76,6 @@ struct SC_DLLPUBLIC ScFormulaCellGroup : boost::noncopyable sal_uInt8 meCalcState; sal_uInt8 meKernelState; - AreaListenersType maAreaListeners; - ScFormulaCellGroup(); ~ScFormulaCellGroup(); |