From a17794d5fa8d6757a1f3caff7d9428720c0a357e Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 18 Dec 2013 23:51:27 -0500 Subject: Switch away from using the sfx2 link manager for data stream. Change-Id: I05ac5a8151135ace7f4e351cfedab0170c8d9a57 --- sc/source/ui/inc/datastream.hxx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'sc/source/ui/inc/datastream.hxx') diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx index 1cde20e69b9a..935e89547118 100644 --- a/sc/source/ui/inc/datastream.hxx +++ b/sc/source/ui/inc/datastream.hxx @@ -14,14 +14,12 @@ #include #include -#include #include #include #include #include -#include #include class ScDocShell; @@ -37,12 +35,11 @@ namespace datastreams { typedef std::vector LinesList; -class DataStream : boost::noncopyable, public sfx2::SvBaseLink +class DataStream : boost::noncopyable { OString ConsumeLine(); void MoveData(); void Text2Doc(); - DECL_LINK( RefreshHdl, void* ); public: enum MoveType { NO_MOVE, RANGE_DOWN, MOVE_DOWN, MOVE_UP }; @@ -58,11 +55,7 @@ public: ScDocShell *pShell, const OUString& rURL, const ScRange& rRange, sal_Int32 nLimit, MoveType eMove, sal_uInt32 nSettings); - virtual ~DataStream(); - // sfx2::SvBaseLink - virtual sfx2::SvBaseLink::UpdateResult DataChanged( - const OUString& , const css::uno::Any& ) SAL_OVERRIDE; - virtual void Edit(Window* , const Link& ) SAL_OVERRIDE; + ~DataStream(); ScRange GetRange() const; const OUString& GetURL() const { return msURL; } -- cgit