diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-29 00:19:45 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-29 02:56:23 +0200 |
commit | 4911762d5e0c8f77c825f93a1fc6bec4831446ca (patch) | |
tree | fc19d316556a5843736cc194b20ba611245ca9a4 /sc | |
parent | 17cb1d6d82db56761c86ee95195689cc155901b3 (diff) |
no need to have this class in the header file
Change-Id: Ifc7c8f061861f61384e68ad30daed35e9870955a
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/colorscale.hxx | 19 | ||||
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 18 |
2 files changed, 19 insertions, 18 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx index 832e09b9b026..944148378986 100644 --- a/sc/inc/colorscale.hxx +++ b/sc/inc/colorscale.hxx @@ -29,24 +29,7 @@ class ScFormulaCell; class ScTokenArray; struct ScDataBarInfo; class BitmapEx; - -class ScFormulaListener : public SvtListener -{ -private: - std::vector<ScRange> maCells; - mutable bool mbDirty; - ScDocument* mpDoc; - - void startListening(ScTokenArray* pTokens, const ScAddress& rPos); - -public: - ScFormulaListener(ScFormulaCell* pCell); - virtual ~ScFormulaListener(); - - void Notify( SvtBroadcaster& rBC, const SfxHint& rHint ); - - bool NeedsRepaint() const; -}; +class ScFormulaListener; // don't change the order // they are also used in the dialog to determine the position diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 9d4d71b56ee5..a96711a013c4 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -19,6 +19,24 @@ #include <algorithm> +class ScFormulaListener : public SvtListener +{ +private: + std::vector<ScRange> maCells; + mutable bool mbDirty; + ScDocument* mpDoc; + + void startListening(ScTokenArray* pTokens, const ScAddress& rPos); + +public: + ScFormulaListener(ScFormulaCell* pCell); + virtual ~ScFormulaListener(); + + void Notify( SvtBroadcaster& rBC, const SfxHint& rHint ); + + bool NeedsRepaint() const; +}; + ScFormulaListener::ScFormulaListener(ScFormulaCell* pCell): mbDirty(false), mpDoc(pCell->GetDocument()) |